Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 86926 invoked from network); 3 Apr 2008 10:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 10:41:13 -0000 Received: (qmail 26695 invoked by uid 500); 3 Apr 2008 10:41:12 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 26683 invoked by uid 500); 3 Apr 2008 10:41:12 -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 26672 invoked by uid 99); 3 Apr 2008 10:41:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 03:41:12 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 10:40:30 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JhMs6-0001Jc-51 for batik-users@xmlgraphics.apache.org; Thu, 03 Apr 2008 03:40:42 -0700 Message-ID: <16467387.post@talk.nabble.com> Date: Thu, 3 Apr 2008 03:40:42 -0700 (PDT) From: Rob Davis-5 To: batik-users@xmlgraphics.apache.org Subject: Re: [correction] Solution: Code to combine parent elements transform applied to element In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: tech@robertjdavis.co.uk References: <16032287.post@talk.nabble.com> <16048027.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org thomas.deweese wrote: > > Just trying to understand the purpose of this class, and make sure > you are aware of alternatives. Once you have loaded an SVG into Batik > you can use the SVG DOM which provides methods like, getTransformToElement > or getScreenCTM which perform much the same as the above function. > Thanks. But I had tried something like what you suggested, as it was discussed in this forum. But it did not work for me - the wrong co-ordinates were returned. But maybe I did something wrong. My solution definitely works. I will definitely look into your suggest and get it to work. It makes sense not to re-invent the wheel and duplicate what has already been done. Using an existing solution built into batik means I have less code to maintain. -- View this message in context: http://www.nabble.com/Solution%3A-Code-to-combine-parent-elements-transform-applied-to-element-tp16032287p16467387.html Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org