exactBounds
Casper Boemann
cbr at boemann.dk
Wed Jul 18 15:55:09 CEST 2007
On Wednesday 18 July 2007 13:33, Sven Langkamp wrote:
> In bltMask there is:
> srcRect &= selMask->exactBounds();
>
> I think this should be:
> if(selMask datamanager defaultpixel == select min)
> srcRect &= selMask->exactBounds();
sounds correct
> What's equivalent to SELECT_MIN in a normal paintdevice?
There is none - it's up to the color space to know and interpret
> Also I want to add a method isInfinite() to KisSelection, which
> returns true if the defaultpixel is SELECT_MAX.
good except it should return true if defaultPixel is != SELECT_MIN
--
best regards / venlig hilsen
Casper Boemann
More information about the kimageshop
mailing list