Hi,

I'm new to SVG and pretty new to Java, so be gentle - I'm trying to to get a standalone program going using JSVGCanvas; I have a simple SVG file that has a large image file as background, and the SVG viewport gives me a view on that that can (as per the online documentation example) be dragged around the image. The problem is that the directional keyboard shortcuts that the JSVGCanvas allows don't always work well with that - the arrow keys are grabbed by the JSVGCanvas and moves the viewport around the canvas, not around the underlying document. This does make sense, so I've been trying to think of ways to layer objects so the canvas works on the underlying image, but can't. The best I can think of is to disable the arrow keys so the user can only drag the image. Not optimal. Is there a way I can pass the JSVGCanvas keyboard controls to control the viewport of the SVG object?

If anyone has any suggestions, please feel free to throw them out there.

many thanks...

cheerio,
thos
--
Tom Cohen - [EMAIL PROTECTED]

Munchkin Software Pty Ltd


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

Reply via email to