Krita
ColorizeMask.cpp
105QByteArray ColorizeMask::keyStrokePixelData(ManagedColor* color, int x, int y, int w, int h) const
130bool ColorizeMask::setKeyStrokePixelData(QByteArray value, ManagedColor* color, int x, int y, int w, int h)
QByteArray keyStrokePixelData(ManagedColor *color, int x, int y, int w, int h) const
keyStrokePixelData reads the given rectangle from the keystroke image data and returns it as a byte a...
Definition ColorizeMask.cpp:105
void setEditKeyStrokes(bool enabled)
setEditKeyStrokes Toggle Colorize Mask's edit keystrokes mode.
Definition ColorizeMask.cpp:263
bool showOutput() const
showOutput Show output mode allows the user to see the result of the Colorize Mask's algorithm.
Definition ColorizeMask.cpp:247
bool editKeyStrokes() const
editKeyStrokes Edit keystrokes mode allows the user to modify keystrokes on the active Colorize Mask.
Definition ColorizeMask.cpp:271
void setEdgeDetectionSize(qreal value)
setEdgeDetectionSize Set the value to the thinnest line on the image.
Definition ColorizeMask.cpp:171
int transparencyIndex() const
transparencyIndex Index of the transparent color.
Definition ColorizeMask.cpp:88
void setShowOutput(bool enabled)
setShowOutput Toggle Colorize Mask's show output mode.
Definition ColorizeMask.cpp:239
void setCleanUpAmount(qreal value)
setCleanUpAmount This will attempt to handle messy strokes that overlap the line art where they shoul...
Definition ColorizeMask.cpp:187
QList< ManagedColor * > keyStrokesColors() const
keyStrokesColors Colors used in the Colorize Mask's keystrokes.
Definition ColorizeMask.cpp:38
bool setKeyStrokePixelData(QByteArray value, ManagedColor *color, int x, int y, int w, int h)
setKeyStrokePixelData writes the given bytes, of which there must be enough, into the keystroke,...
Definition ColorizeMask.cpp:130
void setLimitToDeviceBounds(bool value)
setLimitToDeviceBounds Limit the colorize mask to the combined layer bounds of the strokes and the li...
Definition ColorizeMask.cpp:203
void updateMask(bool force=false)
updateMask Process the Colorize Mask's keystrokes and generate a projection of the computed colors.
Definition ColorizeMask.cpp:219
void setUseEdgeDetection(bool value)
setUseEdgeDetection Activate this for line art with large solid areas, for example shadows on an obje...
Definition ColorizeMask.cpp:155
void initializeKeyStrokeColors(QList< ManagedColor * > colors, int transparentIndex=-1)
initializeKeyStrokeColors Set the colors to use for the Colorize Mask's keystrokes.
Definition ColorizeMask.cpp:51
virtual QString type() const override
type Krita has several types of nodes, split in layers and masks.
Definition ColorizeMask.cpp:287
void removeKeyStroke(ManagedColor *color)
removeKeyStroke Remove a color from the Colorize Mask's keystrokes.
Definition ColorizeMask.cpp:96
The ManagedColor class is a class to handle colors that are color managed.
Definition ManagedColor.h:46
QString name(GameStandardAction id)
const char * constData() const const
char * data()
qsizetype length() const const
void resize(qsizetype newSize, char c)
void append(QList< T > &&value)
qsizetype size() const const
T qobject_cast(QObject *object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.