Datasheet
EA uniTFT Vorläufig
POLYLINE AND POLYGONS
With the polyline (#GPL) and polygon (#GPF) commands, virtually all desired forms can be generated. Each sec-
tion is designated a segment.
SEGMENT
A segment is generally a section or a part of something whole.
In the present command application, the segments fulfil two primary aspects. Firstly, graphics, and, secondly,
operational paths, can be created, segment by segment. As a result, freely selectable forms find their way into
the design of the layout.
INDICATORS
Each segment contains an indicator in the form of a character whereby the type of segment is recognised. The
list of indicators can be found here in the command overview.
A segment entered always begins with "?", and the indicator, as well as the corresponding parameters, are
added subsequently. In that respect, as many segments as desired can be linked with one another. There is fur-
thermore a difference, in the case of the indicators, between upper and lower case, which represents the dif-
ference between absolute and relative co-ordinates.
Here is an example:
Generating a square with absolute and relative segment details
#GPP1, 1, 100, 100, ?V, 300, ?H, 300, ?V, 100, ?H, 100
#GPP2, 1, 370, 100, ?v, 200, ?h, 200, ?v, -200, ?h, -200
In this example, two identical squares are generated by linking horizontal and vertical lines. Object 1 is generated
absolutely, in other words the absolute co-ordinates of the display need to be specified for positioning the line
points. By connecting the point co-ordinates, the corresponding lines are generated from the latter. In the case of
Object 2, on the other hand, only the starting point is defined absolutely. In regard to this starting point, the
lengths of the respective lines are now specified. Thus, this square relates to the starting point relatively.
DIRECTIONS OF MOVEMENT AND ARCS
The direction of movement is to be observed with the circular segments. Depending upon the direction of move-
ment, another segment is generated.
In the table below, a segment is defined as a full ellipse, with a starting point and an end point. Due to the radii of
the ellipse being given, four options exist for linking the starting point with the end point. The four options differ in
regard to the two directions of movement and the two potential arcs. The small arcs are marked red. The two
large arcs have been highlighted in green. The clockwise directions of movement are shown darker.
With circles, the differentiation according to large and small arcs does not make a difference. This is due to the
fact that a circle only has a radius, as a result of which the large and small arcs are identical.
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 16