27 GRAPHICS ENGINE (GE)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
27-7
Width
Width
(X1, Y1)
(X1, Y1)
2
+
1
+
2
2
+
1
+
2
Odd number of line width
(example: width = 5 pixels)
Width
Width
(X1, Y1)
(X1, Y1)
2
+
2
2
+
2
Even number of line width
(example: width = 4 pixels)
3.2.4 Drawing Line with Even Number of Line Width
Figure 27.
Rectangle/quadrilateral/triangle
Rectangle drawing / RECT command (0x12)
Draws a rectangle with the colored line specified. Specify the X and Y coordinates of the upper left and
lower right corners. The line width can also be specified in number of pixels.
Work area
(Clipping area)
X1
Y1
(0, 0)
Width
(X2, Y2)
Y2
X2
(X1, Y1)
3.2.5 Drawing Rectangular Line
Figure 27.
The line drawing method for an even number of line width is the same as that of straight line drawing.
Solid filled rectangle drawing / RECT_FILL command (0x17)
Draws a solid filled rectangle specified with the X and Y coordinates of the upper left and lower right cor-
ners, and a color.
Work area
(Clipping area)
X1
Y1
(0, 0)
(X2, Y2)
Y2
X2
(X1, Y1)
3.2.6 Drawing Solid Filled Rectangle
Figure 27.
Solid filled quadrilateral drawing / QUAD_FILL command (0x18)
Draws a solid filled quadrilateral specified with the X and Y coordinates of the four vertices, and a color.