krita
KisHLineIteratorPixel Class Reference
#include <kis_iterators_pixel.h>
Inherits KisHLineIterator, and KisIteratorPixelTrait< KisHLineIterator >.
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.
Public Member Functions | |
KisHLineIteratorPixel (KisPaintDevice *ndevice, KisDataManager *dm, KisDataManager *sel_dm, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 offsetx, Q_INT32 offsety, bool writable) | |
KisHLineIteratorPixel (const KisHLineIteratorPixel &rhs) | |
KisHLineIteratorPixel & | operator= (const KisHLineIteratorPixel &rhs) |
KisHLineIteratorPixel & | operator++ () |
KisHLineIteratorPixel & | operator-- () |
void | nextRow () |
KisHLineIteratorPixel & | operator+= (int n) |
Q_INT32 | x () const |
Q_INT32 | y () const |
Q_INT32 | nConseqHPixels () const |
Protected Attributes | |
Q_INT32 | m_offsetx |
Q_INT32 | m_offsety |
Member Function Documentation
KisHLineIteratorPixel& KisHLineIteratorPixel::operator+= | ( | int | n | ) | [inline] |
Advances a number of pixels until it reaches the end of the line.
Definition at line 61 of file kis_iterators_pixel.h.
The documentation for this class was generated from the following files: