How can I load and render SVG in MFC environment?

netformx
netformx used Ask the Experts™
on
Hi,

We are looking for a component which loads and renders SVG file in MFC environment.
The component should NOT be a freeware.

Any suggestions?

Thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Graphics Expert
Commented:
Probably there is no such component.
MFC is from the time of Win32; SVG is a standard created some years later. MFC targets the Windows environment in the desktop, SVG instead targets the web, requiring a browser.

Another issue in this subject: SVG comes from the w3, it is an open standard, it is an open language and MFC is propertary environment. Difficult to find a non-open application/library to support an open language.

Very different and conflitant paradigms, althought the SVG markup language has some similarities to HPGL (the language for vector plotters) and to Windows Metafile.

Actually, SVG describes vectors and properties which can be converted to Windows GDI functions (actually GDI supports much more features than SVG).

As far I am understanding, what you look for is a SVG interpreter and MFC component to render the image in the Windows desktop. The development of such interpreter and the translation to WMF or pure GDI functions is a VERY HARD work. The experiences we heard around are deceptive. I believe no one will be interested in to develop a paid library to compete with a lot of browser solutions (like the excellent Corel SVG renderer).

I'd like to point the desired MFC component, but my guess is: there is no such component.

Jose

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial