kis_selection.h
106 void paintSelection(TQImage img, const TQRect& scaledImageRect, const TQSize& scaledImageSize, const TQSize& imageSize);
KisPaintDevice(KisColorSpace *colorSpace, const char *name=0)
Create a new paint device with the specified colorspace.
Definition kis_paint_device.cpp:204
virtual void setDirty()
Set the parent layer completely dirty, if this paint device has one.
Definition kis_paint_device.cpp:361
virtual void extent(TQ_INT32 &x, TQ_INT32 &y, TQ_INT32 &w, TQ_INT32 &h) const
Retrieve the bounds of the paint device.
Definition kis_paint_device.cpp:409
virtual void exactBounds(TQ_INT32 &x, TQ_INT32 &y, TQ_INT32 &w, TQ_INT32 &h) const
Get the exact bounds of this paint device.
Definition kis_paint_device.cpp:433
TQRect selectedRect() const
Rough, but fastish way of determining the area of the tiles used by the selection.
Definition kis_selection.cpp:169
TQRect selectedExactRect() const
Slow, but exact way of determining the rectangle that encloses the selection.
Definition kis_selection.cpp:177
bool isTotallyUnselected(TQRect r)
Tests if the the rect is totally outside the selection.
Definition kis_selection.cpp:152
bool isProbablyTotallyUnselected(TQRect r)
Tests if the the rect is totally outside the selection, but uses selectedRect instead of selectedRect...
Definition kis_selection.cpp:160
