krita
KisHLineIterator Class Reference
Inheritance diagram for KisHLineIterator:

Detailed Description
Definition at line 84 of file kis_iterator.h.
Public Member Functions | |
KisHLineIterator (KisDataManager *dm, Q_INT32 x, Q_INT32 y, Q_INT32 w, bool writable) | |
virtual | ~KisHLineIterator () |
KisHLineIterator (const KisHLineIterator &rhs) | |
KisHLineIterator & | operator= (const KisHLineIterator &rhs) |
Q_UINT8 * | rawData () const |
const Q_UINT8 * | oldRawData () const |
KisHLineIterator & | operator++ () |
Q_INT32 | nConseqHPixels () const |
KisHLineIterator & | operator+= (int n) |
KisHLineIterator & | operator-- () |
bool | isDone () const |
Q_INT32 | x () const |
Q_INT32 | y () const |
void | nextRow () |
Member Function Documentation
Q_UINT8 * KisHLineIterator::rawData | ( | ) | const |
Returns a pointer to the pixel data. Do NOT interpret the data - leave that to a colorstrategy.
Definition at line 85 of file kis_iterator.cc.
const Q_UINT8 * KisHLineIterator::oldRawData | ( | ) | const |
Returns a pointer to the pixel data as it was at the moment of the last memento creation.
Definition at line 90 of file kis_iterator.cc.
KisHLineIterator & KisHLineIterator::operator++ | ( | ) |
Advances one pixel until it reaches the end of the line.
Reimplemented in KisHLineIteratorPixel.
Definition at line 92 of file kis_iterator.cc.
Q_INT32 KisHLineIterator::nConseqHPixels | ( | ) | const |
Returns the number of consequtive horizontal pixels that we point at This is useful for optimizing.
Reimplemented in KisHLineIteratorPixel.
Definition at line 94 of file kis_iterator.cc.
KisHLineIterator & KisHLineIterator::operator+= | ( | int | n | ) |
Advances a number of pixels until it reaches the end of the line.
Reimplemented in KisHLineIteratorPixel.
Definition at line 96 of file kis_iterator.cc.
KisHLineIterator & KisHLineIterator::operator-- | ( | ) |
Goes back one pixel until it reaches the beginning of the line.
Definition at line 98 of file kis_iterator.cc.
bool KisHLineIterator::isDone | ( | ) | const |
Q_INT32 KisHLineIterator::x | ( | ) | const |
current x position
Reimplemented in KisHLineIteratorPixel.
Definition at line 102 of file kis_iterator.cc.
Q_INT32 KisHLineIterator::y | ( | ) | const |
current y position
Reimplemented in KisHLineIteratorPixel.
Definition at line 104 of file kis_iterator.cc.
void KisHLineIterator::nextRow | ( | ) |
increment to the next row and rewind to the begining
Definition at line 106 of file kis_iterator.cc.
The documentation for this class was generated from the following files: