[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: question about repainting
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2006-02-26 12:15:35
Message-ID: 200602261315.37656.boud () valdyas ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

[Attachment #5 (application/pgp-signature)]

_______________________________________________
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