koffice/krita/core

Casper Boemann cbr at boemann.dk
Mon Mar 28 15:39:01 CEST 2005


On Monday 28 March 2005 15:14, Boudewijn Rempt wrote:
> CVS commit by rempt:
>
> * Added a setExactBounds method that returns the smallest dimenstions
> of the image that contains all the non-null pixels (ie, those filled
> with nothing but zeroes).
> * This fixes mirroring :-).
>

Great I needed the exactBounds function as well :-)

regarding mirroring: was that function really needed? I would have thought 
taking the layeroffset and image dimensions and calculating a new layeroffset 
would be enough.

-- 
best regards / venlig hilsen
Casper Boemann


More information about the kimageshop mailing list