TraceDraw ヘルプ

このページはまだ翻訳されていないため、英語で表示しています。

Drawing lines and curves

A line in TraceDraw is a curve: a path made of segments that join at nodes. Segments can be straight or curved. A curve can be open, with two ends, or closed, when its end meets its start, and then it can be filled.

The curve tools are in the Curve flyout of the toolbox. Every one of them draws a curve with the default fill and outline of new objects; change them afterwards in the Properties panel or with the color palette.

Freehand

The Freehand tool (F5) draws a line where you drag, like a pencil.

  1. Choose the Freehand tool.
  2. Drag on the page. Release the button to finish.

TraceDraw follows the pointer and smooths the line when you release it. The smoothing (0 to 100, 50 at first) on the property bar sets how much: a higher value gives fewer nodes and a softer line. When you are zoomed in, the line keeps more detail.

To draw straight lines with this tool, click where the line starts, click once at each corner, and double-click where it ends: each click adds a node and the line goes on, and the double-click ends it there. For a single straight line, click where it starts and double-click where it ends. Hold Ctrl to keep each segment to steps of 15 degrees. Space, Enter or Esc ends the line at the last node, and Esc drops a lone first click.

With a graphics tablet, the pen's pressure sets the width of the line along it; see Drawing with a graphics tablet.

2-Point Line

The 2-Point Line tool draws one straight segment: press where it starts and release where it ends, or click twice. Hold Ctrl to keep it to steps of 15 degrees.

Bezier

The Bezier tool draws precise curves node by node.

  1. Choose the Bezier tool.
  2. Click to place a corner node (a cusp), or drag to place a smooth node and pull out its handles, which set the direction and the bend of the curve.
  3. Go on placing nodes.
  4. Double-click or press Enter to finish. To close the curve, click its first node. Esc throws away the curve you are drawing.

Hold Ctrl to place the next node in steps of 15 degrees from the last one, or to turn a handle in such steps. Every node snaps to what snapping is set to; see Snapping.

While you drag a handle, hold C to make the node a cusp (only the outgoing handle follows), or Alt to move the node itself. Click the last node again to make it a cusp. A handle pulled out of the drawing window (over a panel or a toolbar) ends where you let go.

While you draw, Ctrl+Z takes back the last node or handle, one at a time, and Ctrl+Shift+Z puts them back. A finished curve keeps these steps: undoing goes back to drawing it, with the tool chosen again and a line going on from the last node left, so you can undo node by node and draw on at once.

Space ends the curve you are drawing with the Bezier, Pen, B-spline, Polyline or Freehand tool where the last node is, as a right click or Enter does, and changes to the Pick tool.

Backspace or Delete while you draw with the Bezier, Pen, B-spline or Polyline tool removes the last node you placed, with its handles, one node a press. They never delete the selected objects while a curve is being drawn.

What you are drawing shows over any color: the segments placed so far lie on a white line, and the handles are dashed in blue and white.

Pen

The Pen tool places nodes the same way as the Bezier tool: click for a corner node, drag for a smooth node, double-click or Enter to finish, click the first node to close. While the button is down, the handle follows the pointer, so you see the curve take shape. Its pointer is a pen nib whose tip is where the node goes.

Two options sit on its property bar (and on the Freehand/Bézier page of the tool options):

  • Preview mode (on at first): a solid blue line on a white one runs from the last node to the pointer, so you see the next segment before you click.
  • Add and delete nodes automatically (on at first): with a curve selected and no curve being drawn, a click on a segment adds a node and a click on a node deletes it. While you draw a curve, every click places the next node, also on a segment or a node of a curve, so drawing never changes other curves by accident.

With no curve being drawn, the Pen and Bezier tools also edit the selected curve: drag a node that is not an end node to move it, as with the Shape tool.

B-Spline

The B-Spline tool draws smooth curves from control points, without handles.

  1. Click to place each control point. The curve follows the points, starting at the first and ending at the last, and always stays inside them. While you draw, the control points show as a dashed line. Hold C or V while you click to place a fixed point: the curve passes through it, with a corner there.
  2. Double-click or press Enter to finish. Click the first point (once there are three) to close the curve into a smooth loop.

The result is an ordinary curve; the control points are not kept.

Polyline

The Polyline tool draws straight segments one after the other: click to add each corner, and double-click or press Enter to finish. Hold Ctrl to keep each segment to steps of 15 degrees.

3-Point Curve

The 3-Point Curve tool draws an arc through three points:

  1. Drag from where the curve starts to where it ends. Hold Ctrl to keep this line to steps of 15 degrees, for a level arc.
  2. Move the pointer to bend the curve, and click the point it passes through. Hold Ctrl for a bow, a part of a circle that stands evenly on the line.

Continuing a curve

To add to an open curve, select it, then draw with the Freehand, 2-Point Line, Bezier, Pen, B-Spline or Polyline tool starting (or ending) on one of its end nodes. The new line becomes part of the curve:

  • it runs on from that end;
  • when it ends on the curve's other end, the curve closes;
  • when it ends on an end of another part of the same curve, the two parts join.

The Bezier and Pen tools also go on from an open curve that is not selected: press on one of its end nodes to select it and draw on. The next segment leaves smoothly, along the mirror of the curve's last handle; drag from the end node to pull a new handle instead, or click the end node a second time to make it a cusp, so the next segment leaves it straight.

The pointer shows a node with a line going on from it when you are over an end node, and a ring when a click would close the curve. The curve keeps its look and stays selected, and the change is one undo step. Closed curves, several selected objects and objects inside groups are never continued. The distance that counts as "on the node" is set on the Freehand/Bézier page of the tool options; see Tool options.

The property bar

While a curve tool is active, the property bar shows the position, size, scale, angle and mirror buttons of the selection, its outline width, line style and start and end arrowheads, and a button that closes an open curve. The Freehand tool adds the smoothing. With nothing selected, it reminds you how to finish a curve. See Outlines for the outline settings.

Editing curves afterwards

Use the Shape tool to move, add and delete nodes, change their type and bend segments; see Shaping curves with the Shape tool.