Lines Matching refs:fTargetSizeX
66 double fTargetSizeX(rTargetRange.getWidth()); in init1DGradientInfo() local
78 const double fNewX(fTargetSizeX * fAbsCos + fTargetSizeY * fAbsSin); in init1DGradientInfo()
79 const double fNewY(fTargetSizeY * fAbsCos + fTargetSizeX * fAbsSin); in init1DGradientInfo()
81 fTargetOffsetX -= (fNewX - fTargetSizeX) / 2.0; in init1DGradientInfo()
83 fTargetSizeX = fNewX; in init1DGradientInfo()
103 aTextureTransform.scale(fTargetSizeX, fTargetSizeY); in init1DGradientInfo()
108 const B2DPoint aCenter(0.5 * fTargetSizeX, 0.5 * fTargetSizeY); in init1DGradientInfo()
117 … const double fAspectRatio(fTools::equalZero(fTargetSizeY) ? 1.0 : fTargetSizeX / fTargetSizeY); in init1DGradientInfo()
137 double fTargetSizeX(rTargetRange.getWidth()); in initEllipticalGradientInfo() local
145 … const double fOriginalDiag(sqrt((fTargetSizeX * fTargetSizeX) + (fTargetSizeY * fTargetSizeY))); in initEllipticalGradientInfo()
147 fTargetOffsetX -= (fOriginalDiag - fTargetSizeX) / 2.0; in initEllipticalGradientInfo()
149 fTargetSizeX = fOriginalDiag; in initEllipticalGradientInfo()
154 fTargetOffsetX -= (0.4142 / 2.0 ) * fTargetSizeX; in initEllipticalGradientInfo()
156 fTargetSizeX = 1.4142 * fTargetSizeX; in initEllipticalGradientInfo()
164 aTextureTransform.scale(fTargetSizeX, fTargetSizeY); in initEllipticalGradientInfo()
169 const B2DPoint aCenter(0.5 * fTargetSizeX, 0.5 * fTargetSizeY); in initEllipticalGradientInfo()
186 const double fAspectRatio((0.0 != fTargetSizeY) ? fTargetSizeX / fTargetSizeY : 1.0); in initEllipticalGradientInfo()
206 double fTargetSizeX(rTargetRange.getWidth()); in initRectGradientInfo() local
214 const double fSquareWidth(std::max(fTargetSizeX, fTargetSizeY)); in initRectGradientInfo()
216 fTargetOffsetX -= (fSquareWidth - fTargetSizeX) / 2.0; in initRectGradientInfo()
218 fTargetSizeX = fTargetSizeY = fSquareWidth; in initRectGradientInfo()
228 const double fNewX(fTargetSizeX * fAbsCos + fTargetSizeY * fAbsSin); in initRectGradientInfo()
229 const double fNewY(fTargetSizeY * fAbsCos + fTargetSizeX * fAbsSin); in initRectGradientInfo()
231 fTargetOffsetX -= (fNewX - fTargetSizeX) / 2.0; in initRectGradientInfo()
233 fTargetSizeX = fNewX; in initRectGradientInfo()
241 aTextureTransform.scale(fTargetSizeX, fTargetSizeY); in initRectGradientInfo()
246 const B2DPoint aCenter(0.5 * fTargetSizeX, 0.5 * fTargetSizeY); in initRectGradientInfo()
255 fTargetOffsetX += (rOffset.getX() - 0.5) * fTargetSizeX; in initRectGradientInfo()
263 const double fAspectRatio((0.0 != fTargetSizeY) ? fTargetSizeX / fTargetSizeY : 1.0); in initRectGradientInfo()