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


 
6-133
HATI draw a centered crossHATch from the Inside
out
Classification: Custom image primitive
Command Syntax: HATI <color> <number of horizontal boxes> <number of
vertical boxes>
Limits: <color> = available colors
<number of horizontal boxes> = half of number of pixels
<number of vertical boxes> = half of number of lines
Query Syntax: None
Description: Draws a crosshatch from the Inside-Out of a given color and
forms a given number of boxes in each direction. The primitive
has center lines that divide the active video exactly in half in
each direction. The vertical center line is two (2) pixels thick if
the format has an even number of active pixels. The horizontal
center line is two (2) pixels thick if the format has an even
number of active lines. All other lines are one (1) pixel thick. If
you enter an odd number of boxes, a half box is placed at each
end of the crosshatch. All lines in a given direction are spaced
equally. Any remaining pixels are distributed as equally as
possible around the perimeter of the grid. This may cause the
first and last lines in each direction not to be at the very edges
of video. In turn, this may cause any half boxes to be slightly
larger.
Other Required Cmds: The FMTU command instructs the generator to use the new
setting. The ALLU command updates hardware to the new setting
and redraws the test image.
Example: HATI green 15 9 // Draw a green grid
// with 15 horizontal and 9
// vertical boxes
ALLU // Update hardware to current
// buffer contents