52 , maStrokeColor(rStrokeColor)
54 , mfTransparence(fTransparence)
55 , mfRotation(fRotation)
75 aPolyPolygon.
append(aPolygon);
88 aPrimitive2DSequence[0] = aFill;
89 aPrimitive2DSequence[1] = aStroke;
96 std::move(aPrimitive2DSequence),
103 rContainer.
append(std::move(aPrimitive2DSequence));
108 if (DiscreteMetricDependentPrimitive2D::operator==(rPrimitive))
137 : maBitmapEx(rBitmapEx),
142 mfRotation(fRotation)
165 aTransform.
set(0, 0, fRight - fLeft);
166 aTransform.
set(1, 1, fBottom - fTop);
167 aTransform.
set(0, 2, fLeft);
168 aTransform.
set(1, 2, fTop);
185 rContainer.push_back(
193 if(DiscreteMetricDependentPrimitive2D::operator==(rPrimitive))
219 double fDiscreteDashLength)
221 maRGBColorA(rRGBColorA),
222 maRGBColorB(rRGBColorB),
223 mfDiscreteDashLength(fDiscreteDashLength)
238 rContainer.push_back(
249 rContainer.push_back(
259 if(ViewportDependentPrimitive2D::operator==(rPrimitive))
282 double fTransparence,
283 double fDiscreteGrow,
284 double fDiscreteShrink,
286 : maObjectRange(rObjectRange),
288 mfTransparence(fTransparence),
289 mfDiscreteGrow(fDiscreteGrow),
290 mfDiscreteShrink(fDiscreteShrink),
291 mfRotation(fRotation)
310 const double fRelativeRadiusX(fFullGrow / aOuterRange.
getWidth());
311 const double fRelativeRadiusY(fFullGrow / aOuterRange.
getHeight());
334 aPolyPolygon.
append(aOuterPolygon);
335 aPolyPolygon.
append(aInnerPolygon);
340 std::move(aPolyPolygon),
381 rContainer.
append(std::move(aRetval));
386 if(DiscreteMetricDependentPrimitive2D::operator==(rPrimitive))
413 double fDiscreteDashLength)
416 maRGBColorA(rRGBColorA),
417 maRGBColorB(rRGBColorB),
418 mfDiscreteDashLength(fDiscreteDashLength)
437 rContainer.push_back(
453 rContainer.push_back(
470 rContainer.push_back(
480 rContainer.push_back(
494 if(ViewportDependentPrimitive2D::operator==(rPrimitive))
519 double fDiscreteDashLength)
520 : maRollingRectangle(aRollingRectangle),
521 maRGBColorA(rRGBColorA),
522 maRGBColorB(rRGBColorB),
523 mfDiscreteDashLength(fDiscreteDashLength)
582 if(ViewportDependentPrimitive2D::operator==(rPrimitive))
geometry::RealPoint2D maPosition
geometry::RealSize2D maSize
basegfx::B2DPoint maBasePosition
static const AllSettings & GetSettings()
constexpr tools::Long getHeight() const
constexpr tools::Long Height() const
constexpr tools::Long getWidth() const
constexpr tools::Long Width() const
void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue)
void rotate(double fRadiant)
void translate(double fX, double fY)
void append(const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
void transform(const basegfx::B2DHomMatrix &rMatrix)
void append(const basegfx::B2DPoint &rPoint, sal_uInt32 nCount)
double getDiscreteUnit() const
virtual void create2DDecomposition(Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const override
virtual sal_uInt32 getPrimitive2DID() const override
sal_uInt16 getCenterX() const
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
const basegfx::B2DPoint & getBasePosition() const
double getRotation() const
OverlayBitmapExPrimitive(const BitmapEx &rBitmapEx, const basegfx::B2DPoint &rBasePosition, sal_uInt16 nCenterX, sal_uInt16 nCenterY, double fShearX, double fRotation)
const BitmapEx & getBitmapEx() const
sal_uInt16 getCenterY() const
double getDiscreteDashLength() const
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
const basegfx::BColor & getRGBColorA() const
virtual sal_uInt32 getPrimitive2DID() const override
const basegfx::B2DPoint & getBasePosition() const
const basegfx::BColor & getRGBColorB() const
OverlayCrosshairPrimitive(const basegfx::B2DPoint &rBasePosition, const basegfx::BColor &rRGBColorA, const basegfx::BColor &rRGBColorB, double fDiscreteDashLength)
virtual void create2DDecomposition(Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const override
virtual void create2DDecomposition(Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const override
virtual sal_uInt32 getPrimitive2DID() const override
const basegfx::B2DPoint & getBasePosition() const
OverlayHelplineStripedPrimitive(const basegfx::B2DPoint &rBasePosition, HelplineStyle eStyle, const basegfx::BColor &rRGBColorA, const basegfx::BColor &rRGBColorB, double fDiscreteDashLength)
double getDiscreteDashLength() const
const basegfx::BColor & getRGBColorB() const
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
const basegfx::BColor & getRGBColorA() const
HelplineStyle getStyle() const
virtual sal_uInt32 getPrimitive2DID() const override
double getRotation() const
virtual void create2DDecomposition(Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const override
OverlayRectanglePrimitive(const basegfx::B2DRange &rObjectRange, const basegfx::BColor &rColor, double fTransparence, double fDiscreteGrow, double fDiscreteShrink, double fRotation)
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
const basegfx::B2DRange & getObjectRange() const
double getDiscreteShrink() const
double getTransparence() const
const basegfx::BColor & getColor() const
double getDiscreteGrow() const
const basegfx::B2DRange & getRollingRectangle() const
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
double getDiscreteDashLength() const
const basegfx::BColor & getRGBColorB() const
virtual void create2DDecomposition(Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const override
OverlayRollingRectanglePrimitive(const basegfx::B2DRange &aRollingRectangle, const basegfx::BColor &rRGBColorA, const basegfx::BColor &rRGBColorB, double fDiscreteDashLength)
virtual sal_uInt32 getPrimitive2DID() const override
const basegfx::BColor & getRGBColorA() const
virtual sal_uInt32 getPrimitive2DID() const override
basegfx::BColor maFillColor
basegfx::B2DPoint maPosition
virtual bool operator==(const BasePrimitive2D &rPrimitive) const override
basegfx::BColor maStrokeColor
OverlayStaticRectanglePrimitive(const basegfx::B2DPoint &rPosition, const basegfx::B2DSize &rSize, const basegfx::BColor &rStrokeColor, const basegfx::BColor &rFillColor, double fTransparence, double fRotation)
virtual void create2DDecomposition(Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const override
void append(const Primitive2DReference &)
const basegfx::B2DRange & getViewport() const
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
B2DHomMatrix createRotateAroundPoint(double fPointX, double fPointY, double fRadiant)
@ HELPLINESTYLE_HORIZONTAL
uno::Sequence< double > maFillColor
#define PRIMITIVE2D_ID_OVERLAYROLLINGRECTANGLEPRIMITIVE
#define PRIMITIVE2D_ID_OVERLAYRECTANGLEPRIMITIVE
#define PRIMITIVE2D_ID_OVERLAYCROSSHAIRPRIMITIVE
#define PRIMITIVE2D_ID_OVERLAYBITMAPEXPRIMITIVE
#define PRIMITIVE2D_ID_OVERLAYHELPLINESTRIPEDPRIMITIVE