27 GRAPHICS ENGINE (GE)
27-8
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Work area
(Clipping area)
X1
Y1
(0, 0)
(X2, Y2)
(X3, Y3)
Y4
Y3
Y2
X3
X2
X4
(X4, Y4)
OK
NG
(X1, Y1)
3.2.7 Drawing Solid Filled Quadrilateral
Figure 27.
This command supports convex quadrilaterals only. An error results if a concave quadrilateral is specified
when calculation error interrupts are enabled. The X and Y coordinates of four vertices must be specified in
a clockwise direction.
Solid filled triangle drawing / TRI_FILL command (0x16)
Draws a solid filled triangle specified with the X and Y coordinates of the three vertices, and a color.
Work area
(Clipping area)
X1
Y1
(0, 0)
(X2, Y2)
(X3, Y3)
Y2
Y3
X3
X2
(X1, Y1)
3.2.8 Drawing Solid Filled Triangle
Figure 27.
The X and Y coordinates of three vertices must be specified in a clockwise direction.
Circle
Circle drawing / CIRCLE command (0x1b)
Draws the circumference of a circle specified with the center coordinates, radius, and a line color. The line
width can be specified in number of pixels. Furthermore, this command allows selection of the arcs to be
drawn from the eight segments split by 45° (multiple segments can be selected).
Work area
(Clipping area)
X
Y
(0, 0)
0x1
0x1
0x3
0x2
0xf
0x4
0x3f
0x8
0x11
0x10
0x33
0x20
0x55
0x40
0x6f
0x80
0xff
0x8
0x80
0x10
0x2
0x4
0x40
0x20
Arc selections (1/8 Position Select)
Examples:
Width
r
(X, Y)
3.2.9 Circle Drawing
Figure 27.