Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 53241 invoked from network); 8 Apr 2006 20:24:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2006 20:23:59 -0000 Received: (qmail 36432 invoked by uid 500); 8 Apr 2006 20:23:59 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 36114 invoked by uid 500); 8 Apr 2006 20:23:58 -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 36102 invoked by uid 99); 8 Apr 2006 20:23:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2006 13:23:58 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=DNS_FROM_RFC_POST,NO_REAL_NAME,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rafiqy@blueyonder.co.uk designates 195.188.213.8 as permitted sender) Received: from [195.188.213.8] (HELO smtp-out5.blueyonder.co.uk) (195.188.213.8) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2006 13:23:57 -0700 Received: from [172.23.170.138] (helo=anti-virus01-09) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1FSJy4-0001PI-M2 for batik-users@xmlgraphics.apache.org; Sat, 08 Apr 2006 21:23:36 +0100 Received: from [195.188.53.232] (helo=webmail.blueyonder.co.uk) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1FSJy4-0006sO-9T for batik-users@xmlgraphics.apache.org; Sat, 08 Apr 2006 21:23:36 +0100 Received: from 195.188.213.34 (SquirrelMail authenticated user); by webmail.blueyonder.co.uk with HTTP; Sat, 8 Apr 2006 21:23:36 +0100 (BST) Message-ID: <1339.195.188.213.34.1144527816.squirrel@195.188.213.34> Date: Sat, 8 Apr 2006 21:23:36 +0100 (BST) Subject: Dragable rectangle From: rafiqy@blueyonder.co.uk To: batik-users@xmlgraphics.apache.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there, I'm trying to create a dragable rectangle on my JSVGCanvas so that the area that is selected within the rectangle is zoomed-in, has anyone got any ideas how I should go about doing this ...my thoughts are that I create a mouseListener, to listen for mouseDown, whilst the mouse is kept down to drag the rectangle until the mouseRelease event and upon mouseRelease the svgMap then zoomIn to the selected area... in effect I'm trying to replicate the key-board short cut 'CTRL_MouseDown' ...and assign it to a Jbutton. Pls advice :( Thanx yasmin --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org