User’s Manual
29
ZEKA LP
7.3.4. DRAW RECTANGLE
Three commands are suited for this.
LO
draws unconditionally with black,
LE
inverts the dots that are under the line (XOR mode), and
LW
draws
unconditionally with white.
Format:
LOa,b,c,d
or
LEa,b,c,d
or
LWa,b,c,d
a
starting X co-ordinate: 0..2047
b
starting Y co-ordinate: 0..2047
c
size along X: 1..2048
d
size along Y: 1..2048
example
:
LO10,10,100,200
Draws rectangle with co-ordinates (10,10),
(110,10), (110,210) and (10,210) in black color.7.3.5. Draw line
Format:
LS[m]a,b,c,d,e
m
non compulsory parameter. Value
E
: XOR mode,
W
: white.
a
Start X co-ordinate: 0..2047
b
Start Y co-ordinate: 0..2047
c
Line thickness: 1..80
d
End X co-ordinate: 0..2047
e
End Y co-ordinate: 0..2047
Example
:
LSE10,10,8,100,200
Draws line starting from (10,10) to co-
ordinate (100,200) thickness - 8 dots, that inverts the image that is below.
7.3.5. DRAW FRAME
The command draws rectangle frame with certain thickness.
format:
Xa,b,c,d,e
a
X co-ordinate of the first corner: 0..2047.
b
Y co-ordinate of the first corner: 0..2047.
c
Frame thickness: 1..80. The thickening is at the expense of the inside
area.
d
X co-ordinate of the opposite corner: 0..2047.
e
Y co-ordinate of the opposite corner: 0..2047.
Example
: X100,10,5,300,200 Draws rectangle with size 200x190 and thickness
Содержание LP
Страница 30: ...User s Manual 30 ZEKA LP 5 dots...
Страница 38: ...User s Manual 38 ZEKA LP format EI...