krita
KisHLineIteratorPixel Class Reference
#include <kis_iterators_pixel.h>
Inheritance diagram for KisHLineIteratorPixel:

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+= (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++ | ( | ) | [inline] |
Advances one pixel until it reaches the end of the line.
Reimplemented from KisHLineIterator.
Definition at line 52 of file kis_iterators_pixel.h.
KisHLineIteratorPixel& KisHLineIteratorPixel::operator+= | ( | int | n | ) | [inline] |
Advances a number of pixels until it reaches the end of the line.
Reimplemented from KisHLineIterator.
Definition at line 55 of file kis_iterators_pixel.h.
Q_INT32 KisHLineIteratorPixel::x | ( | ) | const [inline] |
current x position
Reimplemented from KisHLineIterator.
Definition at line 57 of file kis_iterators_pixel.h.
Q_INT32 KisHLineIteratorPixel::y | ( | ) | const [inline] |
current y position
Reimplemented from KisHLineIterator.
Definition at line 59 of file kis_iterators_pixel.h.
Q_INT32 KisHLineIteratorPixel::nConseqHPixels | ( | ) | const [inline] |
Returns the number of consequtive horizontal pixels that we point at This is useful for optimizing.
Reimplemented from KisHLineIterator.
Definition at line 61 of file kis_iterators_pixel.h.
The documentation for this class was generated from the following files: