Drawing Text

This section describes the commands for drawing text strings. The commands for determining how much space will be occupied by a given string are documented in pxl-font-siz. Fonts in general are documented in pxl-font.

In all of these primitives, the string to be drawn may be either a Prolog atom or a chars, that is a list of character codes. This later form is quite handy for code that builds up strings to be drawn by appending together strings, since it is not necessary to turn them into atoms in order to draw them.