Show – AMT Datasouth PAL User Manual

Page 186

Advertising
background image

show

180

show

Description

Draw text on the page at the current coordinate using the current font.

Usage

ShowStr

show

ShowStr

String. Text for PAL to draw at the current coordinate.

Comments

The programmer can use the moveto or rmoveto operator to place the current coordinate at the
desired position for drawing the text. PAL provides the findfont, scalefont, and setfont operators
for establishing the desired font to use for drawing text.

The current coordinate establishes the inline and baseline position of the first character drawn. For
Roman characters, the inline position specifies the left edge of the character. The baseline position
establishes the imaginary line upon which PAL will draw the characters. Characters with decenders
will drop below the baseline.

For non-Roman fonts, PAL will treat the inline and baseline positions in a manner appropriate to
the font.

PAL automatically updates the current coordinate to the appropriate new inline and baseline
positions following the last character drawn.

Advertising