Next: Graphic Markers
Up: Characters and Markers
Previous: Handling Text Strings
Contents
Index
Labels may be automatically positioned with respect to a given position.
This is done using the Centering code, which can be specified in
the /CENTERING option of command LABEL, as the 5-th argument of command DRAW TEXT, or defaulted
to a value set by command SET CENTERING N. This code N is an
integer in the range [0-9] with the following meaning :
- 1 to 9 : The character string is put in position 1 to 9 with respect
to the current pen position (LABEL) or coordinates specified ( DRAW TEXT). The position code corresponds to a standard numeric
keypad as on most terminals, 1 being lower left, 2 lower middle, etc...
- 0 : For command LABEL, it corresponds to code 6, i.e. the label
is just written on the right of the current position. For command DRAW TEXT, the centering is computed according to the location of the
current position with respect to the Box. This location gives a code in
range 1-9 with the same conventions as above. Hence a string written at
the left of the box will be automatically left adjusted (code 4) while a
string written inside the box will be centered and so on.
Next: Graphic Markers
Up: Characters and Markers
Previous: Handling Text Strings
Contents
Index
Gildas manager
2014-07-01