[Qt-interest] qsvg
Peng Shaoxi
shaoxi.peng at gmail.com
Thu Feb 12 08:43:01 CET 2009
Refer to this post: http://zrusin.blogspot.com/2006/08/svg-on-graphicsview.html
On Thu, Feb 12, 2009 at 9:19 AM, <qt at tonyobryan.com> wrote:
> I'm trying to use the QSvg classes, but can't figure out an easy to way to
> accomplish what I'm after. I'm making a card game using KDE's card decks,
> which are compressed SVG files. For simplicity, I'm decompressing the card
> deck ahead of time, so I just have the plain XML files to load.
>
> I can load the entire file into a single widget, but I can't see an easy way
> to isolate individual cards. It seems that Qt's SVG support is all or
> nothing, and that it doesn't have a way to display just one image from a
> multi-image SVG file.
>
> Am I missing something? Does Qt provide a way for me to selectively render
> arbitrary images from an SVG file that contains multiple images?
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
More information about the Qt-interest-old
mailing list