Video Test Generator User Guide 363
HATI draw a centered crossHATch from the Inside out
Class Custom image primitive
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 2 pixels thick if the format has an even
number of active pixels. The horizontal center line is 2 pixels thick if the format has an
even number of active lines. All other lines are 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.
Command syntax HATI color horizontal_boxes vertical_boxes
color
available colors
horizontal_boxes
number of horizontal boxes (half of number of pixels)
vertical_boxes
number of vertical boxes (half of number of lines)
Other required
commands The FMTU command instructs the generator to use the new settings. The ALLU command
updates the hardware to the new settings 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