kis_group_layer.h
A KisLayer that bundles child layers into a single layer.
Definition kis_group_layer.h:36
virtual KisLayerSP firstChild() const
Returns the first child layer of this layer (if it supports that).
Definition kis_group_layer.cpp:130
virtual KisPaintDeviceSP projection(const TQRect &rect)
will copy from to, if !0, CoW!!
Definition kis_group_layer.cpp:91
virtual uint childCount() const
Returns how many direct child layers this layer has (not recursive).
Definition kis_group_layer.cpp:125
virtual void resetProjection(KisPaintDevice *to=0)
Definition kis_group_layer.cpp:78
virtual TQRect exactBounds() const
Returns the exact bounds of where the actual data resides in this layer.
Definition kis_group_layer.cpp:252
virtual bool accept(KisLayerVisitor &v)
Accept the KisLayerVisitor (for the Visitor design pattern), should call the correct function on the ...
Definition kis_group_layer.h:79
virtual bool addLayer(KisLayerSP newLayer, int index)
Adds the layer to this group at the specified index.
Definition kis_group_layer.cpp:163
virtual void setDirty(bool propagate=true)
Set the entire layer extent dirty; this percolates up to parent layers all the way to the root layer.
Definition kis_group_layer.cpp:66
virtual KisLayerSP at(int index) const
Returns the layer at the specified index.
Definition kis_group_layer.cpp:140
virtual KisLayerSP lastChild() const
Returns the last child layer of this layer (if it supports that).
Definition kis_group_layer.cpp:135
virtual void setIndex(KisLayerSP layer, int index)
Moves the specified layer to the specified index in the group, if it's already a member of this group...
Definition kis_group_layer.cpp:154
virtual TQRect extent() const
Returns an approximation of where the bounds on actual data are in this layer.
Definition kis_group_layer.cpp:240
virtual bool removeLayer(int index)
Removes the layer at the specified index from the group.
Definition kis_group_layer.cpp:196
virtual bool paintLayerInducesProjectionOptimization(KisPaintLayer *l)
Returns if the layer will induce the projection hack (if the only layer in this group)
Definition kis_group_layer.cpp:86
virtual TQImage createThumbnail(TQ_INT32 w, TQ_INT32 h)
Returns a thumbnail in requested size.
Definition kis_group_layer.cpp:299
A paint device contains the actual pixel data and offers methods to read and write pixels.
Definition kis_paint_device.h:76
