Hato – Quantum Data 802BT User Manual

Page 374

Advertising
background image

364

Appendix A Command Reference

HATO

draw a centered crossHATch from the Outside in

Class

Custom image primitive

Description

Draws a crosshatch from the outside-in of a given color and forms 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 the lines in a given direction are spaced equally.

Any remaining pixels are added to the boxes along the horizontal and vertical centers of

the image.

Command syntax

HATO 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

HATO yellow 15 9 // Draw a yellow grid with 15 horizontal

// and 9 vertical boxes

ALLU

// Update hardware to current buffer contents

Advertising
This manual is related to the following products: