KisHLineIterator
Boudewijn Rempt
boud at valdyas.org
Tue Jun 28 09:46:36 CEST 2005
On Tuesday 28 June 2005 09:40, Michael Thaler wrote:
> 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?
Yes.
>
> Is the iterator faster when I set writeable to false?
I think so; no undo information is generated in that case.
--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050628/666fca42/attachment.pgp
More information about the kimageshop
mailing list