Quantum Data 802BT User Manual page 507

Video test generator
Hide thumbs Also See for 802BT:
Table of Contents

Advertisement

RECT
Class
Description
Command syntax
Other required
commands
Example
Video Test Generator User Guide
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
497

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

802r

Table of Contents