Datasheet
EA uniTFT Vorläufig
Graphic drawing objects
Polypath - Draw a car
Draw a car with path segments
#GPP 1,1, 50,200, ?v-50, ?h150, ?c0,70,130,0, ?h200, ?c0,70,130,0, ?h90,
?v100, ?h-85, ?l-40,65, ?h-220, ?q-40,0,-145,-75, ?h-130, ?z
Course of the relative polypath:
The line is drawn vertically, 50 pixels downwards from the starting point.
A horizontal alignment then follows towards the right. The wheels are
drawn between the three horizontal segments using segments of a
circle. The wheels are drawn in such a way that their width amounts to
130 pixels. A vertical alignment by 100 pixels upwards follows, as well as
a vertical line by 85 pixels to the left. For the rear windscreen, a line seg-
ment is used, which sets the end point to 40 pixels to the left and 65
pixels above the last position, and connects it by means of a line. A hori-
zontal line to the left, having a length of 220 pixels, then follows. For the
front windscreen, a quadratic Bezier segment is used. A horizontal line
to the left with 130 pixels, as wellas the end of the path, follows the-
reafter.
For the complete set of commands of the sample image see p. 148.
Hexagon
A hexagon rotated through 90°
#GGP 1, 1 400,240,5, 100,6,0, 90
For the complete set of commands of the sample image see p. 149.
Five-point star
Draw a filled-in star
#GGS 1, 1 400,240,5, 100,50, 5
For the complete set of commands of the sample image see p. 149.
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 125