larger. The following example draws a yellow cross- hatch that has 15 boxes horizontally and 9 boxes vertically:

HatchI-O Yellow 15 9

The Hatch_O-I primitive draws a crosshatch from the “Outside-In” of a given color and forming a given number of boxes in each direction. All lines are 1 pixel thick. The first and last lines in each direction are at the very edges of active video. All of the lines, in a given direction, are equally spaced. Any re- maining pixels are added to the boxes along the horizontal and vertical centers of the image. The following example draws a green crosshatch that has

15 boxes horizontally and 9 boxes vertically:

HatchO-I Green 15 9

The Cross primitive draws a large centered cross that fills the active video area. The vertical line is 2 pixels 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 primitive uses a single parameter, the color of the cross. The following example draws a magenta cross:

Cross Magenta

The Text primitive draws a user defined text string. The primitive uses five (5) parameters. The first is the color. The next two parameters are X and Y coordinates for the location of the top left corner of the text. The fourth parameter is the number of the font set. A list of available font sets is shown on an earlier page.

The last parameter is the text string to be drawn. When you edit this parameter, a small window pops up that shows the current string contents and a character list. The knobs and keys are used to modify the string.

The following example draws a white “Hello World” text string near the top left corner of the screen using font set #0:

Text White 10 10 0 Hello World

6-33

Page 159
Image 159
Quantum Data 801GC, 801GF, 801GX manual HatchI-O Yellow 15