How does Inkscape render SVG so completely?

Asked by Leroy Casterline on 2018-12-31

I am trying to render SVG to a WPF control. Since this is for a charity project (I need something free), and I have been unable to find anything that comes close to Inkscape WRT SVG rendering, I thought I'd look into using what Inkscape uses.

From my reading, I believe Inkscape uses librsvg and cairo to render SVG. Can I render SVG as accurately as Inkscape does merely by using librsvg and cairo? I know there are .Net versions of these libs but I don't what to write an app using them just to find out that Inkscape uses its own routines for this.

Thanks for your help!

Question information

English Edit question
Inkscape Edit question
No assignee Edit question
Last query:
Last reply:
Hachmann (marenhachmann) said : #1

I think this question will best be asked on the Inkscape developer mailing list:

Leroy Casterline (casterle) said : #2

Thanks for the suggestion.

Mc (mc...) said : #3

Except for some filters, we use the cairo library for rendering.

Mc (mc...) said : #4

(thus you will obtain the same results as in Inkscape when using cairo)

Leroy Casterline (casterle) said : #5

I'm wondering about the "except for some filters" part of your answer. This may be why I'm seeing better results with Inkscape than with other apps that use libsrvg and cairo.

Are these filters contained in another library that I could include?

Launchpad Janitor (janitor) said : #6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.