Steven Huey wrote:
Thomas,
I don't see which transform I'd adjust since I'm not interested in
scaling, translating, or rotating the image, just sort of cropping it
temporarily. Could you elaborate?
Actually what you want to do is translate the canvas so
a point x,y is at the upper left of the canvas and that
the content is scaled so that your viewable width/height
fills the canvas width/height.
The main effect of viewBox is to translate and scale
the secondary effect (especially in your case) is to clip
to that rectangle.
On Mar 20, 2005, at 3:14 PM, Thomas DeWeese wrote:
If you can have a 'g' element and simply adjust the transform
on that element it will be _much_ faster.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]