kis_iterator.h
45 KisRectIterator ( KisDataManager *dm, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h, bool writable);
KisDataManager defines the interface that modules responsible for storing and retrieving data must in...
Definition kis_datamanager.h:45
The KisRectIterator iterators over a rectangular area in the most efficient order.
Definition kis_iterator.h:41
TQ_UINT8 * rawData() const
returns a pointer to the pixel data. Do NOT interpret the data - leave that to a colorstrategy
Definition kis_iterator.cpp:47
KisRectIterator & operator++()
Advances one pixel going to the beginning of the next line when it reaches the end of a line.
Definition kis_iterator.cpp:55
const TQ_UINT8 * oldRawData() const
Returns a pointer to the pixel data as it was at the moment of the last memento creation.
Definition kis_iterator.cpp:49
KisRectIterator & operator+=(int n)
Advances a number of pixels until it reaches the end of the rect.
Definition kis_iterator.cpp:53
TQ_INT32 nConseqPixels() const
Returns the number of consequtive pixels that we point at This is useful for optimizing.
Definition kis_iterator.cpp:51
