27 GRAPHICS ENGINE (GE)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
27-9
Solid filled circle drawing / CIRCLE_FILL command (0x1c)
Draws a solid filled circle specified with the center coordinates, radius, and a color. Furthermore, this com-
mand allows selection of the circular sections to be drawn from the eight portions split by 45° (multiple
portions 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
Circular section selections
(1/8 Position Select)
Examples:
r
(X, Y)
3.2.10 Drawing Solid Filled Circle
Figure 27.
Drawing Characters and Symbols
27.3.3
By loading bitmap font data in the memory, characters and symbols can be drawn on the work area.
Font configuration / FONT_CFG command (0x20)
Sets the font information, such as the memory location where the font data (character set) is stored, character
and background colors, and font bitmap size, to the GE module. This setting must be performed before starting
character drawing.
Font data example (9
×
12 font)
Font data layout in memory
Byte n
2 bytes
*
3
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
2 bytes
*
3
0 or X bytes
*
1
(optional)
n bytes
*
2
...
...
...
*
1:
*
2:
*
3:
X (index code size in bytes) must be specified as the Font Index Offset parameter in the font configuration command.
Width + 7
n = int
(
—————
)
×
Height [bytes] (24 bytes in this example)
8
Font base address is the start address of the first character data. The font header is not started from the font base address.
Height = 12 pixels
Width = 9 pixels
9 pixels
Font set base address
7
Line 1
Line 12
Pixel
0
1
9
7
0
Byte n + 1
Padding
Width (0x9)
Font bitmap data
Font bitmap data
Index code
Index code
Height (0xc)
Bitmap data
00000000 (0x00)
01111111 (0x7f)
01111111 (0x7f)
01100000 (0x60)
01100000 (0x60)
01111100 (0x7c)
01111100 (0x7c)
01100000 (0x60)
01100000 (0x60)
01100000 (0x60)
01100000 (0x60)
00000000 (0x00)
Byte No.
1
3
5
7
9
11
13
15
17
19
21
23
12 pixels
1st character data (index 0)
Bitmap data
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
00000000 (0x00)
Byte No.
2
4
6
8
10
12
14
16
18
20
22
24
2nd character data (index 1)
Font bitmap data
0x00 0x00 0x7f 0x00 0x7f 0x00 0x60 0x00 0x60 0x00 0x7c 0x00 0x7c 0x00 0x60 0x00 0x60 0x00 0x60 0x00 0x60 0x00 0x00 0x00
Index code
3.3.1 Font Data Format
Figure 27.