The page could not be loaded. Check your connection, then try again.
Understand vector drawing: points, handles and curves
Build a drawing point by point, tool by tool: the Pen, the handles, Freehand, the Eraser and color.
A path stays sharp at any size
A “bitmap” image is made of a grid of colored dots. Enlarging it stretches those dots, and the image turns blurry and unusable.
A vector path, by contrast, is defined by a mathematical formula: points joined by lines. Enlarging it recalculates that formula at the new size, and the line stays as sharp on screen as when printed.
Each point can have handles, which curve the lines that leave it.
Place points joined by straight lines
To begin:
Choose the Pen, in the bottom bar.
Click to place a first point, then click farther along: a straight line joins the two.
Continue like this around the piece.
To close the path, click the first point again.
Curve a line by dragging as you place a point
The first point is placed with a simple click. For the next points, click, then drag before releasing: the line that ends at this point curves in the direction you drag.
Until you click, the path follows the cursor, already curved by the handle of the previous point.
To close the path, click the first point again.
Adjust the curve with a point's handles
With the Direct selection tool, click a point: its handles appear.
The longer a handle is, the wider the curve on that side.
Turning a handle changes the direction in which the curve leaves the point.
Moving a handle changes only the two lines that touch that point.
Set how the handles behave
By default, the two handles of a point stay symmetric: dragging one turns the other to the opposite side, at the same length. To change this behavior, select the point with the Direct selection tool, then right-click the point, or press and hold on a tablet. The Handles row of the menu offers three choices:
Symmetric: both handles stay opposite and the same length.
Aligned: both handles stay aligned, and each keeps its own length.
Independent: each handle moves on its own, without moving the other.
The point keeps its choice, even after the project is reopened. On the end of an open path, which has only one handle, the three choices are grayed out. Convert to corner, just below, removes the handles. Reset tangents, below it, recalculates the tangents from the two neighboring points: the curve then follows the circular arc that passes through the three points.
A double-click on a point, with the Direct selection tool, switches it from curve to corner, and back. On a point that has handles, they disappear. On a corner point, they come back, calculated from the neighboring points. On a tablet, touch the point twice.
To detach a handle for the length of one gesture, hold Alt while dragging it: the point's choice does not change.
Draw a shape, then reshape it
An ellipse drawn with the Ellipse tool automatically gets its own points, which you can edit like the points of any path created in Diafane.
Hold Alt while dragging to draw it from its center. With Shift, it becomes a perfect circle.
Once your ellipse is created, move one of its points with the Direct selection tool to change its shape.
Draw in one gesture, then correct the points
The Freehand tool follows the movement of your hand. Its Smoothing setting, just above the toolbar, controls how many points are created as you draw.
At the Strong level, the line is reduced to very few points, so you get a smoother shape.
With a lower setting, the path stays closer to your movement but creates many more points.
If the resulting line is not perfect, use the Direct selection tool to move its points and change their curves.
Add points when needed
The Edit point tool adds a point on an existing path without distorting it: hover over a segment, click, and a point appears.
Then drag the point with the Direct selection tool to get the shape you want.
On an existing point, the same tool removes that point. The two neighboring lines merge into a single line that follows the curves set by the remaining points.
Take the time to get familiar with the Pen
You'll thank us! The Pen takes a little practice, but no other tool gives as much control. Each curve is adjusted point by point, and the path has very few points: it stays sharp and easy to correct.
Erase what sticks out with the Eraser
Diafane is specialized software for designing stained glass, so the Eraser focuses on the main use: it erases portions of paths without creating extra points.
The Eraser automatically detects where cames cross. It erases portions of paths relative to the paths that already exist, before considering vector points, and it never erases a whole path.
When you hover, the portion that would be erased lights up in gold, from the crossing or point where it starts to the one where it ends.
In this example, the tail of the stem sticks out of the medallion: one click erases it, and the medallion stays closed.
Color closed areas
In Color mode, the Paint bucket fills an area surrounded by closed paths with a single click. This makes it very important that your paths touch and partly overlap.
Feel free to use the Warnings button, in the left rail, to check that all your pieces are closed.