DX-2200
– Dual-view 2x1 SDI Video Switcher
Page 38 of 87
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,
SnnGggg, SnnBbbb, and SnnAaaa 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 SnnWwwww set the line width to the same value for both the
vertical and horizontal lines, and the command SnnWxxxx,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 SnnWLwwww, SnnWRwwww, SnnWTwwww, and SnnWBwwww 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 SnnBRrrr, SnnBGggg, SnnBBbbb, and
SnnBAaaa 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 SnnFXwwww sets the Fill width in pixels
inside the left and right sides of the rectangle, and, SnnFYwwww sets the fill width
inside the top and bottom sides of the rectangle.
The commands SnnFLwwww, SnnFRwwww, SnnFTwwww, and SnnFBwwww 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 SnnBD0 prevents the fill from being
drawn, and the command SnnBD1 draws the fill. By default, the rectangle Fill is
blue, fully transparent, and not drawn. Choosing not to draw the fill is different than
drawing a fully transparent fill:
Summary of Contents for DX-2200-SW-02
Page 84: ...Page 84 of 87 ...
Page 85: ...Page 85 of 87 ...
Page 86: ...Page 86 of 87 ...
Page 87: ...Page 87 of 87 ...