Quantum Data 881 User Manual page 812

Video test instrument
Hide thumbs Also See for 881:
Table of Contents

Advertisement

RECT
Class
Description
Command syntax
Other required
commands
Example
Appendix A Command Reference
784
draw a RECTangle
Custom image primitive
Draws a rectangle whose sides are parallel to the vertical and horizontal axes of displayed
video. It uses six 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 corner of the rectangle. The last parameter is the fill.
RECT color width height x y fill
color
available colors
width
total number of horizontal pixels
height
total number of lines
x, y
positive integer numbers
fill
available fill patterns
The
FMTU
command instructs the generator to use the new setting. The
updates hardware to the new setting and redraws the test image.
RECT gray50 15 20 50 40 GrayPat50
// Draw a 50% gray rectangle 15 pixels wide and 20 pixels high
// with top left corner at X=50, Y=40 Fill with 50% active pixels
ALLU
// Update hardware to current buffer contents
ALLU
command

Advertisement

Table of Contents
loading

This manual is also suitable for:

882

Table of Contents