lukast.dev at gmail.com
Thu Dec 10 23:17:00 CET 2009
On Thursday 10 December 2009 11:05:57 Dmitry Kazakov wrote:
> 1) Is there any link to read about INDEPENDENT_CANVAS?
I give you the idea of what I have done. I added private member QImage m_img
to KisQPainterCanvas and when the paint event is called with changed rect, the
rect is painted to the QImage and then the rect is updated with other QPainter
which is widget's one.
> 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?
So we would not store one global QImage but allocate small ones per paint-
More information about the kimageshop