QRegion

Cyrille Berger cberger at cberger.net
Mon Jun 4 21:41:22 CEST 2007


On Monday 04 June 2007, Boudewijn Rempt wrote:
> If I profile, btw, I get lots and lots and lots of hits for exactBounds()
> -- we really need to figure out how to stop running four iterators to find
> the exact bounds of a paintdevice.

Maybe, using the dirty rect (region) as an hint ? I mean for each call to 
setDirty we get an idea of the extend. The problem is if the dirty rect is 
badly set and when pixels are made transparent.

-- 
Cyrille Berger


More information about the kimageshop mailing list