[Qt-interest] Changing color in SVG

Chitrang Srivastava chitrang.srivastava at gmail.com
Thu Mar 3 14:34:35 CET 2011


Thanks,
will try that out.
Would the effect would be a smooth transition, I was thinking may be QT SVG
module could has some support for this.

-chits

On Thu, Mar 3, 2011 at 6:54 PM, Konstantin Tokarev <annulen at yandex.ru>wrote:

>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110303/b34c4093/attachment.html 


More information about the Qt-interest-old mailing list