Key macro v implements the command view.view [get|bbox|llx lly urx ury]
view [get|bbox|llx lly urx ury
where llx lly urx ury are layout dimensions to become the screen view limits.
The view command is most often used without arguments to center and scale the screen view of the layout window to fit the layout.
view bbox returns the bounding box dimensions of the layout, in the coordinate system of the layout.
view get returns the coordinates of the screen limits in the coordinate system of the layout (internal database units).
view llx lly urx ury sets the view so that the corners of the screen are at the indicated positions in the coordinate system of the layout. Where the dimensions do not match exactly to the screen aspect ratio, the view will be centered on the indicated coordinates.
view is implemented as a built-in command in magic.
|Return to command index|
Last updated: October 9, 2004 at 1:59am