Definition at line 115 of file kis_brush.cpp.
◆ Private() [1/2]
| KisBrush::Private::Private |
( |
| ) |
|
|
inline |
Definition at line 116 of file kis_brush.cpp.
130 {
132 })
134
135 {
136 }
virtual QImage brushTipImage() const
brushImage the image the brush tip can paint with. Not all brush types have a single image.
KisOptimizedBrushOutline * outlineFactory(const KisBrush *brush)
KoAbstractGradientSP gradient
enumBrushApplication brushApplication
KisLazySharedCacheStorageLinked< KisOptimizedBrushOutline, const KisBrush * > brushOutline
KisLazySharedCacheStorageLinked< KisQImagePyramid, const KisBrush * > brushPyramid
◆ Private() [2/2]
| KisBrush::Private::Private |
( |
const Private & | rhs | ) |
|
|
inline |
Be careful! The pyramid is shared between two brush objects, therefore you cannot change it, only recreate! That is the reason why it is defined as const!
Take it also into account that the object is defined as KisLazySharedCacheStorage**Linked**, that is, when a cloned object updates the cache, the cache of the source object is also updated. The two caches are detached only when any of the objects calls cache.reset().
Definition at line 138 of file kis_brush.cpp.
165 {
167 if (rhs.cachedGradient) {
169 }
170 }
QSharedPointer< KoCachedGradient > cachedGradient
References cachedGradient, and gradient.
◆ ~Private()
| KisBrush::Private::~Private |
( |
| ) |
|
|
inline |
◆ angle
| qreal KisBrush::Private::angle |
◆ autoSpacingActive
| bool KisBrush::Private::autoSpacingActive |
◆ autoSpacingCoeff
| qreal KisBrush::Private::autoSpacingCoeff |
◆ brushApplication
◆ brushOutline
◆ brushPyramid
◆ brushTipImage
| QImage KisBrush::Private::brushTipImage |
◆ brushType
◆ cachedGradient
◆ gradient
◆ hasColor
| bool KisBrush::Private::hasColor |
◆ height
| qint32 KisBrush::Private::height |
◆ hotSpot
| QPointF KisBrush::Private::hotSpot |
◆ scale
| qreal KisBrush::Private::scale |
◆ spacing
| double KisBrush::Private::spacing |
◆ threadingAllowed
| bool KisBrush::Private::threadingAllowed |
◆ width
| qint32 KisBrush::Private::width |
The documentation for this struct was generated from the following file: