kis_color.h
A colorspace is the definition of a certain color model in Chalk.
Definition kis_colorspace.h:58
virtual KisProfile * getProfile() const =0
Return the profile of this color space.
void toTQColor(TQColor *c) const
To save the user the trouble of doing color->colorSpace()->toTQColor(color->data(),...
Definition kis_color.cpp:132
KisColor()
Create an empty KisColor. It will be valid, but also black and transparent.
Definition kis_color.cpp:27
void convertTo(KisColorSpace *cs)
Convert this KisColor to the specified colorspace.
Definition kis_color.cpp:104
void setColor(TQ_UINT8 *data, KisColorSpace *colorSpace=0)
Replace the existing color data, and colorspace with the specified data.
Definition kis_color.cpp:123
