39 : maOLEContent(
std::move(rOLEContent)),
41 maSdrLFSTAttribute(rSdrLFSTAttribute)
47 if(BasePrimitive2D::operator==(rPrimitive))
102 double fRotate, fShearX;
107 double fScaleX(0.0 != aScale.
getX() ? fHalfLineWidth / fabs(aScale.
getX()) : 1.0);
108 double fScaleY(0.0 != aScale.
getY() ? fHalfLineWidth / fabs(aScale.
getY()) : 1.0);
109 const basegfx::B2DRange aExpandedRange(-fScaleX, -fScaleY, 1.0 + fScaleX, 1.0 + fScaleY);
115 aExpandedUnitOutline,
166 rVisitor.
visit(std::move(aRetval));
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 &)
virtual void visit(const Primitive2DReference &)=0
SdrOle2Primitive2D(Primitive2DContainer &&rOLEContent, basegfx::B2DHomMatrix aTransform, const attribute::SdrLineFillEffectsTextAttribute &rSdrLFSTAttribute)
const Primitive2DContainer & getOLEContent() const
const attribute::SdrLineFillEffectsTextAttribute & getSdrLFSTAttribute() const
const basegfx::B2DHomMatrix & getTransform() const
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
virtual void get2DDecomposition(Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &aViewInformation) const override
virtual sal_uInt32 getPrimitive2DID() const override
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
B2DPolygon const & createUnitPolygon()
Primitive2DReference createHiddenGeometryPrimitives2D(const basegfx::B2DHomMatrix &rMatrix)
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)
#define PRIMITIVE2D_ID_SDROLE2PRIMITIVE2D