Quantum Data 801GC, 801GF, 801GX manual Draw a centered Grid, Grih, 131

Models: 801GC, 801GF, 801GX

1 356
Download 356 pages 47.77 Kb
Page 257
Image 257

GRID

draw a centered GRID

Classification:

Custom image primitive

Command Syntax:

GRID <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 of a given color and forms a given number

 

of boxes in each direction. All lines are one (1) pixel thick. All

 

of the lines, in a given direction, are equally spaced. 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.

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:

G R I D g r a y 7 5 1 4 1 0 / / D r a w a g r a y 7 5 g r i d

 

/ / w i t h 1 4 h o r i z o n t a l a n d 1 0 ˚

 

/ / v e r t i c a l b o x e s

 

A L L U / / U p d a t e h a r d w a r e t o c u r r e n t

 

/ / b u f f e r c o n t e n t s

GRIH

draw a GRIll pattern of Horizontal lines

Classification:

Custom image primitive

Command Syntax:

GRIH <color> <number of pixels in line> < number of pixels

 

in space>

Limits:

<color> = available colors

 

<number of pixels in line> = number of pixels

<number of pixels in space> = number of pixels Query Syntax: None

Description: Draws equally spaced horizontal lines that form a grill over the entire active video area. The primitive uses three (3) parameters. The first is the color of the lines. The second is the thickness of the lines and the third is the thickness of the space between the lines.

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: G R I H

g r e e n 4 6 / / D r a w g r e e n g r i d w i t h

 

/ / 4 - p i x e l l i n e s a n d 6 - p i x e l s p a c e s

A L L U

/ /

U p d a t e h a r d w a r e t o c u r r e n t

 

/ /

b u f f e r c o n t e n t s

6-131

Page 257
Image 257
Quantum Data 801GC, 801GF, 801GX manual Draw a centered Grid, Grih, Draw a GRIll pattern of Horizontal lines, 131