Re: SVGGenerator

2004-03-08 Thread Thomas DeWeese
Alice Mello Cavallo wrote: Which jars should I import in order to use SVGGenerator? See: http://xml.apache.org/batik/install.html#jarFiles It appears you may be able to pair things down a bit from this (in particular I don't think there is actually a dependency on 'gvt' fr

Re: SVGGenerator

2004-03-08 Thread Alice Mello Cavallo
Which jars should I import in order to use SVGGenerator? I have tried to import only batik-svggen and batik-dom, but it did not work, therefore I imported all available. Thanks, Alice At 05:18 PM 3/4/2004 -0500, Thomas DeWeese wrote: Hi Alice, I think you have two problems, one easily solved

Re: SVGGenerator

2004-03-04 Thread Thomas DeWeese
Hi Alice, I think you have two problems, one easily solved the other not. 1) (easy) You need to upgrade to Batik 1.5.1 or else call 'getGeneratorContext().setPrecision()' on the SVGGraphics2D. This will eliminate the Null Pointer Exception (NPE). 2) SVGGraphics2D doesn't support XOR mode (mo

SVGGenerator

2004-03-04 Thread Alice Mello Cavallo
else. Below is the error message. I am following the example code given at Batik SvGGenerator page and trying to create a SVG file for the drawing.The code is inside of my main class:   public static void main(String argv[])  throws IOException {   frame = new MyFrame();   MyAdapter

Re: What does DEFAULT_MAX_GC_OVERRIDES in SVGGenerator do?

2002-08-01 Thread Robert D
vice We all learn by sharing what we know Robert A. DiBlasi http://www.svgnotebook.com >From: Thomas E Deweese <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: What does DEFAULT_MAX_GC_OVERRIDES in SVGGenerator do? >Date: Thu, 1 Aug 2002 13

What does DEFAULT_MAX_GC_OVERRIDES in SVGGenerator do?

2002-08-01 Thread Thomas E Deweese
> "RD" == Robert D <[EMAIL PROTECTED]> writes: RD> Controls the policy for grouping nodes. Once the number of RD> attributes overridden by a child element is greater than RD> DEFAULT_MAX_GC_OVERRIDES,a new group is created. @see RD> org.apache.batik.svggen.DOMTreeManager [...] RD> Con

What does DEFAULT_MAX_GC_OVERRIDES in SVGGenerator do?

2002-08-01 Thread Robert D
Controls the policy for grouping nodes. Once the number of attributes overridden by a child element is greater than DEFAULT_MAX_GC_OVERRIDES,a new group is created. @see org.apache.batik.svggen.DOMTreeManager public static final int DEFAULT_MAX_GC_OVERRIDES = 3; I liked at DOMTreeManager...and