Lines Matching refs:fTargetSizeY
67 double fTargetSizeY(rTargetRange.getHeight()); in init1DGradientInfo() local
78 const double fNewX(fTargetSizeX * fAbsCos + fTargetSizeY * fAbsSin); in init1DGradientInfo()
79 const double fNewY(fTargetSizeY * fAbsCos + fTargetSizeX * fAbsSin); in init1DGradientInfo()
82 fTargetOffsetY -= (fNewY - fTargetSizeY) / 2.0; in init1DGradientInfo()
84 fTargetSizeY = fNewY; 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()
138 double fTargetSizeY(rTargetRange.getHeight()); in initEllipticalGradientInfo() local
145 … const double fOriginalDiag(sqrt((fTargetSizeX * fTargetSizeX) + (fTargetSizeY * fTargetSizeY))); in initEllipticalGradientInfo()
148 fTargetOffsetY -= (fOriginalDiag - fTargetSizeY) / 2.0; in initEllipticalGradientInfo()
150 fTargetSizeY = fOriginalDiag; in initEllipticalGradientInfo()
155 fTargetOffsetY -= (0.4142 / 2.0 ) * fTargetSizeY; in initEllipticalGradientInfo()
157 fTargetSizeY = 1.4142 * fTargetSizeY; 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()
207 double fTargetSizeY(rTargetRange.getHeight()); in initRectGradientInfo() local
214 const double fSquareWidth(std::max(fTargetSizeX, fTargetSizeY)); in initRectGradientInfo()
217 fTargetOffsetY -= (fSquareWidth - fTargetSizeY) / 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()
232 fTargetOffsetY -= (fNewY - fTargetSizeY) / 2.0; in initRectGradientInfo()
234 fTargetSizeY = fNewY; in initRectGradientInfo()
241 aTextureTransform.scale(fTargetSizeX, fTargetSizeY); in initRectGradientInfo()
246 const B2DPoint aCenter(0.5 * fTargetSizeX, 0.5 * fTargetSizeY); in initRectGradientInfo()
256 fTargetOffsetY += (rOffset.getY() - 0.5) * fTargetSizeY; in initRectGradientInfo()
263 const double fAspectRatio((0.0 != fTargetSizeY) ? fTargetSizeX / fTargetSizeY : 1.0); in initRectGradientInfo()