Hi,

On Wed, 2002-08-21 at 20:28, [EMAIL PROTECTED] wrote:
> Running this Code I get the following Exception:
> 
> java.awt.geom.NoninvertibleTransformException: Determinant is 0

In my experience, the best way to get around this was to extend the
JSVGComponent, and not the JSVGCanvas.

I tried a whole heap of things to make this problem disappear, ranging
from simple acts like adjusting the viewBox attribute of my SVG so that
all of the points were contained within those dimensions, through to
changing the units I used inside the SVG from pixels-to-milimeters and
v.v.

I even had the SVG displayed in a window that was the *exact* size of
the SVG itself (so I'd imagine there'd be no scaling/rotating or any
other transformation required) but I'd still get that error.

In the end, changing to JSVGComponent fixed it.

YMMV.

James

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to