#ifdef INFINITE_CANVAS

Dmitry Kazakov dimula73 at gmail.com
Thu Dec 10 16:43:09 CET 2009


On Thu, Dec 10, 2009 at 1:29 PM, Cyrille Berger <cberger at cberger.net> wrote:

> On Thursday 10 December 2009, Dmitry Kazakov wrote:
> > 1) Is there any link to read about INDEPENDENT_CANVAS?
> >
> > 2) Well, is there any way to move painting decorations and overlay
> outside
> > of paint event? We could prepare your QImage outside paint event, and
> just
> > copy it to the widget inside paintEvent? Is this possible?
> Sure. painting decorations takes a QPainter, so we can work outside the
> paint
> event. And it is an excellent idea, the less is done in the paintEvent the
> better. And as long as we don't use a QPixmap, it is even a good idea to do
> it
> in a thread.
>

Not sure about thread (as it is too simple task for a separate thread).
I like all the rest=)

-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20091210/4e65c7ea/attachment.htm 


More information about the kimageshop mailing list