Hi,
I'm not too familiar with SVG, but what I want to do is to move the position of the page/canvas relative to all the content.
Reading through a simple svg document, I can only find the height and width definition for the page. If I wanted to shift the page down 10pixels in code, would I have too loop through all elements in the document and shift each up 10lpixels, or is there a clever way to set the page position?
Cheers,
ragtag
Moving the page/canvas....
Re: Moving the page/canvas....
This from http://www.w3.org/TR/SVG/coords.html#SVGCanvas
It sounds to me like you should be able to define a new viewport (relative to the initial viewport) or transform the initial viewport.
A new user space (i.e., a new current coordinate system) can be established at any place within an SVG document fragment by specifying transformations in the form of transformation matrices or simple transformation operations such as rotation, skewing, scaling and translation. Establishing new user spaces via coordinate system transformations are fundamental operations to 2D graphics and represent the usual method of controlling the size, position, rotation and skew of graphic objects.
New viewports also can be established. By establishing a new viewport, you can redefine the meaning of percentages units and provide a new reference rectangle for "fitting" a graphic into a particular rectangular area. ("Fit" means that a given graphic is transformed in such a way that its bounding box in user space aligns exactly with the edges of a given viewport.)
It sounds to me like you should be able to define a new viewport (relative to the initial viewport) or transform the initial viewport.
Re: Moving the page/canvas....
A non-code solution would be selecting everything, make the preferenceces so that one arrow keystroke is 10px, then hit the arrowkey. once.