krita
KisRectIterator Class Reference
#include <kis_iterator.h>
Inheritance diagram for KisRectIterator:

Detailed Description
The KisRectIterator iterators over a rectangular area in the most efficient order.That is, there is no guarantee that the iterator will work scanline by scanline.
Definition at line 40 of file kis_iterator.h.
Public Member Functions | |
KisRectIterator (KisDataManager *dm, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h, bool writable) | |
virtual | ~KisRectIterator () |
KisRectIterator (const KisRectIterator &rhs) | |
KisRectIterator & | operator= (const KisRectIterator &rhs) |
Q_UINT8 * | rawData () const |
const Q_UINT8 * | oldRawData () const |
Q_INT32 | nConseqPixels () const |
KisRectIterator & | operator+= (int n) |
KisRectIterator & | operator++ () |
bool | isDone () const |
Q_INT32 | x () const |
Q_INT32 | y () const |
Member Function Documentation
|
returns true when iterators has reached the end
Definition at line 57 of file kis_iterator.cc. |
|
Returns the number of consequtive pixels that we point at This is useful for optimizing.
Definition at line 51 of file kis_iterator.cc. |
|
Returns a pointer to the pixel data as it was at the moment of the last memento creation.
Definition at line 49 of file kis_iterator.cc. |
|
Advances one pixel going to the beginning of the next line when it reaches the end of a line.
Reimplemented in KisRectIteratorPixel. Definition at line 55 of file kis_iterator.cc. |
|
Advances a number of pixels until it reaches the end of the rect.
Definition at line 53 of file kis_iterator.cc. |
|
returns a pointer to the pixel data. Do NOT interpret the data - leave that to a colorstrategy
Definition at line 47 of file kis_iterator.cc. |
The documentation for this class was generated from the following files: