krita
KisPaintLayer Class Reference
#include <kis_paint_layer.h>
Inheritance diagram for KisPaintLayer:

Detailed Description
This layer is of a type that can be painted on.
Definition at line 28 of file kis_paint_layer.h.
Public Member Functions | |
KisPaintLayer (KisImage *img, const QString &name, Q_UINT8 opacity, KisPaintDeviceSP dev) | |
KisPaintLayer (KisImage *img, const QString &name, Q_UINT8 opacity) | |
KisPaintLayer (KisImage *img, const QString &name, Q_UINT8 opacity, KisColorSpace *colorSpace) | |
KisPaintLayer (const KisPaintLayer &rhs) | |
virtual | ~KisPaintLayer () |
virtual KisLayerSP | clone () const |
virtual void | activate () |
virtual void | deactivate () |
virtual Q_INT32 | x () const |
virtual void | setX (Q_INT32 x) |
virtual Q_INT32 | y () const |
virtual void | setY (Q_INT32 y) |
virtual QRect | extent () const |
virtual QRect | exactBounds () const |
virtual void | paintSelection (QImage &img, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h) |
virtual void | paintSelection (QImage &img, const QRect &scaledImageRect, const QSize &scaledImageSize, const QSize &imageSize) |
virtual void | paintMaskInactiveLayers (QImage &img, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h) |
virtual QImage | createThumbnail (Q_INT32 w, Q_INT32 h) |
virtual bool | accept (KisLayerVisitor &v) |
KisPaintDeviceSP | paintDevice () const |
Member Function Documentation
|
Accept the KisLayerVisitor (for the Visitor design pattern), should call the correct function on the KisLayerVisitor for this layer type.
Implements KisLayer. Definition at line 65 of file kis_paint_layer.h. |
|
Called when the layer is made active.
Reimplemented from KisLayer. Definition at line 44 of file kis_paint_layer.h. |
|
Return a copy of this layer.
Implements KisLayer. Definition at line 63 of file kis_paint_layer.cc. |
|
Returns a thumbnail in requested size. The QImage may have transparent parts. May also return 0 Reimplemented from KisLayer. Definition at line 112 of file kis_paint_layer.cc. |
|
Called when another layer is made active.
Reimplemented from KisLayer. Definition at line 47 of file kis_paint_layer.h. |
|
Returns the exact bounds of where the actual data resides in this layer.
Implements KisLayer. Definition at line 133 of file kis_paint_layer.cc. |
|
Returns an approximation of where the bounds on actual data are in this layer.
Implements KisLayer. Definition at line 132 of file kis_paint_layer.cc. |
|
Returns the paintDevice that accompanies this layer.
Definition at line 74 of file kis_paint_layer.h. |
|
paints where no data is on this layer. Useful when it is a transparent layer stacked on top of another one
Reimplemented from KisLayer. Definition at line 88 of file kis_paint_layer.cc. |
|
paints a mask where the selection on this layer resides
Reimplemented from KisLayer. Definition at line 75 of file kis_paint_layer.cc. |
The documentation for this class was generated from the following files: