[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Autolayers & datamanager
From: Bart Coppens <kde () bartcoppens ! be>
Date: 2004-12-24 13:53:16
Message-ID: 1103896396.41cc1f4c944c3 () webmail ! exploit ! be
[Download RAW message or body]
Quoting Casper Boemann <cbr@boemann.dk>:
> Bart has developed a infinite iterator. I have outcommented it (It wasn't
> really used much), but the underlying idea is good. However my intention is
> to have an infinite paint_device instead to do the same job. Perhabs, you
> Bart could come with some insights as to how to go about this. This
> inifinite paint_device would also be useful as a replacement (or rather
> underlying structure) for the KisBackground.
The only use of the infinite iterator is, as far as I know, the floodfill
code, where it is used to fill an area with a pattern. The workings of it are
very simple: it checks if it tries iterating over the boundaries of the
underlying device, and resets the current position accordingly.
If this infinite paint_device would act the same way, it could probably just
use the same idea of resetting the position when accessing positions that are
outside the 'real' image boundaries.
Bart Coppens
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic