DX-2200
– SD/HD-SDI Text & Graphics Inserter – User Manual
Page 34 of 103
4.8.1.9.10.2
Text Field Display Example:
G4T" DX-2200-TI-03 "
' set the text to display
G4F3
' select Tahoma Bold 78 pixel height
G4R0
' character red=0
G4G255
' character green=255
G4B0
' character blue=0
G4A128
' 50% character visibility
G4BR0
' background red=0
G4BG0
' background green=0
G4BB64
' background blue=64
G4BA128
' 50% background transparency
G4X730
' start text at x=730
G4Y10
' start text at y=10
G4S
' enable Field 4 and update layer
4.8.1.9.10.3
Rectangle Fields
– Field Type 2
Rectangle Fields are used to display a rectangle that can be either open or filled. A rectangle can be used as
a vertical or horizontal line. The rectangle is drawn between Coordinate A and Coordinate B where
Coordinate A must be the top-left corner and Coordinate B must be the bottom-right corner of the rectangle.
No rectangle will be drawn if the coordinates are not specified in the correct order.
A rectangle may be drawn with either one or two regions depending on the parameters of the Graphic Field.
The Line region is located around the perimeter of the rectangle and is drawn with the line color (as specified
by the GnnRrrr, GnnGggg, GnnBbbb, and GnnAaaa commands). The Line region has a width in pixels that
is specified in the width parameters of the Graphic Field. The default line width is 1pixel. If the line width is
large, the entire interior of the rectangle may be part of the Line region. If the line width is narrow the interior
of the rectangle contains a Fill region.
The command GnnWwwww set the line width to the same value for both the vertical and horizontal lines,
and the command GnnWxxxx,yyyy sets the horizontal line widths (xxxx) and vertical widths (yyyy)
independently. When the Width parameter is set to 0 in the above commands, or when the Width is greater
than half the size of the rectangle, the entire rectangle is drawn with the line color. The line width can also be
set for each side of the rectangle individually. The commands GnnWLwwww, GnnWRwwww, GnnWTwwww,
and GnnWBwwww set the width of the left, right, top and bottom sides of the rectangle respectively. A
parameter value of zero has a different meaning for these commands than it does for the previous
commands. When used with these four commands, the width value zero 0 prevents that side of the
rectangle from being drawn.
The Fill color parameters are set by the GnnBRrrr, GnnBGggg, GnnBBbbb, and GnnBAaaa commands. By
default, the Fill region is the entire interior of the rectangle that is not drawn in the Line color, but it is also
possible to limit the fill to a specified width around the interior of the line. Each side of the rectangle has a fill
width associated with it. The command GnnFXwwww sets the Fill width in pixels inside the left and right
sides of the rectangle, and, GnnFYwwww sets the fill width inside the top and bottom sides of the rectangle.
The commands GnnFLwwww, GnnFRwwww, GnnFTwwww, and GnnFBwwww set the fill width for the left,
right, top, and bottom sides individually. Any pixel that is within the fill width for one or more sides of the
rectangle is part of the Fill region. The default fill width for the left side is 9999, causing the left side fill to
extend throughout the entire interior of any rectangle. The default fill width for the right, top and bottom sides
is 10 pixels.
When a fill region exists, it may either be drawn with the background color, or else the pixels can be left
undrawn. The command GnnBD0 prevents the fill from being drawn, and the command GnnBD1 draws the
Summary of Contents for DX-2200
Page 87: ...DX 2200 SD HD SDI Text Graphics Inserter User Manual Page 87 of 103 ...
Page 92: ...DX 2200 SD HD SDI Text Graphics Inserter User Manual Page 92 of 103 ...
Page 97: ...DX 2200 SD HD SDI Text Graphics Inserter User Manual Page 97 of 103 ...
Page 100: ......
Page 101: ......
Page 102: ......
Page 103: ......