Commit ef12de13 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Implement overlay mode for mask-based color smudge strategies

parent d62f0ca9
......@@ -51,6 +51,10 @@ void KisFixedPaintDevice::setRect(const QRect& rc)
m_bounds = rc;
}
void KisFixedPaintDevice::setColorSpace(const KoColorSpace *cs)
{
m_colorSpace = cs;
}
QRect KisFixedPaintDevice::bounds() const
{
......
......@@ -52,6 +52,13 @@ public:
*/
void setRect(const QRect& rc);
/**
* setColorSpace reassigns the color space of the paint device
* **without** converting or reallocating the buffer. One needs
* to update the buffer manually after that.
*/
void setColorSpace(const KoColorSpace *cs);
/**
* @return the rect that the data represents
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment