Lines Matching refs:basegfx
84 …sal_uInt32 calculateStepsForSvgGradient(const basegfx::BColor& rColorA, const basegfx::BColor& rCo… in calculateStepsForSvgGradient()
87 sal_uInt32 nSteps(basegfx::fround(rColorA.getDistance(rColorB) * 255.0)); in calculateStepsForSvgGradient()
92 const sal_uInt32 nDistSteps(basegfx::fround(fDelta / fDiscreteUnit)); in calculateStepsForSvgGradient()
135 …basegfx::B2DHomMatrix aLocalTransform(maCurrentTransformation * rTextCandidate.getTextTransform()); in RenderTextSimpleOrDecoratedPortionPrimitive2D()
136 basegfx::B2DVector aFontScaling, aTranslate; in RenderTextSimpleOrDecoratedPortionPrimitive2D()
141 if(basegfx::fTools::equalZero(fShearX)) in RenderTextSimpleOrDecoratedPortionPrimitive2D()
143 …if(basegfx::fTools::less(aFontScaling.getX(), 0.0) && basegfx::fTools::less(aFontScaling.getY(), 0… in RenderTextSimpleOrDecoratedPortionPrimitive2D()
148 aFontScaling = basegfx::absolute(aFontScaling); in RenderTextSimpleOrDecoratedPortionPrimitive2D()
152 …if(basegfx::fTools::more(aFontScaling.getX(), 0.0) && basegfx::fTools::more(aFontScaling.getY(), 0… in RenderTextSimpleOrDecoratedPortionPrimitive2D()
170 …const basegfx::BColor aTextlineColor = maBColorModifierStack.getModifiedColor(pTCPP->getTextlineCo… in RenderTextSimpleOrDecoratedPortionPrimitive2D()
178 …const basegfx::BColor aOverlineColor = maBColorModifierStack.getModifiedColor(pTCPP->getOverlineCo… in RenderTextSimpleOrDecoratedPortionPrimitive2D()
252 const basegfx::B2DVector aPixelVector(maCurrentTransformation * basegfx::B2DVector(1.0, 0.0)); in RenderTextSimpleOrDecoratedPortionPrimitive2D()
258 aTransformedDXArray.push_back(basegfx::fround((*aStart) * fPixelVectorFactor)); in RenderTextSimpleOrDecoratedPortionPrimitive2D()
263 …const basegfx::BColor aRGBFontColor(maBColorModifierStack.getModifiedColor(rTextCandidate.getFontC… in RenderTextSimpleOrDecoratedPortionPrimitive2D()
264 const basegfx::B2DPoint aPoint(aLocalTransform * basegfx::B2DPoint(0.0, 0.0)); in RenderTextSimpleOrDecoratedPortionPrimitive2D()
265 const Point aStartPoint(basegfx::fround(aPoint.getX()), basegfx::fround(aPoint.getY())); in RenderTextSimpleOrDecoratedPortionPrimitive2D()
315 …const basegfx::BColor aHairlineColor(maBColorModifierStack.getModifiedColor(rPolygonCandidate.getB… in RenderPolygonHairlinePrimitive2D()
319 basegfx::B2DPolygon aLocalPolygon(rPolygonCandidate.getB2DPolygon()); in RenderPolygonHairlinePrimitive2D()
327 … const basegfx::B2DRange& rDiscreteViewport = getViewInformation2D().getDiscreteViewport(); in RenderPolygonHairlinePrimitive2D()
328 basegfx::B2DPolyPolygon aLocalPolyPolygon(basegfx::tools::clipPolygonOnRange( in RenderPolygonHairlinePrimitive2D()
334 aLocalPolyPolygon = basegfx::tools::adaptiveSubdivideByDistance( in RenderPolygonHairlinePrimitive2D()
339 basegfx::B2DTrapezoidVector aB2DTrapezoidVector; in RenderPolygonHairlinePrimitive2D()
340 …basegfx::tools::createLineTrapezoidFromB2DPolyPolygon(aB2DTrapezoidVector, aLocalPolyPolygon, fLin… in RenderPolygonHairlinePrimitive2D()
346 basegfx::BColor aInvPolygonColor(aHairlineColor); in RenderPolygonHairlinePrimitive2D()
351 … const basegfx::B2DPolygon aTempPolygon(aB2DTrapezoidVector[a].getB2DPolygon()); in RenderPolygonHairlinePrimitive2D()
380 aLocalPolygon = basegfx::tools::snapPointsOfHorizontalOrVerticalEdges(aLocalPolygon); in RenderPolygonHairlinePrimitive2D()
391 …const basegfx::B2DHomMatrix aLocalTransform(maCurrentTransformation * rBitmapCandidate.getTransfor… in RenderBitmapPrimitive2D()
400 … const basegfx::BColor aModifiedColor(maBColorModifierStack.getModifiedColor(basegfx::BColor())); in RenderBitmapPrimitive2D()
401 basegfx::B2DPolygon aPolygon(basegfx::tools::createUnitPolygon()); in RenderBitmapPrimitive2D()
444 …basegfx::B2DHomMatrix aLocalTransform(maCurrentTransformation * rFillBitmapCandidate.getTransforma… in RenderFillGraphicPrimitive2D()
445 basegfx::B2DVector aScale, aTranslate; in RenderFillGraphicPrimitive2D()
450 if(basegfx::fTools::equalZero(fRotate) && basegfx::fTools::equalZero(fShearX)) in RenderFillGraphicPrimitive2D()
457 basegfx::B2DRange aObjectRange(aTranslate, aTranslate + aScale); in RenderFillGraphicPrimitive2D()
461 const sal_Int32 nOWidth(basegfx::fround(aObjectRange.getWidth())); in RenderFillGraphicPrimitive2D()
462 const sal_Int32 nOHeight(basegfx::fround(aObjectRange.getHeight())); in RenderFillGraphicPrimitive2D()
469 … basegfx::B2DRange aGraphicRange(rFillGraphicAttribute.getGraphicRange()); in RenderFillGraphicPrimitive2D()
474 … const sal_Int32 nBWidth(std::max(sal_Int32(1), basegfx::fround(aGraphicRange.getWidth()))); in RenderFillGraphicPrimitive2D()
475 … const sal_Int32 nBHeight(std::max(sal_Int32(1), basegfx::fround(aGraphicRange.getHeight()))); in RenderFillGraphicPrimitive2D()
513 … const basegfx::BColor aModifiedColor(maBColorModifierStack.getModifiedColor(basegfx::BColor())); in RenderFillGraphicPrimitive2D()
514 basegfx::B2DPolygon aPolygon(basegfx::tools::createUnitPolygon()); in RenderFillGraphicPrimitive2D()
527 sal_Int32 nBLeft(basegfx::fround(aGraphicRange.getMinX())); in RenderFillGraphicPrimitive2D()
528 sal_Int32 nBTop(basegfx::fround(aGraphicRange.getMinY())); in RenderFillGraphicPrimitive2D()
529 const sal_Int32 nOLeft(basegfx::fround(aObjectRange.getMinX())); in RenderFillGraphicPrimitive2D()
530 const sal_Int32 nOTop(basegfx::fround(aObjectRange.getMinY())); in RenderFillGraphicPrimitive2D()
573 … const sal_Int32 nOffsetX(basegfx::fround(rFillGraphicAttribute.getOffsetX() * nBWidth)); in RenderFillGraphicPrimitive2D()
602 … const sal_Int32 nOffsetY(basegfx::fround(rFillGraphicAttribute.getOffsetY() * nBHeight)); in RenderFillGraphicPrimitive2D()
647 const basegfx::B2DPolyPolygon& rPolyPolygon = rPolygonCandidate.getB2DPolyPolygon(); in RenderPolyPolygonGraphicPrimitive2D()
677 …const basegfx::BColorModifierSharedPtr& rTopmostModifier = maBColorModifierStack.getBColorModifier… in RenderPolyPolygonGraphicPrimitive2D()
678 …const basegfx::BColorModifier_replace* pReplacer = dynamic_cast< const basegfx::BColorModifier_rep… in RenderPolyPolygonGraphicPrimitive2D()
687 basegfx::B2DPolyPolygon aLocalPolyPolygon(rPolyPolygon); in RenderPolyPolygonGraphicPrimitive2D()
702 … basegfx::B2DRange aTileRange(rFillGraphicAttribute.getGraphicRange()); in RenderPolyPolygonGraphicPrimitive2D()
703 … const basegfx::B2DRange aPolyPolygonRange(rPolyPolygon.getB2DRange()); in RenderPolyPolygonGraphicPrimitive2D()
704 const basegfx::B2DHomMatrix aNewObjectTransform( in RenderPolyPolygonGraphicPrimitive2D()
705 basegfx::tools::createScaleTranslateB2DHomMatrix( in RenderPolyPolygonGraphicPrimitive2D()
713 … basegfx::B2DPolyPolygon aTarget = basegfx::tools::clipPolyPolygonOnRange( in RenderPolyPolygonGraphicPrimitive2D()
756 basegfx::B2DPolyPolygon aMask(rMaskCandidate.getMask()); in RenderMaskPrimitive2DPixel()
761 const basegfx::B2DRange aRange(basegfx::tools::getRange(aMask)); in RenderMaskPrimitive2DPixel()
837 …basegfx::B2DRange aRange(primitive2d::getB2DRangeFromPrimitive2DSequence(rTransCandidate.getChildr… in RenderUnifiedTransparencePrimitive2D()
866 …basegfx::B2DRange aRange(primitive2d::getB2DRangeFromPrimitive2DSequence(rTransCandidate.getChildr… in RenderTransparencePrimitive2D()
883 basegfx::BColorModifierStack aLastBColorModifierStack(maBColorModifierStack); in RenderTransparencePrimitive2D()
884 maBColorModifierStack = basegfx::BColorModifierStack(); in RenderTransparencePrimitive2D()
905 const basegfx::B2DHomMatrix aLastCurrentTransformation(maCurrentTransformation); in RenderTransformPrimitive2D()
962 const std::vector< basegfx::B2DPoint >& rPositions = rMarkArrayCandidate.getPositions(); in RenderMarkerArrayPrimitive2D()
974 const basegfx::B2DVector aDiscreteHalfSize( in RenderMarkerArrayPrimitive2D()
988 …for(std::vector< basegfx::B2DPoint >::const_iterator aIter(rPositions.begin()); aIter != rPosition… in RenderMarkerArrayPrimitive2D()
990 …const basegfx::B2DPoint aDiscreteTopLeft((maCurrentTransformation * (*aIter)) - aDiscreteHalfSize); in RenderMarkerArrayPrimitive2D()
991 …const Point aDiscretePoint(basegfx::fround(aDiscreteTopLeft.getX()), basegfx::fround(aDiscreteTopL… in RenderMarkerArrayPrimitive2D()
1004 const std::vector< basegfx::B2DPoint >& rPositions = rPointArrayCandidate.getPositions(); in RenderPointArrayPrimitive2D()
1005 …const basegfx::BColor aRGBColor(maBColorModifierStack.getModifiedColor(rPointArrayCandidate.getRGB… in RenderPointArrayPrimitive2D()
1008 …for(std::vector< basegfx::B2DPoint >::const_iterator aIter(rPositions.begin()); aIter != rPosition… in RenderPointArrayPrimitive2D()
1010 const basegfx::B2DPoint aViewPosition(maCurrentTransformation * (*aIter)); in RenderPointArrayPrimitive2D()
1011 const Point aPos(basegfx::fround(aViewPosition.getX()), basegfx::fround(aViewPosition.getY())); in RenderPointArrayPrimitive2D()
1025 if(basegfx::fTools::more(fLineWidth, 0.0)) in RenderPolygonStrokePrimitive2D()
1027 …const basegfx::B2DVector aDiscreteUnit(maCurrentTransformation * basegfx::B2DVector(fLineWidth, 0.… in RenderPolygonStrokePrimitive2D()
1030 …const basegfx::BColor aHairlineColor(maBColorModifierStack.getModifiedColor(rLineAttribute.getColo… in RenderPolygonStrokePrimitive2D()
1031 basegfx::B2DPolyPolygon aHairlinePolyPolygon; in RenderPolygonStrokePrimitive2D()
1044 basegfx::tools::applyLineDashing(rPolygonStrokeCandidate.getB2DPolygon(), in RenderPolygonStrokePrimitive2D()
1058 if(basegfx::fTools::lessOrEqual(fDiscreteLineWidth, 1.0)) in RenderPolygonStrokePrimitive2D()
1069 else if(basegfx::fTools::lessOrEqual(fDiscreteLineWidth, 2.0)) in RenderPolygonStrokePrimitive2D()
1073 basegfx::B2DHomMatrix aMat; in RenderPolygonStrokePrimitive2D()
1079 … basegfx::B2DPolygon aCandidate(aHairlinePolyPolygon.getB2DPolygon(a)); in RenderPolygonStrokePrimitive2D()
1104 else if(basegfx::fTools::lessOrEqual(fDiscreteLineWidth, 3.0)) in RenderPolygonStrokePrimitive2D()
1108 basegfx::B2DHomMatrix aMat; in RenderPolygonStrokePrimitive2D()
1113 … basegfx::B2DPolygon aCandidate(aHairlinePolyPolygon.getB2DPolygon(a)); in RenderPolygonStrokePrimitive2D()
1147 if(basegfx::fTools::lessOrEqual(fDiscreteLineWidth, 1.5)) in RenderPolygonStrokePrimitive2D()
1157 else if(basegfx::fTools::lessOrEqual(fDiscreteLineWidth, 2.5)) in RenderPolygonStrokePrimitive2D()
1163 … basegfx::B2DPolygon aCandidate(aHairlinePolyPolygon.getB2DPolygon(a)); in RenderPolygonStrokePrimitive2D()
1164 basegfx::B2DHomMatrix aMat; in RenderPolygonStrokePrimitive2D()
1238 basegfx::B2DRange aRange(0.0, 0.0, 1.0, 1.0); in RenderEpsPrimitive2D()
1270 if(basegfx::fTools::more(fDelta, 0.0)) in RenderSvgLinearAtomPrimitive2D()
1272 … const basegfx::BColor aColorA(maBColorModifierStack.getModifiedColor(rCandidate.getColorA())); in RenderSvgLinearAtomPrimitive2D()
1273 … const basegfx::BColor aColorB(maBColorModifierStack.getModifiedColor(rCandidate.getColorB())); in RenderSvgLinearAtomPrimitive2D()
1276 …const basegfx::B2DVector aDiscreteVector(getViewInformation2D().getInverseObjectToViewTransformati… in RenderSvgLinearAtomPrimitive2D()
1286 const basegfx::B2DPolygon aPolygon( in RenderSvgLinearAtomPrimitive2D()
1287 basegfx::tools::createPolygonFromRect( in RenderSvgLinearAtomPrimitive2D()
1288 basegfx::B2DRange( in RenderSvgLinearAtomPrimitive2D()
1302 basegfx::B2DPolygon aNew(aPolygon); in RenderSvgLinearAtomPrimitive2D()
1304 …aNew.transform(maCurrentTransformation * basegfx::tools::createTranslateB2DHomMatrix(fDelta * fUni… in RenderSvgLinearAtomPrimitive2D()
1305 … mpOutputDevice->SetFillColor(Color(basegfx::interpolate(aColorA, aColorB, fUnitScale))); in RenderSvgLinearAtomPrimitive2D()
1306 mpOutputDevice->DrawPolyPolygon(basegfx::B2DPolyPolygon(aNew)); in RenderSvgLinearAtomPrimitive2D()
1315 if(basegfx::fTools::more(fDeltaScale, 0.0)) in RenderSvgRadialAtomPrimitive2D()
1317 … const basegfx::BColor aColorA(maBColorModifierStack.getModifiedColor(rCandidate.getColorA())); in RenderSvgRadialAtomPrimitive2D()
1318 … const basegfx::BColor aColorB(maBColorModifierStack.getModifiedColor(rCandidate.getColorB())); in RenderSvgRadialAtomPrimitive2D()
1321 …const basegfx::B2DVector aDiscreteVector(getViewInformation2D().getInverseObjectToViewTransformati… in RenderSvgRadialAtomPrimitive2D()
1336 basegfx::B2DHomMatrix aTransform; in RenderSvgRadialAtomPrimitive2D()
1341 const basegfx::B2DVector aTranslate( in RenderSvgRadialAtomPrimitive2D()
1342 basegfx::interpolate( in RenderSvgRadialAtomPrimitive2D()
1347 aTransform = basegfx::tools::createScaleTranslateB2DHomMatrix( in RenderSvgRadialAtomPrimitive2D()
1355 aTransform = basegfx::tools::createScaleB2DHomMatrix( in RenderSvgRadialAtomPrimitive2D()
1360 basegfx::B2DPolygon aNew(basegfx::tools::createPolygonFromUnitCircle()); in RenderSvgRadialAtomPrimitive2D()
1363 … mpOutputDevice->SetFillColor(Color(basegfx::interpolate(aColorB, aColorA, fUnitScale))); in RenderSvgRadialAtomPrimitive2D()
1364 mpOutputDevice->DrawPolyPolygon(basegfx::B2DPolyPolygon(aNew)); in RenderSvgRadialAtomPrimitive2D()