#include <kis_iterators_pixel.h>
Inherits KisHLineIterator, and KisIteratorPixelTrait< _iTp >.
Public Member Functions | |
| KisHLineIteratorPixel (KisPaintDevice *ndevice, KisDataManager *dm, KisDataManager *sel_dm, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 offsetx, TQ_INT32 offsety, bool writable) | |
| KisHLineIteratorPixel (const KisHLineIteratorPixel &rhs) | |
| KisHLineIteratorPixel & | operator= (const KisHLineIteratorPixel &rhs) |
| KisHLineIteratorPixel & | operator++ () |
| KisHLineIteratorPixel & | operator-- () |
| void | nextRow () |
| KisHLineIteratorPixel & | operator+= (int n) |
| TQ_INT32 | x () const |
| TQ_INT32 | y () const |
| TQ_INT32 | nConseqHPixels () const |
Protected Attributes | |
| TQ_INT32 | m_offsetx |
| TQ_INT32 | m_offsety |
Detailed Description
The pixel iterators are high level iterarators.
The lower level iterators merely return a pointer to some memory where a pixel begins; these iterators return KisPixels – high-level representations of a pixel together with color model, profile and selectedness. You can access individual channels using the KisPixel [] operator, and .
Definition at line 32 of file kis_iterators_pixel.h.
Constructor & Destructor Documentation
◆ KisHLineIteratorPixel() [1/2]
| KisHLineIteratorPixel::KisHLineIteratorPixel | ( | KisPaintDevice * | ndevice, |
| KisDataManager * | dm, | ||
| KisDataManager * | sel_dm, | ||
| TQ_INT32 | x, | ||
| TQ_INT32 | y, | ||
| TQ_INT32 | w, | ||
| TQ_INT32 | offsetx, | ||
| TQ_INT32 | offsety, | ||
| bool | writable | ||
| ) |
Definition at line 25 of file kis_iterators_pixel.cpp.
◆ KisHLineIteratorPixel() [2/2]
|
inline |
Definition at line 41 of file kis_iterators_pixel.h.
Member Function Documentation
◆ nConseqHPixels()
|
inline |
Definition at line 67 of file kis_iterators_pixel.h.
◆ nextRow()
|
inline |
Definition at line 55 of file kis_iterators_pixel.h.
◆ operator++()
|
inline |
Definition at line 52 of file kis_iterators_pixel.h.
◆ operator+=()
|
inline |
Advances a number of pixels until it reaches the end of the line.
Definition at line 61 of file kis_iterators_pixel.h.
◆ operator--()
|
inline |
Definition at line 53 of file kis_iterators_pixel.h.
◆ operator=()
|
inline |
Definition at line 44 of file kis_iterators_pixel.h.
◆ x()
|
inline |
Definition at line 63 of file kis_iterators_pixel.h.
◆ y()
|
inline |
Definition at line 65 of file kis_iterators_pixel.h.
Member Data Documentation
◆ m_offsetx
|
protected |
Definition at line 79 of file kis_iterators_pixel.h.
◆ m_offsety
|
protected |
Definition at line 79 of file kis_iterators_pixel.h.
The documentation for this class was generated from the following files:
