KisHLineIterator

Michael Thaler michael.thaler at physik.tu-muenchen.de
Tue Jun 28 09:40:35 CEST 2005


Hello,

I have a question to the KisHLineIterator class:

To create a KisHLineIterator I use the following method from KisPaintDevice:

KisHLineIteratorPixel KisPaintDevice::createHLineIterator 
( Q_INT32 x, Q_INT32 y, Q_INT32 w, bool writable )

What does x and w exactly mean here? Does it mean that the iterator starts at 
x? Does it mean that isDone() returns true when I am at x + w?

Is the iterator faster when I set writeable to false?

Greetings,
Michael

 


More information about the kimageshop mailing list