50 aUnitOutline.
transform(aUnitCorrectionMatrix);
53 if(!getSdrLFSTAttribute().getFill().isDefault())
61 getSdrLFSTAttribute().getFill(),
62 getSdrLFSTAttribute().getFillFloatTransGradient()));
66 if(getSdrLFSTAttribute().getLine().isDefault())
83 getSdrLFSTAttribute().getLine(),
88 if(!getSdrLFSTAttribute().getText().isDefault())
94 getSdrLFSTAttribute().getText(),
95 getSdrLFSTAttribute().getLine(),
101 if(!getSdrLFSTAttribute().getShadow().isDefault())
105 getSdrLFSTAttribute().getShadow());
108 rContainer.insert(rContainer.end(), aRetval.begin(), aRetval.end());
111 SdrEllipsePrimitive2D::SdrEllipsePrimitive2D(
116 maSdrLFSTAttribute(rSdrLFSTAttribute)
122 if(BufferedDecompositionPrimitive2D::operator==(rPrimitive))
147 if(mbCloseUsingCenter)
162 aUnitOutline.
transform(aUnitCorrectionMatrix);
165 if(!getSdrLFSTAttribute().getFill().isDefault() && aUnitOutline.
isClosed())
173 getSdrLFSTAttribute().getFill(),
174 getSdrLFSTAttribute().getFillFloatTransGradient()));
178 if(getSdrLFSTAttribute().getLine().isDefault())
195 getSdrLFSTAttribute().getLine(),
196 getSdrLFSTAttribute().getLineStartEnd()));
200 if(!getSdrLFSTAttribute().getText().isDefault())
206 getSdrLFSTAttribute().getText(),
207 getSdrLFSTAttribute().getLine(),
213 if(!getSdrLFSTAttribute().getShadow().isDefault())
217 getSdrLFSTAttribute().getShadow());
220 rContainer.insert(rContainer.end(), aRetval.begin(), aRetval.end());
229 bool bCloseUsingCenter)
230 : SdrEllipsePrimitive2D(rTransform, rSdrLFSTAttribute),
231 mfStartAngle(fStartAngle),
232 mfEndAngle(fEndAngle),
233 mbCloseSegment(bCloseSegment),
234 mbCloseUsingCenter(bCloseUsingCenter)
238 bool SdrEllipseSegmentPrimitive2D::operator==(
const BasePrimitive2D& rPrimitive)
const
240 if(SdrEllipsePrimitive2D::operator==(rPrimitive))
B2DPolygon const & createPolygonFromUnitCircle(sal_uInt32 nStartQuadrant=0)
const ::basegfx::B2DHomMatrix & getTransform() const
#define PRIMITIVE2D_ID_SDRELLIPSEPRIMITIVE2D
B2DPolygon createPolygonFromUnitEllipseSegment(double fStart, double fEnd)
Primitive2DContainer createEmbeddedShadowPrimitive(const Primitive2DContainer &rContent, const attribute::SdrShadowAttribute &rShadow, const basegfx::B2DHomMatrix &rObjectMatrix, const Primitive2DContainer *pContentForShadow)
ImplPrimitive2DIDBlock(SdrEllipsePrimitive2D, PRIMITIVE2D_ID_SDRELLIPSEPRIMITIVE2D) void SdrEllipseSegmentPrimitive2D
const attribute::SdrLineFillEffectsTextAttribute & getSdrLFSTAttribute() const
void insert(sal_uInt32 nIndex, const basegfx::B2DPoint &rPoint, sal_uInt32 nCount=1)
B2DHomMatrix createScaleTranslateB2DHomMatrix(double fScaleX, double fScaleY, double fTranslateX, double fTranslateY)
#define PRIMITIVE2D_ID_SDRELLIPSESEGMENTPRIMITIVE2D
void transform(const basegfx::B2DHomMatrix &rMatrix)
ImplPrimitive2DIDBlock(BorderLinePrimitive2D, PRIMITIVE2D_ID_BORDERLINEPRIMITIVE2D) Primitive2DReference tryMergeBorderLinePrimitive2D(const BorderLinePrimitive2D *pCandidateA
Primitive2DReference createTextPrimitive(const basegfx::B2DPolyPolygon &rUnitPolyPolygon, const basegfx::B2DHomMatrix &rObjectTransform, const attribute::SdrTextAttribute &rText, const attribute::SdrLineAttribute &rStroke, bool bCellText, bool bWordWrap)
void transform(const basegfx::B2DHomMatrix &rMatrix)
SdrEllipseSegmentPrimitive2D(const ::basegfx::B2DHomMatrix &rTransform, const attribute::SdrLineFillEffectsTextAttribute &rSdrLFSTAttribute, double fStartAngle, double fEndAngle, bool bCloseSegment, bool bCloseUsingCenter)
void setClosed(bool bNew)
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
Primitive2DReference createHiddenGeometryPrimitives2D(const basegfx::B2DHomMatrix &rMatrix)
Primitive2DReference createPolygonLinePrimitive(const basegfx::B2DPolygon &rPolygon, const attribute::SdrLineAttribute &rLine, const attribute::SdrLineStartEndAttribute &rStroke)
Primitive2DReference createPolyPolygonFillPrimitive(const basegfx::B2DPolyPolygon &rPolyPolygon, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)