[cairo] SVG metadata

florent beauchamp flo850 at free.fr
Sat Nov 7 09:15:02 PST 2009


Hello ,

CONTEXT :
I'm trying to produce dynamics maps  with SVG and animated them with javascript.
The maps will be  generated by  mapserver and their cairo output plugin

PROBLEM :
I need to associate each and every SVG object (polyline/path) with their id

like this :
 <path d="M 100 100 L 300 100 L 200 300 z"
        fill="red" stroke="blue" stroke-width="3" id="MAP_COUNTRY-FR"/>

Is their a way to do this using the standard cairo API ?

Regards,

Florent BEAUCHAMP


More information about the cairo mailing list