[Qt-interest] Changing color in SVG

Konstantin Tokarev annulen at yandex.ru
Thu Mar 3 14:24:43 CET 2011



03.03.2011, 15:01, "Chitrang Srivastava" <chitrang.srivastava at gmail.com>:
> Hi,
>
> I have a SVG file which contains some text. I want to change the color of that text on some user action.Is this possible i.e. "Changing color of text inside SVG file when it is already loaded by an application".?

You can load your SVG as XML document (e.g. using QDomDocument), modify it, and then render it once again.


-- 
Regards,
Konstantin



More information about the Qt-interest-old mailing list