exactBounds

Sven Langkamp sven.langkamp at gmail.com
Tue Jul 17 23:02:11 CEST 2007


On 7/17/07, Casper Boemann <cbr at boemann.dk> wrote:
> On Tuesday 17 July 2007 21:06, Sven Langkamp wrote:
> > On 7/17/07, Casper Boemann <cbr at boemann.dk> wrote:
> when you select all you have an infinite selection ( implemented by setting
> the default pixel of the selection)
>
> please note we are talking of two different concepts: size and extent
>
> The size doesn't change when you fill - it's infinite in both cases
>
> but the extent (ie selectedExactRect()) does change as now you have messed
> with a lot of pixels
>
> it's needed because we want to know the rect that specifies where there are
> actual pixels that needs our attention.

Ok, I have reverted the change, so fill is broken again.
I still don't understand why the unite is needed.


More information about the kimageshop mailing list