27 GRAPHICS ENGINE (GE)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
27-35
Notes: • The coordinates of three vertices must be specified in a clockwise direction. No error occurs
when specified in a counterclockwise direction, note, however, that an unexpected drawing will
result.
• Be sure to avoid specifications in which three vertices are aligned in a line. No error occurs in
this case, note, however, that an unexpected drawing will result. If the same coordinates are
specified for two or three vertices, a line or dot will be drawn.
Work area
(Clipping area)
X1
Y1
(0, 0)
(X2, Y2)
(X3, Y3)
Y2
Y3
X3
X2
(X1, Y1)
5.8.1 Drawing Solid Filled Triangle
Figure 27.
RECT_FILL Command (Solid Filled Rectangle Drawing)
27.5.9
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CMD
0x17
0xffff
ARG1
Effect Setting
Color
reserved
C
lip
E
na
bl
e
Tr
an
sp
ar
en
t E
na
bl
e
P
al
et
te
S
el
ec
t
S
yn
c
E
na
bl
e
W
rit
e
E
ffe
ct
S
et
tin
g
ARG2
Y1 Coordinate
X1 Coordinate
ARG3
Y2 Coordinate
X2 Coordinate
The RECT_FILL command draws a solid filled rectangle specified with the X and Y coordinates of the upper left
and lower right corners, and a color.
Argument 1 (Drawing effects and color)
D[31:24] Reserved
D23
Clip Enable Bit
Enables or disables the clipping function. (See Section 27.3.5.)
1: Clipping enabled
0: Clipping disabled
D22
Transparent Enable Bit
Enables or disables transparency. (See Section 27.3.5.)
1: Transparency enabled
0: Transparency disabled
D[21:20] Palette Select[1:0] Bits
Selects the palette to be used when converting colors with a palette. (See Section 27.3.5.)
5.9.1 Palette Selection
Table 27.
Palette Select[1:0] bits
Palette
0x3
Palette 3
0x2
Palette 2
0x1
Palette 1
0x0
Not used