Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 14395 invoked from network); 25 May 2006 10:26:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2006 10:26:40 -0000 Received: (qmail 76123 invoked by uid 500); 25 May 2006 10:26:40 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 75815 invoked by uid 500); 25 May 2006 10:26:39 -0000 Mailing-List: contact batik-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-users@xmlgraphics.apache.org Delivered-To: mailing list batik-users@xmlgraphics.apache.org Received: (qmail 75804 invoked by uid 99); 25 May 2006 10:26:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:26:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [220.233.80.107] (HELO port.mcc.id.au) (220.233.80.107) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 03:26:37 -0700 Received: from cam by port.mcc.id.au with local (Exim 3.36 #1 (Debian)) id 1FjD2g-0007aE-00 for ; Thu, 25 May 2006 20:26:10 +1000 Date: Thu, 25 May 2006 20:26:10 +1000 From: Cameron McCormack To: batik-users@xmlgraphics.apache.org Subject: Re: interaction with a group of severals JSVGCanvas Message-ID: <20060525102610.GA964@port.mcc.id.au> Mail-Followup-To: batik-users@xmlgraphics.apache.org References: <20060525094409.10909.qmail@web86808.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060525094409.10909.qmail@web86808.mail.ukl.yahoo.com> X-Numbers: 4 8 15 16 23 42 User-Agent: Mutt/1.5.11+cvs20060403 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org