6-29
The Line primitive draws a line between any two
points. The line is one pixel thick. The primitive
uses five(5) parameters, the color and the X and Y
coordinates for both endpoints. The following ex-
ample draws a yellow line between a point 20 pix-
els to the right and 5 pixels below the top left corner
of active video and a point 320 pixels to the right
and 240 pixels below the top left corner of active
video:
Line Yellow
2Ø
5
32Ø
24Ø
The Dot primitive draws a single pixel dot. A dot is
the smallest graphic element that can be drawn. The
primitive uses three (3) parameters, the color and
the X and Y coordinates. The following example draws
a white dot that is at a point 200 pixels to the right
and 300 pixels below the top left corner of active
video:
Dot White
2ØØ
3ØØ
The Grid primitive draws a crosshatch of a given
color and forming a given number of boxes in each
direction. All lines are 1 pixel thick. All of the lines,
in a given direction, are equally spaced. Any re-
maining pixels are distributed as equally as possible
around the perimeter of the grid. This may cause
the first and last lines in each direction not to be at
the very edges of video. The following example draws
a 75% gray level grid that has 14 boxes horizontally
and 10 boxes vertically:
G r i d G r a y 7 5 1 4 1 Ø
The H-Grill primitive draws equally spaced hori-
zontal lines that form a grill over the entire active
video area. The gap between the lines is equal to
the thickness of the lines. The gaps are not touched
and will show any previously drawn primitives. The
primitive uses two (2) parameters. The first is the
color of the lines. The second is the thickness of the
lines. The following example draws a green hori-
zontal grill whose lines are 4 pixels thick and have
4 pixel gaps between the lines:
H - G r i l l G r e e n 4
Summary of Contents for 801GC, 801GF, 801GX
Page 1: ...Owner s and Programmer s Manual Model 801GC 801GF 801GX Portable Video Signal Generators ...
Page 16: ...xiv Table of Contents Models 801GC 801GF 801GX Rev A Notes ...
Page 17: ...1 1 Features Product Overview Chapter 1 Introduction ...
Page 21: ...2 1 Operating Modes Displays Indicators Knobs Switches Buttons Chapter 2 Basic Operation ...
Page 31: ...3 1 Introduction Format charts Chapter 3 Built In Formats ...
Page 39: ...4 1 Description of the test images and how to use them Chapter 4 Built In Images ...
Page 126: ...5 14 Chapter 5 Making Connections Model 801GC 801GF 801GX Rev A Notes ...
Page 304: ...6 178 Chapter 6 Programming Model 801GC 801GF 801GX Rev A Notes ...
Page 305: ...7 1 Power on Computer Interfacing If all else fails Chapter 7 Troubleshooting ...
Page 346: ...A 6 Appendix A Specifications Model 801GC 801GF 801GX Rev A Notes ...
Page 355: ...Notes ...