Shapes

Drawing modes make new objects with the attributes shown in the indicator panel (colours, line width, fill, depth and so on). Change those first, or change the object afterwards with Update. Coordinates snap to the grid and to object snaps (Snap and grid).

In every shape mode you can press, drag and release, or click once and click again to finish. The right button cancels a shape in progress. The mouse indicator reads, for each mode, the words quoted below.

Circle (radius)

Key C. Draws a circle from its centre.

Circle (diameter)

Key Shift+C. Draws a circle from one end of its diameter.

Ellipse (radii)

Key E. Same buttons as Circle (radius), but the ellipse is the main shape.

Ellipse (diameter)

Key Shift+E.

Polygon

Key P. A closed shape with straight sides.

As in xfig, the middle button does nothing until only the last point is missing, so a polygon always has at least three points; Enter or a double click with fewer keeps you drawing. Shift+left never removes the first point (with one point it adds a point). The polygon closes itself when you finish. Angle Geom can constrain the points (Angle Geom).

Polyline

Key L. An open line of straight segments (the same buttons as Polygon).

The length in the dimension line follows xfig: in inches it is a whole number with a fraction (for example 2 1/4), otherwise a decimal. The Dimension line button's settings window shows a live example line ("Dimension line example") that follows the font, arrow types (pictures as in the arrow menu, or "none" per end) and the other settings. The example draws plain triangle arrowheads.

Lengths while drawing

While a line, box, circle or ellipse is being drawn, or an object moved or copied, the message panel shows the length, dx, dy and angle of the segment from the fixed point, for example “2 points, Length = 1.0 in, dx = 1.0 in, dy = 0.0 in (0.0 deg)”. While a box or rounded box is drawn the message reads “Width = …, Height = …, Factor = …”, and a regular polygon “Length = …, dx = …, dy = … (angle) deg”. With Show Lengths on (command view.toggle_lengths, resource showlengths) the triangle of dx and dy is drawn at the segment and its two sides are labelled in red.

Other messages follow xfig as well. Moving or adding a point of a line or spline shows both neighbour lengths and offsets (“Len 1 = ..., Len 2 = ..., dx1 = ...”); moving the middle point of an arc adds its radius (“Rad = ...”); scaling a box or a compound shows “Width = ..., Length = ..., Factor = ...”. Show crosshair (View menu, Edit > Global settings, command view.toggle_crosshair, resource crosshair, option -crosshair) draws full-window red lines through the pointer while a shape is being drawn or an object moved, scaled or reshaped.

Typed coordinates

Command tool.point (xfig's keyboard point entry) gives the next point as text instead of a click: 1.5, 2 (ruler units; fractions as 1-1/2), r1, r-0.5 or r1 0.5 (relative to the current point: the last point of the line, or where the operation started), a for absolute, or polar 2<30 (length and angle in degrees, 2<0.5p in multiples of pi, 2<1r in radians; from the current point). The point is used exactly, without snapping.

In the app, Edit > Enter point… (Ctrl+K; physical Ctrl+K with xfig's keys) opens a small window with a text field: type a point and press Enter for the left button (the Left, Middle and Right buttons act as that mouse button), and the point goes to the current mode. A bad entry shows its error and stays in the field; the last ten entries are listed under History, click one to type it again.

Box

Key B. A rectangle.

Arc-box (rounded)

Key Shift+B. A rectangle with rounded corners; the radius is the indicator's Box Curve value. Buttons as for Box.

Regular polygon

Key Shift+P. A polygon with equal sides; the number of sides is the indicator's Num Sides.

Arc

Key R. A circular arc. The indicator's Arc Type chooses open or pie-wedge, and Arrow Mode adds arrowheads.