Creates a string-drawing-object.
A font-description object, an integer or
A generalized boolean.
One of the keywords
:center, or a number.
font-descriptor can be a font-description specifying the font to use. It can also be an integer specifying the size only, which is equivalent to
(gp:make-font-description :size font-descriptor )
x-adjust and y-adjust specify adjustment to the position of the string. The adjustments are done independently vertically and horizontally. The drawing point is the left/corner of the current geometry (inherited from the parent). If x-adjust and y-adjust are not supplied, the string is drawn at the drawing point. Note that this means that the descent part is below this point. If x-adjust and/or y-adjust are supplied, they can be one of:
Align the "end" (right side or top) of the string with the drawing point.
Align the center of the string with the drawing point.
Multiply by the average width ( x-adjust ) or height ( y-adjust ) of the font and add to the drawing point.
Any other value of x-adjust or y-adjust is regarded as no adjustment. Adjustments are applied in the same scope as drawing the string, which means they are scaled or not depending on the value absolute . However, the y direction still increases upwards when computing the y adjustment.
can also contain all the keyword arguments that draw-string takes, but
:font is overridden by the
See drawing-object about the drawing operation and the meaning of "parent" and "root pane".
CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015