System Configuration: Operating System: Microsoft Windows 2000 Professional JDK Version: J2SDK 1.4.2_03 Batik Version: Batik 1.5
Problem Description: How to transform SVG into Java Graphics2D? Have tried to transform into JPEG and then used it by ImageIcon of Java, but there is a problem, for example, there is a svg drawing with canvas size 100 * 100, but the shape only have used 50 * 50 space of canvas, so as it transform into JPEG, it would become a graphics with original size. So even using scaling the resize its size, as the size of canvas is relative big to the shape, so the drawing resize, it would become much smaller, and even cannot see the shape. what is more, graphics2d don't have method to "cut" the blank space of the graphics.
Thanks for answering.
Regards
_________________________________________________________________
Linguaphone : Learning English? Get Japanese lessons for FREE http://go.msnserver.com/HK/30476.asp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
