boud at valdyas.org
Tue Jun 29 15:38:33 CEST 2010
On Tuesday 29 June 2010, Dmitry Kazakov wrote:
> > Wouldn't it have been nicer api to have something like:
> > KisPaintDeviceSP tempDevice =
> > originalDevice->createClone(interestedRect);
> The point of this method is that we do not have to create a new device, so
> we do not need to allocate 12KiB of memory every time, but we can use an
> existing one.
Ah, cool. I get it now.
> I wanted to create a separate class for temporaries, like
> KisTemporaryPaintDevice, but Lukas didn't like this idea.
I'm ambivalent about this idea...
Boudewijn Rempt | http://www.valdyas.org
More information about the kimageshop