Repaint strategy for 2.0
Thomas Zander
zander at kde.org
Tue May 23 21:25:16 CEST 2006
On Tuesday 23 May 2006 21:22, Boudewijn Rempt wrote:
> Bright ideas? I was thinking of painting onto a QImage and having the
> canvas widgets hold a reference to that -- but there must be a better
> way. And perhaps we should take the jump and redesign the whole thing
> aroung the Qt4 way of doing?
I think the flake way of doing things are the most correct.
This involves calling update with the right cliprect whenever something
needs to be repainted.
The paint method will then paint everything thats needed to be painted.
--
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060523/ffe8bcca/attachment.pgp
More information about the kimageshop
mailing list