|
Krita Source Code Documentation
|
#include <KoShapeBackground.h>
Inheritance diagram for KoShapeBackground:Public Member Functions | |
| virtual bool | compareTo (const KoShapeBackground *other) const =0 |
| virtual bool | hasTransparency () const |
| Returns if the background has some transparency. | |
| KoShapeBackground () | |
| virtual | operator bool () const |
| virtual void | paint (QPainter &painter, const QPainterPath &fillPath) const =0 |
| Paints the background using the given fill path. | |
| virtual | ~KoShapeBackground () |
This is the base class for shape backgrounds. Derived classes are used to paint the background of a shape within a given painter path.
Definition at line 24 of file KoShapeBackground.h.
| KoShapeBackground::KoShapeBackground | ( | ) |
Definition at line 9 of file KoShapeBackground.cpp.
|
virtual |
Definition at line 13 of file KoShapeBackground.cpp.
|
pure virtual |
Implemented in KoColorBackground, KoGradientBackground, KoMeshGradientBackground, KoPatternBackground, and KoVectorPatternBackground.
|
virtual |
Returns if the background has some transparency.
Reimplemented in KoVectorPatternBackground.
Definition at line 17 of file KoShapeBackground.cpp.
|
inlineexplicitvirtual |
Definition at line 38 of file KoShapeBackground.h.
|
pure virtual |
Paints the background using the given fill path.
Implemented in KoColorBackground, KoGradientBackground, KoHatchBackground, KoMeshGradientBackground, KoPatternBackground, and KoVectorPatternBackground.