Quantum Data 801GC, 801GF, 801GX manual Rect, Draw a RECTangle, Scal, Self CALibrate, 158

Models: 801GC, 801GF, 801GX

1 356
Download 356 pages 47.77 Kb
Page 284
Image 284

RECT

draw a RECTangle

Classification:

Custom image primitive

Command Syntax:

RECT <color> <width> <height> <x> <y> <fill pattern>

Limits:

<color> = available colors

 

<width> = total number of horizontal pixels

 

<height> = total number of lines

 

<x> = positive integer number

 

<y> = positive integer number

 

<fill pattern> = available fill paterns

Query Syntax:

None

Description:

Draws a rectangle whose sides are parallel to the vertical and

 

horizontal axes of displayed video. It uses six (6) parameters.

 

The first is the color of the line. The next two parameters are

 

the pixel width and height of the rectangle. The fourth and

 

fifth parameters are the X and Y coordinates for the top left-

 

hand corner of the rectangle. The last parameter is the fill.

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: R E C T g r a y 5 0 1 5 2 0 5 0 4 0 G r a y P a t 5 0

/ / D r a w a 5 0 % g r a y r e c t a n g l e 1 5

/ / p i x e l s w i d e a n d 2 0 p i x e l s h i g h / / w i t h t o p l e f t c o r n e r a t X = 5 0 ,

/ / Y = 4 0 F i l l w i t h 5 0 % a c t i v e p i x e l 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

SCAL

Self CALibrate

Classification:

Direct processor control

Command Syntax:

SCAL

 

Query Syntax:

None

 

Description:

The SCAL command causes generator equipped with self-

 

calibration circuitry to go through its self-calibration cycle.

Other Required Cmds:

None

 

Example:

S C A L / /

H a v e g e n e r a t o r g o t h r o u g h s e l f

 

/ /

c a l

6-158

Chapter 6: Programming

Model 801GC, 801GF & 801GX¥Rev. A

Page 284
Image 284
Quantum Data 801GC, 801GF, 801GX manual Rect, Draw a RECTangle, Scal, Self CALibrate, 158