kis_iterators_pixel.h
32class KisHLineIteratorPixel : public KisHLineIterator, public KisIteratorPixelTrait <KisHLineIterator>
41 KisHLineIteratorPixel(const KisHLineIteratorPixel& rhs) : KisHLineIterator(rhs), KisIteratorPixelTrait<KisHLineIterator>(rhs)
52 inline KisHLineIteratorPixel & operator ++() { KisHLineIterator::operator++(); advance(1); return *this;}
53 inline KisHLineIteratorPixel & operator --() { KisHLineIterator::operator--(); retreat(); return *this;}
61 KisHLineIteratorPixel & operator+=(int n) { KisHLineIterator::operator+=(n); advance(n); return *this; };
82class KisVLineIteratorPixel : public KisVLineIterator, public KisIteratorPixelTrait <KisVLineIterator>
89 KisVLineIteratorPixel(const KisVLineIteratorPixel& rhs) : KisVLineIterator(rhs), KisIteratorPixelTrait<KisVLineIterator>(rhs)
99 inline KisVLineIteratorPixel & operator ++() { KisVLineIterator::operator++(); advance(1); return *this;}
115class KisRectIteratorPixel : public KisRectIterator, public KisIteratorPixelTrait <KisRectIterator>
122 KisRectIteratorPixel(const KisRectIteratorPixel& rhs) : KisRectIterator(rhs), KisIteratorPixelTrait<KisRectIterator>(rhs)
132 inline KisRectIteratorPixel & operator ++() { KisRectIterator::operator++(); advance(1); return *this;}
KisDataManager defines the interface that modules responsible for storing and retrieving data must in...
Definition kis_datamanager.h:45
The pixel iterators are high level iterarators.
Definition kis_iterators_pixel.h:33
KisHLineIteratorPixel & operator+=(int n)
Advances a number of pixels until it reaches the end of the line.
Definition kis_iterators_pixel.h:61
A paint device contains the actual pixel data and offers methods to read and write pixels.
Definition kis_paint_device.h:76
The KisRectIterator iterators over a rectangular area in the most efficient order.
Definition kis_iterator.h:41
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
TQ_INT32 nConseqPixels() const
Returns the number of consequtive pixels that we point at This is useful for optimizing.
Definition kis_iterator.cpp:51
