The canvas may be panned left, right, up, or down
by pressing the
respective arrow keys while the mouse pointer is in the canvas.
In addition, panning left or right may be done by pressing
mouse button 1 or 3 respectively, while the mouse pointer
is in the top ruler.
Panning up and down may be done by pressing mouse button
1 or 3 respectively while the mouse pointer is in the side ruler.
To pan to (0,0), hold down the control key and press
mouse button 2.
By default, xfig will allow panning into negative coordinates.
This may be turned off by either starting xfig with the
-dont_allow_neg_coords
option, or unchecking the box in the
Global Settings panel.
The canvas may be zoomed by three methods:
Zoom Button
-
Click mouse button 2 or 3 on the zoom button
in the attribute panel to zoom out or in respectively.
Click mouse button 1 on this button to popup a zoom panel.
Zooming with the mouse
-
While holding the control key down click and hold mouse button
3 on one corner of a rectangle, drag the mouse to the opposite corner
and release the button. The area in the rectangle will be zoomed
to fit the canvas.
To unzoom, hold down the control key and click mouse button 3.
Zoom keyboard accelerators
-
The keyboard accelerator Shift-Z will zoom in one step while the
accelerator z will zoom out one step.
The accelerator Ctrl-Z will zoom the figure to just fill the canvas.
The rulers are placed at the top and right
(left, if the drawing mode panel is right)
of the canvas, and the scale selected by
Units is displayed on them (i.e. inches or cm).
Normally, triangular markers which show the mouse cursor position
are also displayed on the rulers.
The rulers may also be used to scroll the canvas.
To scroll the canvas, press mouse button 2 (`Drag') on the ruler
and move cursor left/right or up/down;
the ruler will be moved following the cursor,
and the contents of canvas will be moved when mouse button is released.
If the SHIFT key was pressed during this operation,
the canvas will scroll five times further than the mouse movement.
Clicking on the ruler with mouse button 1 (`Pan Left' or `Pan Up')
or mouse button 3 (`Pan Right' or `Pan Down')
will scroll the canvas by 1/2 inch (1cm, if unit is cm).
The arrow keys have the same effect, too.
If the SHIFT key was pressed during those operations,
amount of scroll will be five times further.
The canvas view will be moved to the origin
if mouse button 1 (`Pan to Origin') is clicked
on Units,
or mouse button 2 (`Pan to Origin') is clicked
on the canvas while the CONTROL key is down.
The Units box is placed where the top and side rulers meet.
The units of the ruler (in or cm) and the scale
of the drawing (e.g. 1cm=3km) will be displayed here.
Clicking on the Units box with mouse button 3 (`Set Units/Scale')
will pop up a panel to set the units.
This panel is also available from the
Edit Menu
-
Ruler units
- Select ruler
unit from Imperial (in) and Metric (cm).
-
Figure units
- Select unit
which is used to display dimensions when entering or editing object,
from Ruler units and User defined.
If User defined is selected here,
the string entered in Unit name will be displayed as the unit of dimension.
-
Unit name
- Set the name of the unit.
This is effective only if
User defined is selected in Figure units.
-
Figure scale
- Choose the scale
which is used to display dimensions when entering or editing objects,
from Unity and User defined.
If User defined is selected here,
the value specified by Scale factor will be multiplied by the dimensions
displayed when drawing objects.
-
Scale factor
- Set the value which will be multiplied by the dimensions
when displaying them.
This is effective only if
User defined is selected as Figure scale.
As an exmple, in the above panel Ruler Units are Metric,
Figure units are user defined, Unit Name is "km", Figure scale is user
defined and scale factor is 2.0, so when drawing, 1 cm will be reported as 2.0 km.
The default values for this panel can be set by
command line options
and resources.
Goto TOP
written by us