Plasma::Svg question

Toussis Manolis manolis at koppermind.homelinux.org
Wed Oct 8 20:22:36 CEST 2008


On Wednesday 08 October 2008 19:06:38 Marco Martin wrote:
> On Wednesday 08 October 2008, Toussis Manolis wrote:
> > it's an applet that gets painted every 10 o more seconds.
> > So I think setOpacity isn't so expensive. (and ofcourse much easier)
> > Any problem with that? (I mean the refresh is very sparse)
>
> problem is that the applet won't get repainted only when it asks explicitly
> but also when is dragged, overlapped with another, handle appearing and
> similar events.
Didn't thought of that, thanks for the tip. :-)


> if the part you want composed really won't change in a 10 seconds time you
> can paint with the method you want a pixmap, caching it and then in
> paintinterface just paint the pixmap if has data still valid
>
> Cheers,
> Marco Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20081008/7722b469/attachment-0001.htm 


More information about the Plasma-devel mailing list