Hello everyone,

i am trying to make a open-source boardgame that uses batik to load
svg-images to use on tiles in the game. But i can't seem to find any way to
load a svg document onto a Swing JFrame so it fits the size of the window,
e.g. when i use JSVGCanvas i just loads the svg but doesn't allow me to
resize the swing-component so the rendered svg fits inside the JFrame.

I also thought about getting a BufferedImage from the JSVGCanvas to use in a
custom Shape to use as tiles, but when i can't get resizing the svg to get
at renderede Shape of the right size i isn't any good.

Anybody that has a good idea on how to solve the problem?

Thanks in advance :)

Best Regards.
-- 
View this message in context: 
http://www.nabble.com/Swing-Boardgame-tp18308374p18308374.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to