[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: JavaScript API: Manipulate elements of a PlasmaSvg
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2010-02-24 14:45:34
Message-ID: 201002240645.35947.aseigo () kde ! org
[Download RAW message or body]
On February 24, 2010, Liebe Markus (RtP2/TEF72) wrote:
> In the svg file there is a text element:
> <text id="textitem" ... >mytext</text>
>
> Is it somehow possible to access this textitem and set/change its value
> using the Plasma Javascript API?
the only way to do this currently (in c++ or any other language) is to paint
the text manually into the bounding box defined by the textitem element.
as Marco noted already, this is a limitation of QSvgRenderer.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic