krita
KisAdjustmentLayer Class Reference
#include <kis_adjustment_layer.h>
Inheritance diagram for KisAdjustmentLayer:

Detailed Description
Class that contains a KisFilter and optionally a KisSelection.The combination is used by to influence the rendering of the layers under this layer in the layerstack
Definition at line 38 of file kis_adjustment_layer.h.
Public Member Functions | |
KisAdjustmentLayer (KisImageSP img, const QString &name, KisFilterConfiguration *kfc, KisSelectionSP selection) | |
KisAdjustmentLayer (const KisAdjustmentLayer &rhs) | |
virtual | ~KisAdjustmentLayer () |
virtual KisLayerSP | clone () const |
KisFilterConfiguration * | filter () |
void | setFilter (KisFilterConfiguration *filterConfig) |
KisSelectionSP | selection () |
void | setSelection (KisSelectionSP selection) |
virtual Q_INT32 | x () const |
virtual void | setX (Q_INT32) |
virtual Q_INT32 | y () const |
virtual void | setY (Q_INT32) |
virtual QRect | extent () const |
virtual QRect | exactBounds () const |
virtual bool | accept (KisLayerVisitor &) |
virtual void | resetCache () |
virtual KisPaintDeviceSP | cachedPaintDevice () |
Constructor & Destructor Documentation
|
Create a new adjustment layer with the given configuration and selection. Note that the selection will be _copied_. Definition at line 33 of file kis_adjustment_layer.cc. |
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 162 of file kis_adjustment_layer.cc. |
|
Return a copy of this layer.
Implements KisLayer. Definition at line 60 of file kis_adjustment_layer.cc. |
|
Returns the exact bounds of where the actual data resides in this layer.
Implements KisLayer. Definition at line 152 of file kis_adjustment_layer.cc. |
|
Returns an approximation of where the bounds on actual data are in this layer.
Implements KisLayer. Definition at line 142 of file kis_adjustment_layer.cc. |
|
Set the selction of this adjustment layer to a copy of selection.
Definition at line 90 of file kis_adjustment_layer.cc. |
The documentation for this class was generated from the following files: