[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: koffice/krita/image
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2010-06-29 11:39:24
Message-ID: 201006291638.34958.boud () valdyas ! org
[Download RAW message or body]
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
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic