Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 54656 invoked from network); 12 Apr 2008 11:43:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2008 11:43:29 -0000 Received: (qmail 65660 invoked by uid 500); 12 Apr 2008 11:43:29 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 65644 invoked by uid 500); 12 Apr 2008 11:43:29 -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 65633 invoked by uid 99); 12 Apr 2008 11:43:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Apr 2008 04:43:29 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.deweese@kodak.com designates 192.232.121.200 as permitted sender) Received: from [192.232.121.200] (HELO smtp1.kodak.com) (192.232.121.200) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Apr 2008 11:42:45 +0000 Received: from roc-us-e1000-109.kodak.com (roc-us-e1000-109.kodak.com [192.232.121.189]) by smtp1.kodak.com (8.11.3/8.11.1) with SMTP id m3CBgvG23552 for ; Sat, 12 Apr 2008 07:42:57 -0400 (EDT) Received: from (unknown [150.102.45.49]) by roc-us-e1000-109.kodak.com with smtp id 7b1c_98ad5f20_0885_11dd_98a2_0019b9df7a92; Sat, 12 Apr 2008 11:42:57 +0000 In-Reply-To: <7A8F929D-BC3A-4C57-A6E2-21E39D21AA20@mimectl> To: batik-users@xmlgraphics.apache.org Cc: batik-users@xmlgraphics.apache.org Subject: RE: Parsing SVG and grouping actions MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: thomas.deweese@kodak.com Date: Sat, 12 Apr 2008 07:42:55 -0400 X-MIMETrack: Serialize by Router on KNOTES2/ISBP/EKC(Release 6.5.6FP2|October 17, 2007) at 04/12/2008 07:42:57 AM, Serialize complete at 04/12/2008 07:42:57 AM Content-Type: multipart/alternative; boundary="=_alternative 00405AAD85257429_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 00405AAD85257429_= Content-Type: text/plain; charset="US-ASCII" Hi Michael, Keywan "Bishop, Michael W. CONTR J9C880" wrote on 04/08/2008 01:49:10 PM: > I'd started with using SVGGraphics2D and found it wasn't the way to > go and with a lot of help from this list, got started on the > implementation we have today. I think your questions will be > invalidated if you go this route. SVGGraphics2D is really intended > to render an entire document at once, not a create/update/delete model. This is correct, the SVG Graphics2D is really intended as a way to capture existing drawing code into SVG. The SVGGraphics2D is a heavy weight way to generate SVG elements. Using createElementNS and setAttributeNS is genereally only slightly more verbose code and will generally produce cleaner (and hence probably faster to render and easier to manage) documents. --=_alternative 00405AAD85257429_= Content-Type: text/html; charset="US-ASCII"
Hi Michael, Keywan

"Bishop, Michael W. CONTR J9C880" <Michael.Bishop@je.jfcom.mil> wrote on 04/08/2008 01:49:10 PM:

> I'd started with using SVGGraphics2D and found it wasn't the way to
> go and with a lot of help from this list, got started on the
> implementation we have today.  I think your questions will be
> invalidated if you go this route.  SVGGraphics2D is really intended
> to render an entire document at once, not a create/update/delete model.


   This is correct, the SVG Graphics2D is really intended as a way to
capture existing drawing code into SVG.  The SVGGraphics2D is a heavy
weight way to generate SVG elements.  Using createElementNS and
setAttributeNS is genereally only slightly more verbose code and
will generally produce cleaner (and hence probably faster to render
and easier to manage) documents. --=_alternative 00405AAD85257429_=--