Hi Steve,
Steve Lamont wrote:
For Canvas these are easiest (most correctly) to controlled with the associated DOM element attributes (viewBox, x, y, width, height)
Thanks for the clarification regarding matrices. I think I see how things are supposed to work but I'm not sure if they're working the way they're supposed to be working.
The rendering transform seems to be getting modified between the time I attempt to set it and the time that the rendering actually takes place. An unpredictable offset gets inserted that has no apparent relationship to anything.
I suspect that you are seeing the effects of the preserveAspectRatio attribute. By default this will cause the document to be scaled so the largest dimension fits in the Canvas and the other dimension is 'centered'. Read about preserveAspectRatio in the SVG specification.
I've tried explicitly setting `x' and `y' in the SVGDocument but this has no apparent effect.
The x/y on the outermost SVG element is ignored (I believe the spec says this is supposed to happen).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]