Hi, thanks



Wo do you mean by : "Certainly it would be easier to use the one JSVGCanvas, and add your
crosses into the SVG document"?

Do I have to fill the SVG file (XML file) with the JPEG Cross? If true, how can I do that.

Any advices?

Regards.




----- Message d'origine ----
De : Cameron McCormack <[EMAIL PROTECTED]>
À : batik-users@xmlgraphics.apache.org
Envoyé le : Jeudi, 25 Mai 2006, 11h26mn 10s
Objet : Re: interaction with a group of severals JSVGCanvas

Hi Hocine.

Hocine Hamadi:
> But the thing is that I’m trying to use several SVG file and group
> them into the same object in order to Pan, rotate, Zoom them all
> together.
>
> For example:
> - I load a SVG map in a JSVGCanvas
> - This JSVGCanvas is added to a JPanel
> - I need to set several positions on this map with a cross image
>   (svg, jpg ...)
> - I want them to move, rotate, and zoom all together, not only the
>   SVG map. Actually, the cross has to follow all the actions
>   performed on the map.
>    
> I don’t know which method to use to perform this.
>    
> Here are some methods I thought about :
> - Create a JSVGCanvas for each cross image and add it to the
>   JSVGCanvas map ?
> - Use only 1 Canvas for the map and add my crosses to it ?

Certainly it would be easier to use the one JSVGCanvas, and add your
crosses into the SVG document.  Then when the map is panned or zoomed,
the crosses will follow naturally.

--
Cameron McCormack, http://mcc.id.au/
    xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to