|
Krita Source Code Documentation
|
#include <KoVectorPatternBackground.h>
Inheritance diagram for KoVectorPatternBackground:Classes | |
| class | Private |
Public Member Functions | |
| bool | compareTo (const KoShapeBackground *other) const override |
| KoFlake::CoordinateSystem | contentCoordinates () const |
| bool | hasTransparency () const override |
| Returns if the background has some transparency. | |
| KoVectorPatternBackground () | |
| void | paint (QPainter &painter, const QPainterPath &fillPath) const override |
| Paints the background using the given fill path. | |
| QTransform | patternTransform () const |
| KoFlake::CoordinateSystem | referenceCoordinates () const |
| QRectF | referenceRect () const |
| void | setContentCoordinates (KoFlake::CoordinateSystem value) |
| void | setPatternTransform (const QTransform &value) |
| void | setReferenceCoordinates (KoFlake::CoordinateSystem value) |
| void | setReferenceRect (const QRectF &value) |
| void | setShapes (const QList< KoShape * > value) |
| QList< KoShape * > | shapes () const |
| ~KoVectorPatternBackground () override | |
Public Member Functions inherited from KoShapeBackground | |
| KoShapeBackground () | |
| virtual | operator bool () const |
| virtual | ~KoShapeBackground () |
Private Attributes | |
| QSharedDataPointer< Private > | d |
Definition at line 20 of file KoVectorPatternBackground.h.
| KoVectorPatternBackground::KoVectorPatternBackground | ( | ) |
Definition at line 37 of file KoVectorPatternBackground.cpp.
|
override |
Definition at line 43 of file KoVectorPatternBackground.cpp.
|
overridevirtual |
Implements KoShapeBackground.
Definition at line 48 of file KoVectorPatternBackground.cpp.
| KoFlake::CoordinateSystem KoVectorPatternBackground::contentCoordinates | ( | ) | const |
Definition at line 69 of file KoVectorPatternBackground.cpp.
References d.
|
overridevirtual |
Returns if the background has some transparency.
Reimplemented from KoShapeBackground.
Definition at line 133 of file KoVectorPatternBackground.cpp.
|
overridevirtual |
Paints the background using the given fill path.
Implements KoShapeBackground.
Definition at line 107 of file KoVectorPatternBackground.cpp.
References KoBakedShapeRenderer::bakeShapePainter(), d, p, KoBakedShapeRenderer::renderShape(), KoShapePainter::setShapes(), and KoFlake::UserSpaceOnUse.
| QTransform KoVectorPatternBackground::patternTransform | ( | ) | const |
Definition at line 89 of file KoVectorPatternBackground.cpp.
References d.
| KoFlake::CoordinateSystem KoVectorPatternBackground::referenceCoordinates | ( | ) | const |
Definition at line 59 of file KoVectorPatternBackground.cpp.
References d.
| QRectF KoVectorPatternBackground::referenceRect | ( | ) | const |
Definition at line 79 of file KoVectorPatternBackground.cpp.
References d.
| void KoVectorPatternBackground::setContentCoordinates | ( | KoFlake::CoordinateSystem | value | ) |
In ViewBox just use the same mode as for referenceCoordinates
Definition at line 64 of file KoVectorPatternBackground.cpp.
| void KoVectorPatternBackground::setPatternTransform | ( | const QTransform & | value | ) |
| void KoVectorPatternBackground::setReferenceCoordinates | ( | KoFlake::CoordinateSystem | value | ) |
| void KoVectorPatternBackground::setReferenceRect | ( | const QRectF & | value | ) |
Definition at line 102 of file KoVectorPatternBackground.cpp.
References d.
|
private |
Definition at line 50 of file KoVectorPatternBackground.h.