6#ifndef LIBKIS_SELECTION_H
7#define LIBKIS_SELECTION_H
11#include "kritalibkis_export.h"
81 void move(
int x,
int y);
92 void contract(
int value);
98 void copy(
Node *node);
104 void cut(
Node *node);
113 void paste(
Node *destination,
int x,
int y);
128 void border(
int xRadius,
int yRadius);
133 void feather(
int radius);
138 void grow(
int xradius,
int yradius);
143 void shrink(
int xRadius,
int yRadius,
bool edgeLock);
158 void resize(
int w,
int h);
164 void select(
int x,
int y,
int w,
int h,
int value);
195 void symmetricdifference(
Selection *selection);
213 QByteArray pixelData(
int x,
int y,
int w,
int h)
const;
228 void setPixelData(QByteArray
value,
int x,
int y,
int w,
int h);
float value(const T *src, size_t ch)
bool operator==(const KisRegion &lhs, const KisRegion &rhs)
bool operator!=(const KoID &v1, const KoID &v2)
The FillLayer class A fill layer is much like a filter layer in that it takes a name and filter....
The FilterLayer class A filter layer will, when compositing, take the composited image up to the poin...
The FilterMask class A filter mask, unlike a filter layer, will add a non-destructive filter to the c...
The SelectionMask class A selection mask is a mask type node that can be used to store selections....
The TransparencyMask class A transparency mask is a mask type node that can be used to show and hide ...