[cairo] SVG metadata

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Sat Nov 7 10:00:22 PST 2009


Hi,

Le samedi 07 novembre 2009 à 18:15 +0100, florent beauchamp a écrit :
> 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 ?

It's not possible yet. A possible API would be probably similar to what
was proposed during the link/anchor discussion in the past.

http://lists.cairographics.org/archives/cairo/2008-February/012986.html
http://lists.cairographics.org/archives/cairo/2007-November/012026.html

	Emmanuel.



More information about the cairo mailing list