krita

KisAdjustmentLayer Class Reference

#include <kis_adjustment_layer.h>

Inheritance diagram for KisAdjustmentLayer:

KisLayer List of all members.

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
KisFilterConfigurationfilter ()
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

KisAdjustmentLayer::KisAdjustmentLayer KisImageSP  img,
const QString &  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.cc.


Member Function Documentation

bool KisAdjustmentLayer::accept KisLayerVisitor  )  [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 162 of file kis_adjustment_layer.cc.

KisLayerSP KisAdjustmentLayer::clone  )  const [virtual]
 

Return a copy of this layer.

Implements KisLayer.

Definition at line 60 of file kis_adjustment_layer.cc.

QRect KisAdjustmentLayer::exactBounds  )  const [virtual]
 

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.

QRect KisAdjustmentLayer::extent  )  const [virtual]
 

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.

void KisAdjustmentLayer::setSelection KisSelectionSP  selection  ) 
 

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:
KDE Home | KDE Accessibility Home | Description of Access Keys