Previous: Elliptic arcs, Up: GO Creating Modes



5.3.4.5 Texts

The position of the text objects is defined by a reference point (hanger) and several properties. The “align” property determines the reference point position with regard to the text bounding box. The “relative-shift” and “absolute-shift” properties determine additional adjustments of the position.

Each text label has several special points useful for aligning. The left reference point is usually a point on text's baseline near the left edge of the leftmost letter and is taken from the used font. We also define the right reference point which is exactly on the right edge of text's bounding box in the current VRR 's version.

First, the label is aligned according to values of “align” and “relative-shift” properties. The result is then translated by “absolute-shift” and transformed with a stored linear transformation (rotation, scale or skew) around the hanger point.

The possible values of “align-x” (the horizontal align) are:

The possible values of “align-y” (the vertical align) are:

sshots/tex.png TeX text

Creates the TeX text object determined by the chosen reference point. A text editor is then opened on the created object (see The Text Editor for further details and the window description).

Type: tex-text
Subtype: tex-text
Anchor: point
Hangers:

sshots/text.png Text

Creates the text object determined by the chosen reference point. A text editor is then opened on the created object (see The Text Editor for further details and the window description).

Please note that the text objects do not support newlines which are drawn as spaces; if you need to create text labels containing several lines of a text, use a TeX-text object instead.

Type: text
Subtype: text
Anchor: point
Hangers: