Quantum Data 802BT User Manual page 561

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

Advertisement

TRIA
Class
Description
Command syntax
Other required
commands
Example
Video Test Generator User Guide
draw a TRIAngle
Custom image primitive
Draws a triangle defined by its three end points. The primitive uses eight parameters. The
first is line color. The next three pairs of parameters are the x and y coordinates for the
three points. The last parameter is the fill. More complex filled polygons can be built up
using a series of joined filled triangles.
TRIA color x1 y1 x2 y2 x3 y3 fill
color
available colors
x1, y1, x2, y2, x3, y3
positive integer number
fill
available fill pattern
The
FMTU
command instructs the generator to use the new setting. The
updates hardware to the new setting and redraws the test image.
TRIA red50 10 5 10 25 40 15 GrayPat50
// Draw a red50 triangle at x=10,
// y=5; x=10, y=25; x=40, y=15 with
// 50% active pixel fill
ALLU // Update hardware to current
// buffer contents
ALLU
command
551

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

802r

Table of Contents