Video Test Generator User Guide
551
TRIA
draw a TRIAngle
Class
Custom image primitive
Description
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.
Command syntax
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
Other required
commands
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
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
Summary of Contents for 802BT
Page 1: ...802BT 802R Video Test Generator User Guide ...
Page 52: ...42 Chapter 2 Testing Video Displays ...
Page 62: ...52 Chapter 3 Administrative Tasks ...
Page 118: ...108 Chapter 7 Using GPIB Interface ...
Page 194: ...184 Chapter 10 Testing EDID ...
Page 204: ...194 Chapter 11 Testing HDCP ...
Page 214: ...204 Appendix A Command Reference Commands by name ...
Page 595: ...Video Test Generator User Guide 585 ...
Page 611: ...Video Test Generator User Guide 601 ...
Page 612: ...602 Appendix A Command Reference ...
Page 716: ...706 Appendix B Image Reference ...
Page 744: ...734 Appendix C Error Messages ...