kis_fill_painter.h
76 void fillRect(TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h, const KisColor& c, TQ_UINT8 opacity);
KisColorSpace * getRGB8()
Convenience method to get an RGB colorspace with the default lcms profile.
Definition kis_colorspace_factory_registry.cpp:217
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
bool careForSelection() const
If true, floodfill doesn't fill outside the selected area of a layer.
Definition kis_fill_painter.h:130
void setFillThreshold(int threshold)
Set the threshold for floodfill.
Definition kis_fill_painter.h:201
int fillThreshold() const
Returns the fill threshold, see setFillThreshold for details.
Definition kis_fill_painter.h:115
void eraseRect(TQ_INT32 x1, TQ_INT32 y1, TQ_INT32 w, TQ_INT32 h)
Fill a rectangle with black transparent pixels (0, 0, 0, 0 for RGBA).
Definition kis_fill_painter.h:173
bool sampleMerged() const
If sample merged is set to true, the paint device will get the bounds of the floodfill from the compl...
Definition kis_fill_painter.h:125
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
KisPainter contains the graphics primitives necessary to draw on a KisPaintDevice.
Definition kis_painter.h:56
