From batik-users-return-10568-apmail-xmlgraphics-batik-users-archive=xmlgraphics.apache.org@xmlgraphics.apache.org Thu Jun 15 03:14:41 2006 Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 292 invoked from network); 15 Jun 2006 03:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jun 2006 03:14:41 -0000 Received: (qmail 76903 invoked by uid 500); 15 Jun 2006 03:14:40 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 76884 invoked by uid 500); 15 Jun 2006 03:14:40 -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 76873 invoked by uid 99); 15 Jun 2006 03:14:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 20:14:40 -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 [66.152.97.36] (HELO mail03.powweb.com) (66.152.97.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 20:14:39 -0700 Received: from [10.240.0.161] (unknown [202.152.173.178]) by mail03.powweb.com (Postfix) with ESMTP id 6D72914D9E6 for ; Wed, 14 Jun 2006 20:13:54 -0700 (PDT) Subject: Re: scaling the document itself, not the image on display From: Tonny Kohar To: batik-users@xmlgraphics.apache.org In-Reply-To: <4865733.post@talk.nabble.com> References: <4865733.post@talk.nabble.com> Content-Type: text/plain Date: Thu, 15 Jun 2006 10:12:43 +0700 Message-Id: <1150341163.2480.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, On Wed, 2006-06-14 at 07:18 -0700, kloassie wrote: > Hi there, > > is there in the batik library a method to scale all the elements of an svg > document? All I could find is ways to scale the image build from the > document at the moment you want to display it. There are several ways to scale svg 1) use g element with transform scale attribute and put everything under that g element 2) use viewbox attribute 3) iterate over all element, and scale it one by one 4) etc Depending on your need, some scale methods may or may not appropriate. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org