Quantum Data 801GC, 801GF, 801GX Portable Generator User Manual


 
6-31
The primitive uses three (3) parameters. The first is
the color. The second parameter is the code number
of the character. For most alpha-numeric fonts, the
character number will be the same as the decimal
ASCII code number of the character. The last pa-
rameter is the number of the font library.
The current firmware includes ten font sets. The fonts
are described in the table on the previous page. Font
sets #Ø and #1 have a full set of ASCII upper and
lower case letters plus numbers and punctuation
marks. Font #Ø is used for the GUI editor screens.
The remaining font sets only have one or two char-
acters each. These are used bu the focus checking
test images.
The following example draws white upper case let-
ter “X” characters from font set #0:
Characters White 88 Ø
The Limits primitive places nine (9) markers that
define the active video area. An “L” shaped marker
is positioned at each corner. “T” shaped markers
are centered along each edge of video and a small
cross is placed at the center of video. The primitive
uses a single parameter, the color used for all of the
markers. The following example draws white mark-
ers:
Limits White
The Centermark primitive draws a small cross in
the center of active video. The vertical line is 2 pix-
els thick if the format has an even number of active
pixels. The horizontal line is 2 pixels thick if the
format has an even number of active lines. The primi-
tive uses a single parameter, the color of the cross.
The following example draws a red marker:
Centermark Red
The Triangle primitive draws a triangle defined by
its three endpoints. The primitive uses eight (8) pa-
rameters. The first is the color. The next three pairs
of parameters are the X and Y coordinates for the
three endpoints. The last parameter is the fill flag.
More complex filled polygons can be built up using