56 d->referenceCoordinates =
value;
61 return d->referenceCoordinates;
66 d->contentCoordinates =
value;
71 return d->contentCoordinates;
81 return d->referenceRect;
86 d->patternTransform =
value;
91 return d->patternTransform;
96 qDeleteAll(
d->shapes);
109 const QPainterPath dstShapeOutline = fillPath;
110 const QRectF dstShapeBoundingBox = dstShapeOutline.boundingRect();
118 d->patternTransform);
124 p.paint(*patchPainter);
129 painter.setPen(Qt::NoPen);
float value(const T *src, size_t ch)
void setShapes(const QList< KoShape * > &shapes)
QTransform patternTransform
KoFlake::CoordinateSystem contentCoordinates
QList< KoShape * > shapes
KoFlake::CoordinateSystem referenceCoordinates
bool compareTo(const KoShapeBackground *other) const override
void setReferenceCoordinates(KoFlake::CoordinateSystem value)
void setContentCoordinates(KoFlake::CoordinateSystem value)
QRectF referenceRect() const
void setReferenceRect(const QRectF &value)
void setPatternTransform(const QTransform &value)
KoVectorPatternBackground()
void setShapes(const QList< KoShape * > value)
KoFlake::CoordinateSystem contentCoordinates() const
QList< KoShape * > shapes() const
~KoVectorPatternBackground() override
QTransform patternTransform() const
KoFlake::CoordinateSystem referenceCoordinates() const
bool hasTransparency() const override
Returns if the background has some transparency.
QSharedDataPointer< Private > d
void paint(QPainter &painter, const QPainterPath &fillPath) const override
Paints the background using the given fill path.
QPainter * bakeShapePainter()
void renderShape(QPainter &painter)