Lines Matching refs:basegfx

52 …void GeoTexSvx::modifyBColor(const basegfx::B2DPoint& /*rUV*/, basegfx::BColor& rBColor, double& /…  in modifyBColor()
60 void GeoTexSvx::modifyOpacity(const basegfx::B2DPoint& rUV, double& rfOpacity) const in modifyOpacity()
63 basegfx::BColor aBaseColor; in modifyOpacity()
77 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxGradient()
78 const basegfx::BColor& rStart, in GeoTexSvxGradient()
79 const basegfx::BColor& rEnd, in GeoTexSvxGradient()
114 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxGradientLinear()
115 const basegfx::B2DRange& rOutputRange, in GeoTexSvxGradientLinear()
116 const basegfx::BColor& rStart, in GeoTexSvxGradientLinear()
117 const basegfx::BColor& rEnd, in GeoTexSvxGradientLinear()
126 maGradientInfo = basegfx::tools::createLinearODFGradientInfo( in GeoTexSvxGradientLinear()
134 basegfx::B2DRange aInvOutputRange(rOutputRange); in GeoTexSvxGradientLinear()
149 basegfx::BColor& rOuterColor) in appendTransformationsAndColors()
157 basegfx::B2DHomMatrix aPattern; in appendTransformationsAndColors()
170 basegfx::B2DHomMatrix aNew(aPattern); in appendTransformationsAndColors()
194 …void GeoTexSvxGradientLinear::modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor,… in modifyBColor()
196 const double fScaler(basegfx::tools::getLinearGradientAlpha(rUV, maGradientInfo)); in modifyBColor()
198 rBColor = basegfx::interpolate(maStart, maEnd, fScaler); in modifyBColor()
210 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxGradientAxial()
211 const basegfx::B2DRange& rOutputRange, in GeoTexSvxGradientAxial()
212 const basegfx::BColor& rStart, in GeoTexSvxGradientAxial()
213 const basegfx::BColor& rEnd, in GeoTexSvxGradientAxial()
221 maGradientInfo = basegfx::tools::createAxialODFGradientInfo( in GeoTexSvxGradientAxial()
229 basegfx::B2DRange aInvOutputRange(rOutputRange); in GeoTexSvxGradientAxial()
243 basegfx::BColor& rOuterColor) in appendTransformationsAndColors()
255 basegfx::B2DHomMatrix aNew; in appendTransformationsAndColors()
279 …void GeoTexSvxGradientAxial::modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor, … in modifyBColor()
281 const double fScaler(basegfx::tools::getAxialGradientAlpha(rUV, maGradientInfo)); in modifyBColor()
283 rBColor = basegfx::interpolate(maStart, maEnd, fScaler); in modifyBColor()
295 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxGradientRadial()
296 const basegfx::BColor& rStart, in GeoTexSvxGradientRadial()
297 const basegfx::BColor& rEnd, in GeoTexSvxGradientRadial()
304 maGradientInfo = basegfx::tools::createRadialODFGradientInfo( in GeoTexSvxGradientRadial()
306 basegfx::B2DVector(fOffsetX,fOffsetY), in GeoTexSvxGradientRadial()
317 basegfx::BColor& rOuterColor) in appendTransformationsAndColors()
329 …mMatrixAndBColor.maB2DHomMatrix = maGradientInfo.getTextureTransform() * basegfx::tools::createSca… in appendTransformationsAndColors()
336 …void GeoTexSvxGradientRadial::modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor,… in modifyBColor()
338 const double fScaler(basegfx::tools::getRadialGradientAlpha(rUV, maGradientInfo)); in modifyBColor()
340 rBColor = basegfx::interpolate(maStart, maEnd, fScaler); in modifyBColor()
352 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxGradientElliptical()
353 const basegfx::BColor& rStart, in GeoTexSvxGradientElliptical()
354 const basegfx::BColor& rEnd, in GeoTexSvxGradientElliptical()
362 maGradientInfo = basegfx::tools::createEllipticalODFGradientInfo( in GeoTexSvxGradientElliptical()
364 basegfx::B2DVector(fOffsetX,fOffsetY), in GeoTexSvxGradientElliptical()
376 basegfx::BColor& rOuterColor) in appendTransformationsAndColors()
406 …mMatrixAndBColor.maB2DHomMatrix = maGradientInfo.getTextureTransform() * basegfx::tools::createSca… in appendTransformationsAndColors()
413 …void GeoTexSvxGradientElliptical::modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBCo… in modifyBColor()
415 const double fScaler(basegfx::tools::getEllipticalGradientAlpha(rUV, maGradientInfo)); in modifyBColor()
417 rBColor = basegfx::interpolate(maStart, maEnd, fScaler); in modifyBColor()
429 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxGradientSquare()
430 const basegfx::BColor& rStart, in GeoTexSvxGradientSquare()
431 const basegfx::BColor& rEnd, in GeoTexSvxGradientSquare()
439 maGradientInfo = basegfx::tools::createSquareODFGradientInfo( in GeoTexSvxGradientSquare()
441 basegfx::B2DVector(fOffsetX,fOffsetY), in GeoTexSvxGradientSquare()
453 basegfx::BColor& rOuterColor) in appendTransformationsAndColors()
465 …mMatrixAndBColor.maB2DHomMatrix = maGradientInfo.getTextureTransform() * basegfx::tools::createSca… in appendTransformationsAndColors()
472 …void GeoTexSvxGradientSquare::modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor,… in modifyBColor()
474 const double fScaler(basegfx::tools::getSquareGradientAlpha(rUV, maGradientInfo)); in modifyBColor()
476 rBColor = basegfx::interpolate(maStart, maEnd, fScaler); in modifyBColor()
488 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxGradientRect()
489 const basegfx::BColor& rStart, in GeoTexSvxGradientRect()
490 const basegfx::BColor& rEnd, in GeoTexSvxGradientRect()
498 maGradientInfo = basegfx::tools::createRectangularODFGradientInfo( in GeoTexSvxGradientRect()
500 basegfx::B2DVector(fOffsetX,fOffsetY), in GeoTexSvxGradientRect()
512 basegfx::BColor& rOuterColor) in appendTransformationsAndColors()
542 …mMatrixAndBColor.maB2DHomMatrix = maGradientInfo.getTextureTransform() * basegfx::tools::createSca… in appendTransformationsAndColors()
549 …void GeoTexSvxGradientRect::modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor, d… in modifyBColor()
551 const double fScaler(basegfx::tools::getRectangularGradientAlpha(rUV, maGradientInfo)); in modifyBColor()
553 rBColor = basegfx::interpolate(maStart, maEnd, fScaler); in modifyBColor()
565 const basegfx::B2DRange& rDefinitionRange, in GeoTexSvxHatch()
566 const basegfx::B2DRange& rOutputRange, in GeoTexSvxHatch()
603 basegfx::B2DPoint aCenter(0.5, 0.5); in GeoTexSvxHatch()
606 maTextureTransform = basegfx::tools::createRotateAroundPoint(aCenter, fAngle) in GeoTexSvxHatch()
615 mnSteps = basegfx::fround(fSteps + 0.5); in GeoTexSvxHatch()
634 … void GeoTexSvxHatch::appendTransformations(::std::vector< basegfx::B2DHomMatrix >& rMatrices) in appendTransformations()
643 basegfx::B2DHomMatrix aNew; in appendTransformations()
653 basegfx::B2DRange aBackUnitRange(maOutputRange); in appendTransformations()
658 double fStart(basegfx::snapToNearestMultiple(aBackUnitRange.getMinY(), mfDistance)); in appendTransformations()
659 …const sal_uInt32 nNeededIntegerSteps(basegfx::fround((aBackUnitRange.getHeight() / mfDistance) + 0… in appendTransformations()
665 basegfx::B2DHomMatrix aNew; in appendTransformations()
687 double GeoTexSvxHatch::getDistanceToHatch(const basegfx::B2DPoint& rUV) const in getDistanceToHatch()
689 const basegfx::B2DPoint aCoor(getBackTextureTransform() * rUV); in getDistanceToHatch()
693 const basegfx::B2DHomMatrix& GeoTexSvxHatch::getBackTextureTransform() const in getBackTextureTransform()
713 const basegfx::B2DRange& rRange, in GeoTexSvxTiled()
717 mfOffsetX(basegfx::clamp(fOffsetX, 0.0, 1.0)), in GeoTexSvxTiled()
718 mfOffsetY(basegfx::clamp(fOffsetY, 0.0, 1.0)) in GeoTexSvxTiled()
720 if(!basegfx::fTools::equalZero(mfOffsetX)) in GeoTexSvxTiled()
740 … void GeoTexSvxTiled::appendTransformations(::std::vector< basegfx::B2DHomMatrix >& rMatrices) in appendTransformations()
744 if(!basegfx::fTools::equalZero(fWidth)) in appendTransformations()
748 if(!basegfx::fTools::equalZero(fHeight)) in appendTransformations()
755 if(basegfx::fTools::more(fStartX, 0.0)) in appendTransformations()
763 if(basegfx::fTools::less(fStartX + fWidth, 0.0)) in appendTransformations()
771 if(basegfx::fTools::more(fStartY, 0.0)) in appendTransformations()
779 if(basegfx::fTools::less(fStartY + fHeight, 0.0)) in appendTransformations()
787 if(!basegfx::fTools::equalZero(mfOffsetY)) in appendTransformations()
789 … for(double fPosX(fStartX); basegfx::fTools::less(fPosX, 1.0); fPosX += fWidth, nPosX++) in appendTransformations()
792 basegfx::fTools::less(fPosY, 1.0); fPosY += fHeight) in appendTransformations()
795 basegfx::tools::createScaleTranslateB2DHomMatrix( in appendTransformations()
805 … for(double fPosY(fStartY); basegfx::fTools::less(fPosY, 1.0); fPosY += fHeight, nPosY++) in appendTransformations()
808 basegfx::fTools::less(fPosX, 1.0); fPosX += fWidth) in appendTransformations()
811 basegfx::tools::createScaleTranslateB2DHomMatrix( in appendTransformations()