Easy layer access for rgb8 filters.

Casper Boemann cbr at boemann.dk
Mon Jan 17 13:27:16 CET 2005


On Monday 17 January 2005 12:46, Boudewijn Rempt wrote:
> On Monday 17 January 2005 11:57, Casper Boemann wrote:
> > Does it matter if it is a little bit larger than actual (I could change
> > to a closer fit on the expence of slower iterators). But I don't see a
> > real need for a closer fit - why is that important ?
>
> Because people don't expect their filters to work on pixels that aren't
> there. But we don't need to burden all the iterators with that, we could
> keep track of the true extent and return that when asked for it.
but the extra pixels are transparent so for the modifying filters that doesn't 
matter right ? And we can use the extent.

Where it does matter is the filling kind of filters (flood fill, gradient 
fill,etc) right ? Anyway just because you made a drawing in the topleft and 
bottom right, does that mean that user expect the bounding rectablge to be 
filled. For me filling the part of the layer that is inside the image is the 
most intuitive.

-- 
best regards
Casper Boemann


More information about the kimageshop mailing list