Krita
Selection.h
101 * @brief cut erases the area defined by the selection from the node and puts a copy on the clipboard.
void move(int x, int y)
Move the selection's top-left corner to the given coordinates.
Definition Selection.cpp:94
void resize(int w, int h)
Resize the selection to the given width and height.
Definition Selection.cpp:249
void cut(Node *node)
cut erases the area defined by the selection from the node and puts a copy on the clipboard.
Definition Selection.cpp:154
void intersect(Selection *selection)
Intersect the given selection with this selection.
Definition Selection.cpp:285
void copy(Node *node)
copy copies the area defined by the selection from the node to the clipboard.
Definition Selection.cpp:113
Selection(KisSelectionSP selection, QObject *parent=0)
For internal use only.
Definition Selection.cpp:26
void paste(Node *destination, int x, int y)
paste pastes the content of the clipboard to the given node, limited by the area of the current selec...
Definition Selection.cpp:166
void selectAll(Node *node, int value)
Select all pixels in the given node.
Definition Selection.cpp:261
void contract(int value)
Make the selection's width and height smaller by the given value.
Definition Selection.cpp:107
void shrink(int xRadius, int yRadius, bool edgeLock)
Shrink the selection with the given radius.
Definition Selection.cpp:224
void subtract(Selection *selection)
Subtract the given selection's selected pixels from the current selection.
Definition Selection.cpp:279
void setPixelData(QByteArray value, int x, int y, int w, int h)
setPixelData writes the given bytes, of which there must be enough, into the Selection.
Definition Selection.cpp:310
void border(int xRadius, int yRadius)
Border the selection with the given radius.
Definition Selection.cpp:199
QByteArray pixelData(int x, int y, int w, int h) const
pixelData reads the given rectangle from the Selection's mask and returns it as a byte array.
Definition Selection.cpp:298
void grow(int xradius, int yradius)
Grow the selection with the given radius.
Definition Selection.cpp:215
void add(Selection *selection)
Add the given selection's selected pixels to the current selection.
Definition Selection.cpp:273
void select(int x, int y, int w, int h, int value)
Select the given area.
Definition Selection.cpp:255
void replace(Selection *selection)
Replace the current selection's selection with the one of the given selection.
Definition Selection.cpp:267
void symmetricdifference(Selection *selection)
Intersect with the inverse of the given selection with this selection.
Definition Selection.cpp:291
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.