#include <kis_adjustment_layer.h>
Public Member Functions | |
| KisAdjustmentLayer (KisImageSP img, const TQString &name, KisFilterConfiguration *kfc, KisSelectionSP selection) | |
| KisAdjustmentLayer (const KisAdjustmentLayer &rhs) | |
| virtual KisLayerSP | clone () const |
| KisFilterConfiguration * | filter () |
| void | setFilter (KisFilterConfiguration *filterConfig) |
| KisSelectionSP | selection () |
| void | setSelection (KisSelectionSP selection) |
| void | clearSelection () |
| virtual void | paintSelection (TQImage &img, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h) |
| virtual void | paintSelection (TQImage &img, const TQRect &scaledImageRect, const TQSize &scaledImageSize, const TQSize &imageSize) |
| virtual TQ_INT32 | x () const |
| virtual void | setX (TQ_INT32) |
| virtual TQ_INT32 | y () const |
| virtual void | setY (TQ_INT32) |
| virtual TQRect | extent () const |
| virtual TQRect | exactBounds () const |
| virtual bool | accept (KisLayerVisitor &) |
| virtual void | resetCache () |
| virtual KisPaintDeviceSP | cachedPaintDevice () |
| bool | showSelection () const |
| void | setSelection (bool b) |
| virtual TQImage | createThumbnail (TQ_INT32 w, TQ_INT32 h) |
| virtual KisLayer * | layer () |
Public Member Functions inherited from KisLayer | |
| KisLayer (KisImage *img, const TQString &name, TQ_UINT8 opacity) | |
| KisLayer (const KisLayer &rhs) | |
| virtual void | setClean (const TQRect &rect) |
| virtual bool | dirty () |
| virtual bool | dirty (const TQRect &rc) |
| virtual TQRect | dirtyRect () const |
| virtual void | setDirty (bool propagate=true) |
| virtual void | setDirty (const TQRect &rect, bool propagate=true) |
| int | id () const |
| virtual int | index () const |
| virtual void | setIndex (int index) |
| virtual KisGroupLayerSP | parent () const |
| virtual KisLayerSP | prevSibling () const |
| virtual KisLayerSP | nextSibling () const |
| KisLayerSP | siblingAbove () const |
| KisLayerSP | siblingBelow () const |
| virtual uint | childCount () const |
| virtual KisLayerSP | firstChild () const |
| virtual KisLayerSP | lastChild () const |
| virtual KisLayerSP | findLayer (const TQString &name) const |
| virtual KisLayerSP | findLayer (int id) const |
| virtual int | numLayers (int type=0) const |
| virtual void | activate () |
| virtual void | deactivate () |
| virtual KNamedCommand * | moveCommand (TQPoint oldPosition, TQPoint newPosition) |
| virtual const bool | visible () const |
| virtual void | setVisible (bool v) |
| KNamedCommand * | setVisibleCommand (bool visiblel) |
| TQ_UINT8 | opacity () const |
| void | setOpacity (TQ_UINT8 val) |
| KNamedCommand * | setOpacityCommand (TQ_UINT8 val) |
| KNamedCommand * | setOpacityCommand (TQ_UINT8 prevOpacity, TQ_UINT8 newOpacity) |
| bool | locked () const |
| void | setLocked (bool l) |
| KNamedCommand * | setLockedCommand (bool locked) |
| void | notifyPropertyChanged () |
| bool | temporary () const |
| void | setTemporary (bool t) |
| virtual TQString | name () const |
| virtual void | setName (const TQString &name) |
| KisCompositeOp | compositeOp () |
| void | setCompositeOp (const KisCompositeOp &compositeOp) |
| KNamedCommand * | setCompositeOpCommand (const KisCompositeOp &compositeOp) |
| KisImage * | image () const |
| virtual void | setImage (KisImage *image) |
| KisUndoAdapter * | undoAdapter () const |
| virtual void | paintMaskInactiveLayers (TQImage &img, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h) |
Additional Inherited Members | |
Public Types inherited from KisLayer | |
| enum | { Visible = 1 , Hidden = 2 , Locked = 4 , Unlocked = 8 } |
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.
Constructor & Destructor Documentation
◆ KisAdjustmentLayer() [1/2]
| KisAdjustmentLayer::KisAdjustmentLayer | ( | KisImageSP | img, |
| const TQString & | name, | ||
| KisFilterConfiguration * | kfc, | ||
| KisSelectionSP | selection | ||
| ) |
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.cpp.
◆ KisAdjustmentLayer() [2/2]
| KisAdjustmentLayer::KisAdjustmentLayer | ( | const KisAdjustmentLayer & | rhs | ) |
Definition at line 45 of file kis_adjustment_layer.cpp.
◆ ~KisAdjustmentLayer()
|
virtual |
Definition at line 61 of file kis_adjustment_layer.cpp.
Member Function Documentation
◆ accept()
|
virtual |
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 181 of file kis_adjustment_layer.cpp.
◆ cachedPaintDevice()
|
inlinevirtual |
Definition at line 87 of file kis_adjustment_layer.h.
◆ clearSelection()
| void KisAdjustmentLayer::clearSelection | ( | ) |
Clears the selection (doesn't call any of the update or dirty methods)
Definition at line 116 of file kis_adjustment_layer.cpp.
◆ clone()
|
virtual |
Return a copy of this layer.
Implements KisLayer.
Definition at line 67 of file kis_adjustment_layer.cpp.
◆ createThumbnail()
|
virtual |
Returns a thumbnail in requested size.
The TQImage may have transparent parts. May also return 0
Reimplemented from KisLayer.
Definition at line 198 of file kis_adjustment_layer.cpp.
◆ exactBounds()
|
virtual |
Returns the exact bounds of where the actual data resides in this layer.
Implements KisLayer.
Definition at line 171 of file kis_adjustment_layer.cpp.
◆ extent()
|
virtual |
Returns an approximation of where the bounds on actual data are in this layer.
Implements KisLayer.
Definition at line 161 of file kis_adjustment_layer.cpp.
◆ filter()
| KisFilterConfiguration * KisAdjustmentLayer::filter | ( | ) |
Definition at line 78 of file kis_adjustment_layer.cpp.
◆ layer()
|
inlinevirtual |
Definition at line 95 of file kis_adjustment_layer.h.
◆ paintSelection() [1/2]
|
virtual |
Reimplemented from KisLayer.
Definition at line 192 of file kis_adjustment_layer.cpp.
◆ paintSelection() [2/2]
|
virtual |
paints a mask where the selection on this layer resides
Reimplemented from KisLayer.
Definition at line 186 of file kis_adjustment_layer.cpp.
◆ resetCache()
|
virtual |
Definition at line 73 of file kis_adjustment_layer.cpp.
◆ selection()
| KisSelectionSP KisAdjustmentLayer::selection | ( | ) |
Definition at line 92 of file kis_adjustment_layer.cpp.
◆ setFilter()
| void KisAdjustmentLayer::setFilter | ( | KisFilterConfiguration * | filterConfig | ) |
Definition at line 85 of file kis_adjustment_layer.cpp.
◆ setSelection() [1/2]
|
inline |
Definition at line 90 of file kis_adjustment_layer.h.
◆ setSelection() [2/2]
| void KisAdjustmentLayer::setSelection | ( | KisSelectionSP | selection | ) |
Set the selction of this adjustment layer to a copy of selection.
Definition at line 97 of file kis_adjustment_layer.cpp.
◆ setX()
|
virtual |
Implements KisLayer.
Definition at line 136 of file kis_adjustment_layer.cpp.
◆ setY()
|
virtual |
Implements KisLayer.
Definition at line 153 of file kis_adjustment_layer.cpp.
◆ showSelection()
|
inline |
Definition at line 89 of file kis_adjustment_layer.h.
◆ x()
|
virtual |
Implements KisLayer.
Definition at line 128 of file kis_adjustment_layer.cpp.
◆ y()
|
virtual |
Implements KisLayer.
Definition at line 145 of file kis_adjustment_layer.cpp.
The documentation for this class was generated from the following files:

Public Member Functions inherited from