KisColor

Boudewijn Rempt boud at valdyas.org
Thu Jun 16 21:10:45 CEST 2005


On Thursday 16 June 2005 21:07, Casper Boemann wrote:
> On Thursday 16 June 2005 20:52, Boudewijn Rempt wrote:
> > On Thursday 16 June 2005 20:49, Casper Boemann wrote:
> > > You shouldn't do that. Iirc it's assumed in more than one place that
> > > canvas defaultpixels are transparent pixels.
> >
> > Hm... It's a nice optimization for working on big canvases, though. Maybe
> > we should look for the places where that assumption is made and assess
> > them.
>
> it everywhere
>
> Each time you use extent() you assume that you get the rect that is
> painted.
>
> But with the hack you are effectively painting outside the extent.
>
> And updating the extent to inifinity is not an option. It was hard enough
> as it is with selection.
>
> So I'm afraid that it's a big thing

So that will likely explain the extremely slow fill then. Okay, I'll change it 
back immediately.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050616/df4946c2/attachment-0001.pgp


More information about the kimageshop mailing list