27 GRAPHICS ENGINE (GE)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
27-31
16 bpp mode: Color[15:0] (D[15:0]) bits are effective
8 bpp mode: Color[7:0] (D[7:0]) bits are effective
4 bpp mode: Color[3:0] (D[3:0]) bits are effective
2 bpp mode: Color[1:0] (D[1:0]) bits are effective
1 bpp mode: Color0 (D0) bit is effective
The color data may be modified before being written to the work area according to the palette and/or
writing effect settings. (See Section 27.3.5.)
Argument 2 (Line width)
D[31:12] Reserved
D[11:0] Line Width[11:0] Bits
Specifies the line width in number of pixels. (See Section 27.3.2.)
Argument 3 (Coordinates of starting point)
D[31:16] Y1 Coordinate[15:0] Bits
Specifies the Y coordinate of the starting point.
D[15:0] X1 Coordinate[15:0] Bits
Specifies the X coordinate of the starting point.
Argument 4 (Coordinates of endpoint)
D[31:16] Y2 Coordinate[15:0] Bits
Specifies the Y coordinate of the endpoint.
D[15:0] X2 Coordinate[15:0] Bits
Specifies the X coordinate of the endpoint.
Work area
(Clipping area)
X1
Y1
(0, 0)
Width
(X2, Y2)
Y2
X2
(X1, Y1)
5.6.1 Straight Line Drawing
Figure 27.
RECT Command (Rectangle Drawing)
27.5.7
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
0x12
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
reserved
Line Width
ARG3
Y1 Coordinate
X1 Coordinate
ARG4
Y2 Coordinate
X2 Coordinate