The mouse

xfig is drawn with three mouse buttons, and almost every mode gives each button a different job (left: the main action, middle: a variation, right: cancel or another variation). RustFig keeps that exactly. The mouse indicator in the top strip always shows what the three buttons do right now.

Getting three buttons

On macOS

MouseLeftMiddleRight
Three-button mouseleft buttonmiddle button (wheel click)right button
Trackpad or one-button mouseclickOption+clickCtrl+click (or a two-finger click)

On Linux and Windows

MouseLeftMiddleRight
Three-button mouseleft buttonmiddle button (wheel click)right button
Two-button mouseleft buttonleft and right buttons together (a chord)right button
Keyboard substituteclickAlt+click(none: Ctrl+click is xfig's zoom, see Zoom and view)

The chord works like xfig on a two-button mouse: press both buttons within a moment of each other.

What the buttons do

The three functions of each mode are listed in the mode's section (shapes, splines, move, copy, delete and the other editing topics). Typical patterns:

Shift

Holding Shift changes a button's job in some modes. While Shift is held, the mouse indicator shows the Shift meanings (likewise Ctrl, and Ctrl+Shift, show those buttons' meanings):

Ctrl

Holding Ctrl (Cmd on macOS) shows xfig's zoom functions: left starts a zoom box, middle pans to the origin, right unzooms (Zoom and view). With Ctrl and Shift in the editing modes, a click on a spline point changes its shape factor (Splines).

Markers and tags

In the editing modes small hollow squares (markers) sit on every object the mode can act on, so you see what to click. Markers stay while a mode waits for its next click (Join's second end, Chop's log, Align's object). Tagged objects show filled markers: objects you tagged with Glue or selected with Select, and the parts of a compound broken with "break and tag". Only Select, Glue and Break tag objects; the other modes act on the object you click and leave the tags as they are, so drawing or editing never tags anything by itself.

Clicking and dragging

Most placing operations work either way: press, drag and release, or click once to start and click again to finish. A click without movement picks the object under the pointer; the pointer picks within a few screen pixels of the line.

Wheel and trackpad

Scrolling pans the canvas, Ctrl+scroll or pinching zooms, and holding Space while dragging pans. On a touch screen, two fingers pan and pinch zooms, and holding one finger still for half a second acts as the right mouse button.