question about repainting

Boudewijn Rempt boud at valdyas.org
Sun Feb 26 13:15:35 CET 2006


On Sunday 26 February 2006 12:38, Casper Boemann wrote:
> In the transform tool I need to be able to enforce the canvas to be
> repainted . How do I do that.
>
> specifically I need to do the following:
>
> unpaint controlhandles
> do the transform
> force canvas to repaint
> paint new controlhandles

I think a combination of setDirty of the layer you transform and perhaps force 
repainting with KisView::updateCanvas or paintView -- the control handles 
you'll have to paint yourself.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060226/b35a13c3/attachment.pgp 


More information about the kimageshop mailing list