55 aRetval.push_back(xGraphicContentPrimitive);
67 double fRotate, fShearX;
72 double fScaleX(0.0 != aScale.
getX() ? fHalfLineWidth / fabs(aScale.
getX()) : 1.0);
73 double fScaleY(0.0 != aScale.
getY() ? fHalfLineWidth / fabs(aScale.
getY()) : 1.0);
124 rContainer.
append(std::move(aRetval));
132 , maSdrLFSTAttribute(rSdrLFSTAttribute)
133 , maGraphicObject(rGraphicObject)
134 , maGraphicAttr(rGraphicAttr)
142 if (BufferedDecompositionPrimitive2D::operator==(rPrimitive))
void SetRotation(Degree10 nRotate10)
bool decompose(B2DTuple &rScale, B2DTuple &rTranslate, double &rRotate, double &rShearX) const
void transform(const basegfx::B2DHomMatrix &rMatrix)
void transform(const basegfx::B2DHomMatrix &rMatrix)
void append(const Primitive2DReference &)
SdrGrafPrimitive2D(::basegfx::B2DHomMatrix aTransform, const attribute::SdrLineFillEffectsTextAttribute &rSdrLFSTAttribute, const GraphicObject &rGraphicObject, const GraphicAttr &rGraphicAttr)
bool isTransparent() const
const attribute::SdrLineFillEffectsTextAttribute & getSdrLFSTAttribute() const
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
virtual sal_uInt32 getPrimitive2DID() const override
const GraphicAttr & getGraphicAttr() const
const ::basegfx::B2DHomMatrix & getTransform() const
GraphicAttr maGraphicAttr
virtual void create2DDecomposition(Primitive2DContainer &rContainer, const geometry::ViewInformation2D &aViewInformation) const override
const GraphicObject & getGraphicObject() const
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
B2DPolygon const & createUnitPolygon()
Primitive2DContainer createEmbeddedSoftEdgePrimitive(Primitive2DContainer &&aContent, sal_Int32 nRadius)
Primitive2DContainer createEmbeddedShadowPrimitive(Primitive2DContainer &&rContent, const attribute::SdrShadowAttribute &rShadow, const basegfx::B2DHomMatrix &rObjectMatrix, const Primitive2DContainer *pContentForShadow)
Primitive2DReference createPolygonLinePrimitive(const basegfx::B2DPolygon &rPolygon, const attribute::SdrLineAttribute &rLine, const attribute::SdrLineStartEndAttribute &rStroke)
Primitive2DReference createTextPrimitive(const basegfx::B2DPolyPolygon &rUnitPolyPolygon, const basegfx::B2DHomMatrix &rObjectTransform, const attribute::SdrTextAttribute &rText, const attribute::SdrLineAttribute &rStroke, bool bCellText, bool bWordWrap)
Primitive2DReference createPolyPolygonFillPrimitive(const basegfx::B2DPolyPolygon &rPolyPolygon, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)
Primitive2DContainer createEmbeddedGlowPrimitive(Primitive2DContainer &&rContent, const attribute::SdrGlowAttribute &rGlow)
#define PRIMITIVE2D_ID_SDRGRAFPRIMITIVE2D