kis_adjustment_layer.cpp
33KisAdjustmentLayer::KisAdjustmentLayer(KisImageSP img, const TQString &name, KisFilterConfiguration * kfc, KisSelectionSP selection)
186void KisAdjustmentLayer::paintSelection(TQImage &img, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h)
192void KisAdjustmentLayer::paintSelection(TQImage &img, const TQRect& scaledImageRect, const TQSize& scaledImageSize, const TQSize& imageSize)
Class that contains a KisFilter and optionally a KisSelection.
Definition kis_adjustment_layer.h:39
virtual TQImage createThumbnail(TQ_INT32 w, TQ_INT32 h)
Returns a thumbnail in requested size.
Definition kis_adjustment_layer.cpp:198
void clearSelection()
Clears the selection (doesn't call any of the update or dirty methods).
Definition kis_adjustment_layer.cpp:116
virtual TQRect exactBounds() const
Returns the exact bounds of where the actual data resides in this layer.
Definition kis_adjustment_layer.cpp:171
virtual TQRect extent() const
Returns an approximation of where the bounds on actual data are in this layer.
Definition kis_adjustment_layer.cpp:161
virtual bool accept(KisLayerVisitor &)
Accept the KisLayerVisitor (for the Visitor design pattern), should call the correct function on the ...
Definition kis_adjustment_layer.cpp:181
KisAdjustmentLayer(KisImageSP img, const TQString &name, KisFilterConfiguration *kfc, KisSelectionSP selection)
Create a new adjustment layer with the given configuration and selection.
Definition kis_adjustment_layer.cpp:33
void setSelection(KisSelectionSP selection)
Set the selction of this adjustment layer to a copy of selection.
Definition kis_adjustment_layer.cpp:97
virtual void paintSelection(TQImage &img, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h)
paints a mask where the selection on this layer resides
Definition kis_adjustment_layer.cpp:186
A colorspace is the definition of a certain color model in Chalk.
Definition kis_colorspace.h:58
This painter can be used to fill paint devices in different ways.
Definition kis_fill_painter.h:39
void fillRect(TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h, const KisColor &c)
Fill a rectangle with a certain color.
Definition kis_fill_painter.h:161
A KisFilterConfiguration is the serializable representation of the filter parameters.
Definition kis_filter_configuration.h:38
A paint device contains the actual pixel data and offers methods to read and write pixels.
Definition kis_paint_device.h:76
void bitBlt(TQ_INT32 dx, TQ_INT32 dy, const KisCompositeOp &op, KisPaintDeviceSP src, TQ_INT32 sx, TQ_INT32 sy, TQ_INT32 sw, TQ_INT32 sh)
Blast the specified region from src onto the current paint device.
Definition kis_painter.h:105
KisSelection contains a byte-map representation of a layer, where the value of a byte signifies wheth...
Definition kis_selection.h:43
