[calligra] krita/image: Added KisPainter::fill(...) method to fill a rectangular region with one color.

Silvio Heinrich plassy at web.de
Sat Mar 26 22:06:09 CET 2011


On 03/26/2011 10:00 PM, Dmitry Kazakov wrote:
> Hi, Silvio!
> I'm not sure this is a good idea to use read/writeBytes here as it 
> leads to huge memory allocations. We are trying to avoid using 
> read/writeBytes everywhere we can. I guess, it would be safer to use 
> per-tile composition like it is done in e.g. bitBlt (KisPaintDevice 
> version).
>
>
> -- 
> Dmitry Kazakov

Oh, ok.
Didn't know that. I'll try to do it like in bitBlt(...)
Will have a look :)


More information about the kimageshop mailing list