6-28
Chapter 6: Programming
Model 801GC, 801GF & 801GX¥Rev. A
The Rectangle primitive draws a rectangle whose
sides are parallel to the vertical and horizontal axis
of displayed video. The primitive uses six (6) pa-
rameters. The first is the color. The next two param-
eters are the width and height of the rectangle in
pixels. The second two parameters are the X and Y
coordinates for the top left-hand corner of the rect-
angle. The last parameter is the fill flag. The follow-
ing example draws a 50% gray rectangular filled solid
that is 15 pixels wide by 20 pixels high and has its
top left corner located 50 pixels to the right and 40
pixels below the top left corner of active video:
R e c t a n g l e G r a y 5 0 1 5 2 Ø 5 Ø
4 Ø
1
The Oval primitive draws an oval whose axes are
parallel to the vertical and horizontal axis of dis-
played video. The size and position of the oval is
defined by its framing rectangle. The framing rect-
angle is a rectangle whose sides are both tangent to
the oval at four points and are parallel to the verti-
cal and horizontal axis of displayed video. The fram-
ing rectangle is not drawn as part of the primitive.
The figure shows the relationship of an oval to its
framing rectangle.
The primitive uses six (6) parameters. The first is
the color. The next two parameters are the width
and height of the framing rectangle in pixels. The
second two parameters are the X and Y coordinates
for the top left-hand corner of the framing rectangle.
The last parameter is the fill flag. The following
example draws a red oval that is 240 pixels wide by
150 pixels high and has the framing rectangle’s top
left corner located 20 pixels to the right and 10 pix-
els below the top left corner of active video:
Oval
Red 24Ø
15Ø
2Ø
1Ø
Ø
width
height
left, top
Содержание 801GC, 801GF, 801GX
Страница 1: ...Owner s and Programmer s Manual Model 801GC 801GF 801GX Portable Video Signal Generators ...
Страница 16: ...xiv Table of Contents Models 801GC 801GF 801GX Rev A Notes ...
Страница 17: ...1 1 Features Product Overview Chapter 1 Introduction ...
Страница 21: ...2 1 Operating Modes Displays Indicators Knobs Switches Buttons Chapter 2 Basic Operation ...
Страница 31: ...3 1 Introduction Format charts Chapter 3 Built In Formats ...
Страница 39: ...4 1 Description of the test images and how to use them Chapter 4 Built In Images ...
Страница 126: ...5 14 Chapter 5 Making Connections Model 801GC 801GF 801GX Rev A Notes ...
Страница 304: ...6 178 Chapter 6 Programming Model 801GC 801GF 801GX Rev A Notes ...
Страница 305: ...7 1 Power on Computer Interfacing If all else fails Chapter 7 Troubleshooting ...
Страница 309: ...8 1 System Errors Format Errors System Error Message Summary Format Error Message Summary Chapter 8 Error Messages ...
Страница 335: ...9 1 Chapter 9 Service New Product Warranty Product Updates Service Agreements Authorized Service Centers ...
Страница 346: ...A 6 Appendix A Specifications Model 801GC 801GF 801GX Rev A Notes ...
Страница 355: ...Notes ...