|
| | ImageData () |
| |
| | ImageData (int _imageWidth, int _imageHeight, int _pixelSize) |
| |
| | ImageData (KisPaintDeviceSP imageDev, const QRect &imageSize) |
| |
| void | Init (int _imageWidth, int _imageHeight, int _pixelSize) |
| |
| void | Init (KisPaintDeviceSP imageDev, const QRect &imageSize) |
| |
| | ~ImageData () override |
| |
| quint8 * | data (void) const |
| |
| void | DebugDump (const QString &fnamePrefix) |
| |
| | ImageView () |
| |
| | ImageView (quint8 *_data, int _imageWidth, int _imageHeight, int _pixelSize) |
| |
| void | Init (quint8 *_data, int _imageWidth, int _imageHeight, int _pixelSize) |
| |
| int | num_bytes (void) const |
| |
| int | num_elements (void) const |
| |
| quint8 * | operator() (int x, int y) const |
| |
| ImageView & | operator= (const ImageView &other) |
| |
| ImageView & | operator= (ImageView &&other) noexcept |
| |
| int | pixel_size (void) const |
| |
| void | saveToDevice (KisPaintDeviceSP outDev, QRect rect) |
| |
| virtual | ~ImageView () |
| |
Definition at line 158 of file kis_inpaint.cpp.
◆ ImageData() [1/3]
◆ ImageData() [2/3]
| ImageData::ImageData |
( |
int | _imageWidth, |
|
|
int | _imageHeight, |
|
|
int | _pixelSize ) |
|
inline |
Definition at line 170 of file kis_inpaint.cpp.
171 {
172 Init(_imageWidth, _imageHeight, _pixelSize);
173 }
void Init(int _imageWidth, int _imageHeight, int _pixelSize)
References Init().
◆ ImageData() [3/3]
◆ ~ImageData()
| ImageData::~ImageData |
( |
| ) |
|
|
inlineoverride |
◆ Init() [1/2]
| void ImageData::Init |
( |
int | _imageWidth, |
|
|
int | _imageHeight, |
|
|
int | _pixelSize ) |
|
inline |
◆ Init() [2/2]
Definition at line 175 of file kis_inpaint.cpp.
176 {
179
180 m_data =
new quint8[ imageSize.width()*imageSize.height()*cs->
pixelSize() ];
181 imageDev->
readBytes(
m_data, imageSize.x(), imageSize.y(), imageSize.width(), imageSize.height());
183 }
const KoColorSpace * colorSpace() const
void readBytes(quint8 *data, qint32 x, qint32 y, qint32 w, qint32 h) const
virtual quint32 pixelSize() const =0
References KisPaintDevice::colorSpace(), ImageView::Init(), ImageView::m_data, ImageView::m_pixelSize, KoColorSpace::pixelSize(), and KisPaintDevice::readBytes().
The documentation for this class was generated from the following file: