|
Krita Source Code Documentation
|
#include <KoMeshGradientBackground.h>
Inheritance diagram for KoMeshGradientBackground:Classes | |
| class | Private |
Public Member Functions | |
| bool | compareTo (const KoShapeBackground *other) const override |
| SvgMeshGradient * | gradient () |
| KoMeshGradientBackground (const KoMeshGradientBackground &) | |
| KoMeshGradientBackground (const SvgMeshGradient *gradient, const QTransform &matrix=QTransform()) | |
| KoMeshGradientBackground & | operator= (const KoMeshGradientBackground &) |
| void | paint (QPainter &painter, const QPainterPath &fillPath) const override |
| Paints the background using the given fill path. | |
| QTransform | transform () |
| ~KoMeshGradientBackground () | |
Public Member Functions inherited from KoShapeBackground | |
| virtual bool | hasTransparency () const |
| Returns if the background has some transparency. | |
| KoShapeBackground () | |
| virtual | operator bool () const |
| virtual | ~KoShapeBackground () |
Private Attributes | |
| QSharedDataPointer< Private > | d |
Definition at line 12 of file KoMeshGradientBackground.h.
| KoMeshGradientBackground::KoMeshGradientBackground | ( | const SvgMeshGradient * | gradient, |
| const QTransform & | matrix = QTransform() ) |
Definition at line 43 of file KoMeshGradientBackground.cpp.
References d, and gradient().
| KoMeshGradientBackground::~KoMeshGradientBackground | ( | ) |
Definition at line 52 of file KoMeshGradientBackground.cpp.
| KoMeshGradientBackground::KoMeshGradientBackground | ( | const KoMeshGradientBackground & | rhs | ) |
Definition at line 56 of file KoMeshGradientBackground.cpp.
|
overridevirtual |
Implements KoShapeBackground.
Definition at line 105 of file KoMeshGradientBackground.cpp.
| SvgMeshGradient * KoMeshGradientBackground::gradient | ( | ) |
Definition at line 110 of file KoMeshGradientBackground.cpp.
References d.
| KoMeshGradientBackground & KoMeshGradientBackground::operator= | ( | const KoMeshGradientBackground & | rhs | ) |
Definition at line 60 of file KoMeshGradientBackground.cpp.
References d.
|
overridevirtual |
Paints the background using the given fill path.
Implements KoShapeBackground.
Definition at line 66 of file KoMeshGradientBackground.cpp.
References SvgMeshGradient::boundingRect(), d, SvgMeshGradient::getMeshArray(), SvgMeshArray::getPatch(), gradient(), SvgMeshGradient::gradientUnits(), KisAlgebra2D::mapToRect(), SvgMeshArray::numColumns(), SvgMeshArray::numRows(), KoFlake::ObjectBoundingBox, SvgMeshGradient::setTransform(), and SvgMeshGradient::type().
| QTransform KoMeshGradientBackground::transform | ( | ) |
Definition at line 115 of file KoMeshGradientBackground.cpp.
References d.
|
private |
Definition at line 31 of file KoMeshGradientBackground.h.