Visagrafía®
English

Grapheme editor

The grapheme editor draws the basic shapes. A grapheme is a set of objects (polygons) made of vertices and straight or curved segments, each with its position, scale, rotation and stroke. It opens with a click on a grapheme in the browser (Graphemes chip).

The grapheme editor with the object of the Face grapheme selected.
The grapheme editor with the object of the Face grapheme selected.

The layout is the same as the ideogram editor's: toolbar, canvas with grid and origin guides, properties panel on the left, zoom bar. What changes is the floating box, here the Primitives box, and the vertex handles. The grapheme editor shows neither the glyph page nor the percentile frames: a grapheme has no size of its own in the text, it takes it from every ideogram that uses it.

The primitives

The primitives box.
The primitives box.

The Primitives box adds a new object at the centre of the view, with the same geometry as in the original program (the ellipse is a Bézier with κ = 0.5522847498):

PrimitiveShape
lineA two-vertex segment.
circle, ellipseFour Bézier arcs.
square, rectangleFour vertices at the corners.
triangleThree vertices.
rhombusFour vertices at the midpoints of the box's sides.
polygonA free polygon, drawn click by click.

Every new object gets the name of its primitive with a running number ("circle 1", "line 2") and the default stroke (18.75 units, the original program's "8"), and is left selected.

Drawing a free polygon

Drawing a free polygon: the placed vertices and the rubber segment.
Drawing a free polygon: the placed vertices and the rubber segment.

When polygon is chosen the cursor becomes a cross and a hint appears at the bottom:

  1. Every click adds a vertex; with Shift the vertex snaps to the grid. A dashed line shows the segment to the pointer.
  2. To close, with at least three vertices: click on the first vertex, double-click or Enter.
  3. Escape cancels the drawing.

The polygon is created with straight segments; turn them into curves afterwards.

Selecting, moving, transforming

Same as in the ideogram editor: click to select, Shift+click to add or remove, drag on the background for marquee selection (objects fully inside), drag the body to move (Shift snaps to the grid), arrows to move 1 unit (Shift to the next grid line), Delete to delete, Ctrl+drag or middle button to pan, wheel to zoom.

The gizmo is the same too: edge handles (one axis), corner handles (uniform), rotation handle (Shift = 15° steps) and rotation centre (drag, Shift snaps, double-click resets). The details are in the gizmo.

Vertices and curves

The handles of the selected object: vertices, control points and segment toggles.
The handles of the selected object: vertices, control points and segment toggles.

Only the selected object shows its nodes:

HandleLookAction
VertexSquareDragging moves it; with Shift it snaps to the grid. Right-click: node menu.
Control pointRed circle joined to the vertex by a lineCurved segments only: dragging shapes the Bézier curve (two control points per segment).
Segment toggleSmall circle at the midpoint of every segmentClick turns the segment from straight to curve or from curve to straight. Right-click offers the same in a menu. A new curve starts with its control points on the straight line, so it looks the same until you move them.
The menu of a vertex.
The menu of a vertex.

The vertex menu (right-click on the square):

Mirroring

Mirror horizontal / vertical (context menu, ⇋ ⇵ buttons in the panel) reflect each polygon across the vertical or horizontal line through its rotation centre (the pivot, or the position when it was never moved). Every node is recomputed — vertices and control points — and the rotation changes sign; the X and Y scales do not change. With several selected, each one is reflected about its own centre, which does not move.

Copy, cut and paste

Selected polygons are copied with Ctrl+C (or Copy in the Edit menu or the context menu), cut with Ctrl+X and pasted with Ctrl+V. What is pasted lands one grid step up and to the right of the original (each further paste, one step more), gets a new name and stays selected. The clipboard is shared by every open tab.

The properties panel

The Grapheme box of the properties panel.
The Grapheme box of the properties panel.

The header shows the grapheme's name with ✎ Rename and ⧉ Clone. When renaming a grapheme the confirmation dialog says how many ideograms use it and lists the first ones: all of them get the new name (in their versions, working copies and snapshots), so XML exports stay consistent; the drawing does not change because references resolve by identity.

Grapheme box:

FieldDetail
nameThe object's label (editable).
x, yPosition in font units.
scale x, scale yGreater than 0; ⇋ ⇵ mirror.
rotationDegrees.
strokeThe stroke thickness (minimum 1). Disabled while the object is filled.
filled (no stroke)Ticked, the object is drawn as a solid shape (stroke 0 in the file); unticking restores the stroke it had.
rotation centreAs with ideograms.
Delete objectRemoves the object.

The History and Localized names boxes are the same as in the ideogram editor: see Versions and snapshots and localized names. The localized names of graphemes are what shows in the ideogram editor's grapheme toolbox, in the text editor's Graphemes panel and in the keyboards' palettes.

The context menu

On an object, the same as in the ideogram editor: Select, Snap to grid, Mirror horizontally / vertically, Rotate 90° clockwise / counter-clockwise, Duplicate (the copy is named automatically) and Delete. On a vertex, the node menu; on a toggle, convert to curve or to straight.

Tips