Jump to content
  • Advertisement
Sign in to follow this  
C-Junkie

wxWidgets and SVG

This topic is 5046 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm starting to design an app that I'd like to have run on both GNOME and OS X. (other platforms an unexpected bonus) I've looked at wxWidgets and it's got (beta?) Cocoa support coming out on december 1 (hopefully). I think I am about to finally go learn to use wx stuff, BUT I need some serious SVG support. I'm not sure wx provides it, but before I start including librsvg into this project, I'd like to make sure. (I'd also like to know what kind of support wx has for being given rendered images directly in memory, if I have to use librsvg directly) Google isn't much help here. I've seen allusions to SVG support in several places, but none of the docs mention it. (afaict)

Share this post


Link to post
Share on other sites
Advertisement
You could use ImageMagick which supports SVG (though how completely I'm not sure). It uses freetype2 and libxml2 which are both available for all three major platforms.

Share this post


Link to post
Share on other sites
hmm.

librsvg depends on GDK and GLIB, which is fine for gnome, but not so much for OS X.

There is no OS X native port of GTK, so chinging toolkits is out, which means I need a different rendering library.

Any suggestions?

Share this post


Link to post
Share on other sites
Quote:
Original post by petewood
You could use ImageMagick which supports SVG (though how completely I'm not sure). It uses freetype2 and libxml2 which are both available for all three major platforms.
(this appeared after my last post)

It seems a bit heavyweight. I'd really prefer a lightweight library...

Share this post


Link to post
Share on other sites
There's libsvg, which is part of Cairo, but other than that I don't know of any except librsvg. I don't think libsvg and Cario are far enough along to use in any sort of production environment, but they may be worth a look.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!