Decrement operators

Boudewijn Rempt boud at valdyas.org
Thu Apr 21 21:37:59 CEST 2005


On Thursday 21 April 2005 20:46, Boudewijn Rempt wrote:
> On Thursday 21 April 2005 20:27, Casper Boemann wrote:
> > On Thursday 21 April 2005 19:34, Boudewijn Rempt wrote:
> > > How do the decrement operators for iterators work? Should I create the
> > > iterator with x > width, or as normal?
> >
> > create as normal then first +=width
> >
> > and then walk backwards
>
> Ah, okay -- that should fix the walking into infinity problem I was having.
> Thanks!

The isDone() doesn't seem to work yet, but I can easily work around that. I'm 
nearly done with the rotation work now...

-- 
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/20050421/1214c5d4/attachment.pgp


More information about the kimageshop mailing list