
Rev. 2.0, 09/02, page 102 of 366
15
0
11
10
DRAW MODE
CODE
TRNS STYL
TRNS STYL
TRNS STYL
TRNS
CLIP
CLIP
CLIP
CLIP
CLIP
CLIP
CLIP
CLIP
CLIP
NET
NET
NET
NET
NET
0
LNi
1
EOS
EOS
EOS
EOS
EOS
WORK
WORK
WORK
WORK
WORK
FST
0
REL
REL
REL
0
EOS
EOS
EOS
EOS
FST
EDG
TRNS
1
NET
NET
W2UL
0
COOF
COOF
HALF
FWDR
EDG1
W2DR
1
FWUL
EDG2
REL
CLIP
POLYGON4A
POLYGON4A
POLYGON4B
POLYGON4B
POLYGON4C
FTRAP, RFTRAP
LINEW, RLINEW
LINE, RLINE
PLINE, RPLINE
JUMP, GOSUB
CLRW
(Commands other than the above)
Note: Shaded areas should be cleared to 0.
FWUL, W2UL, FWDR, W2DR: Bold line drawing bits
REL: Relative address specification
EDG: Edge drawing bit
Figure 3.43 Rendering Attribute Bit Arrangement
(1) Transparency Specification (TRNS)
When color expansion of binary source data is performed, transparency or non-transparency can
be selected on an individual drawing command basis with the TRNS bit. When transparency is
selected, a 0 in the binary source data is transparent and a 1 has the value of the COLOR1
parameter. When non-transparency is selected, a binary data 0 has the value of the COLOR0
parameter, and a 1 has the value of the COLOR1 parameter. With multi-valued source data, all-0
data becomes a transparent color, and those pixels are not drawn. The transparency specification
can be used with the POLYGON4A, POLYGON4B, PLINE, and RPLINE commands; in other
commands, the TRNS bit should be cleared to 0.
(2) Source Style Specification (STYL)
When drawing a rectangle, the STYL bit can be used to select, on an individual drawing command
basis, whether the source data is to be enlarged or reduced, or referenced repeatedly. If no style
specification is made, the source data is enlarged or reduced in proportion to the size of the
rendering area. When a style specification is made, the source data is referenced repeatedly in
proportion to the size of the rendering area. This attribute is therefore used when drawing repeated
patterns such as hatch patterns. The source style specification can be used with the POLYGON4A,
POLYGON4B, PLINE, and RPLINE commands; in other commands, the STYL bit should be
cleared to 0. When a source style specification is used, do not make a source half specification.
An example of a source style specification is shown in figure 3.44.