Changes the zoom (magnification) of the view of the sheet. If no
arguments are passed, the view is scaled such that the sheet just fits
inside the visible window (i.e. "view all"). Otherwise,
Alternatively a box can be specified with 4 coordinates and
Arguments:
(no argument) | Without argments: zoom to sheet extents. |
---|---|
+factor | Values greater than 1.0 cause the sheet to be drawn smaller; more of the sheet will be visible. Values between 0.0 and 1.0 cause the sheet to be drawn bigger; less of the sheet will be visible. |
-factor | Values greater than 1.0 cause the sheet to be drawn bigger; less of the sheet will be visible. Values between 0.0 and 1.0 cause the sheet to be drawn smaller; more of the sheet will be visible. |
=factor | The @var{factor} is an absolute zoom factor; the unit for this value
is "PCB units per screen pixel". Since PCB units are nanometer, a
|
x1, y1, x2, y2 | Zoom to the specified portion of the design, described as a rectangle (using sheet space coordinates) |
selected | Zoom and pan so that all selected objects are on the screen. |
? | Print the current zoom level in the message log (as an info line). |
get | Return the zoom level as an FGW_DOUBLE (useful for scripts). |
Note that zoom factors of zero are silently ignored.