[Ktechlab-devel] using SVGs
Julian Bäume
julian at svg4all.de
Wed Nov 18 14:45:58 UTC 2009
On Tuesday 17 November 2009 13:57:17 Zoltan Padrah wrote:
> Sounds good.
>
> Just a note about the voltage/current visualization: considering the fact
> that the rectangles displaying the voltages will be redrawn many times per
> second, we should consider there the drawing performance. Maybe a simple
> class showing only that rectangle could be useful.
Good point. A QGraphicsScene is composed of many QGraphicsItems. The scene
keeps track of visible items and if an item notifies the scene, that it's been
updated, the region around the item will be repainted. This is done in an
efficient way, so I don't see any problems here. The framework is specially
designed with this use-case in mind.
bye then
julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20091118/4ef2c357/attachment.sig>
More information about the Ktechlab-devel
mailing list