[cairo] more svg to cairo stuff

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Wed Nov 7 14:05:27 PST 2007


Le mercredi 07 novembre 2007 à 23:50 +0200, Donn a écrit :
> > No idea. Do you get correct results if you simple emit the coordinates,
> > without parsing them for the SVG file?
> Am trying to grok it now. I don't think the 6 numbers (after a C) are the same 
> as the 6 numbers cairo uses in the curve_to() command.

They should be the same.

See here: http://www.w3.org/TR/SVG11/paths.html

And here, for the beginning of the implementation of a SVG <d> element
parser:

http://svn.gnome.org/viewvc/goffice/trunk/goffice/utils/go-cairo.c?revision=1884&view=markup

	Emmanuel.

-- 
Emmanuel PACAUD
Groupe Virgo
LAPP - Laboratoire d'Annecy-le-Vieux de physique des particules
9, chemin de Bellevue - BP 110
74941 Annecy-le-Vieux CEDEX
France
Tél: (+33)4 50 09 17 89 - Fax: (+33)4 50 27 94 95



More information about the cairo mailing list