[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: iterator offset problem
From: Bart Coppens <kde () bartcoppens ! be>
Date: 2005-03-17 21:17:26
Message-ID: 200503172217.26646.kde () bartcoppens ! be
[Download RAW message or body]
On Thursday 17 March 2005 15:14, Casper Boemann wrote:
> I just realised a place where the proposed layer offset iterator coods
> break down.
> When you make and iterator you do it with image coords
> ..but when you query the iterator's position you get device coords
> So the iterator needs to be told the position which breaks encapsulation
Well, in that patch, the pixel iterators just save a pointer to the paint
device they're constructed with. When the iterator returns a position, it
queries the paint device for the offset, so it can return the position in
image coords.
Or do you mean something else?
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