1
<html><head><TITLE>LineEnd</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class LineEnd </H2><BLOCKQUOTE>
4
different line ending of a line
10
<DT><h3>Public Classes</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.209.1"> <IMG BORDER=0 SRC=icon1.gif></A> enum </TD><TD><B>Type</B> <br>
12
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.2"> <IMG BORDER=0 SRC=icon1.gif></A> enum</TD><TD><B></B> <br>
14
</TD></TR></TABLE><TABLE>
15
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.209.11"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>CIRCLE_WIDTH</B> <br>
16
<I> the default width of a circle line end.</I>
17
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.12"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>OPEN_ARROW_LENGTH</B> <br>
18
<I> default length of open arrow.</I>
19
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.13"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>OPEN_ARROW_WIDTH</B> <br>
20
<I> default width of open arrow.</I>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.14"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>FILLED_ARROW_LENGTH</B> <br>
22
<I> default length of the sides of the arrow head</I>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.15"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>FILLED_ARROW_ANGLE</B> <br>
24
<I> angle between each side and the line in degrees</I>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.16"> <IMG BORDER=0 SRC=icon1.gif></A> static const double </TD><TD><B>FILLED_ARROW_INSET</B> <br>
26
<I> percentage inset for base of arrow [0..1] (values +- 0.60 work well).</I>
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.17"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>TRIANGLE_WIDTH</B> <br>
28
<I> default width of a triangle</I>
29
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.18"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>TRIANGLE_LENGTH</B> <br>
30
<I> default length of a side of a triangle.</I>
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.19"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>DIAMOND_WIDTH</B> <br>
32
<I> default width of a diamond.</I>
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.20"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>DIAMOND_LENGTH</B> <br>
34
<I> default length of a side of a diamond.</I>
35
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.21"> <IMG BORDER=0 SRC=icon1.gif></A> static const <!1><A HREF="TypeName.html">TypeName</A> </TD><TD><B>typeNames</B> []<br>
37
</TD></TR></TABLE><TABLE>
38
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.209.3"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>LineEnd</B> ()<br>
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.4"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>LineEnd</B> (<!2><A HREF="LineEnd.html#DOC.209.1">Type</A> t)<br>
42
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetType</B> (<!2><A HREF="LineEnd.html#DOC.209.1">Type</A> t)<br>
44
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.6"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> </TD><TD><B>GetType</B> ()<br>
46
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetLength</B> (int l)<br>
48
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.8"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetLength</B> ()<br>
50
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetWidth</B> (int w)<br>
52
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.10"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetWidth</B> ()<br>
54
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.22"> <IMG BORDER=0 SRC=icon1.gif></A> static <!2><A HREF="LineEnd.html#DOC.209.1">Type</A> </TD><TD><B>String2Type</B> (const <!1><A HREF="string.html">string</A> *s)<br>
55
<I> e.g. convert "OpenArrow" to OPEN\_ARROW.</I>
56
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.23"> <IMG BORDER=0 SRC=icon1.gif></A> static void </TD><TD><B>Type2String</B> (<!2><A HREF="LineEnd.html#DOC.209.1">Type</A> t, <!1><A HREF="string.html">string</A> *s)<br>
57
<I> e.g. convert OPEN\_ARROW to "OpenArrow".</I>
58
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.24"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Draw</B> (<!1><A HREF="Grafport.html">Grafport</A> *g, const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, <!1><A HREF="Point.html">Point</A> *newEnd)<br>
59
<I> draw the given line ending in the grafport.</I>
60
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.25"> <IMG BORDER=0 SRC=icon1.gif></A> void static </TD><TD><B>CalcDiamond</B> (const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, int len, int wd, <!1><A HREF="Point.html">Point</A> *points)<br>
62
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.26"> <IMG BORDER=0 SRC=icon1.gif></A> void static </TD><TD><B>CalcDirectionDiamond</B> (const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, const <!1><A HREF="Point.html">Point</A> *apos, int len, int wd, <!1><A HREF="Point.html">Point</A> *points)<br>
64
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.209.27"> <IMG BORDER=0 SRC=icon1.gif></A> static void </TD><TD><B>CalcFilledArrowHead</B> (const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, int len, <!1><A HREF="Point.html">Point</A> *points)<br>
66
</TD></TR></TABLE></DL>
69
<h2> Documentation </h2>
71
different line ending of a line
78
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> enum Type</B></TT>
82
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> enum </B></TT>
86
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> LineEnd()</B></TT>
90
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> LineEnd(<!2><A HREF="LineEnd.html#DOC.209.1">Type</A> t)</B></TT>
94
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetType(<!2><A HREF="LineEnd.html#DOC.209.1">Type</A> t)</B></TT>
98
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> GetType()</B></TT>
101
<A NAME ="DOC.209.7">
102
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetLength(int l)</B></TT>
105
<A NAME ="DOC.209.8">
106
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetLength()</B></TT>
109
<A NAME ="DOC.209.9">
110
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetWidth(int w)</B></TT>
113
<A NAME ="DOC.209.10">
114
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetWidth()</B></TT>
116
<A NAME="CIRCLE_WIDTH">
117
<A NAME ="DOC.209.11">
118
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int CIRCLE_WIDTH</B></TT>
119
<DD> the default width of a circle line end.
121
<A NAME="OPEN_ARROW_LENGTH">
122
<A NAME ="DOC.209.12">
123
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int OPEN_ARROW_LENGTH</B></TT>
124
<DD> default length of open arrow.
126
<A NAME="OPEN_ARROW_WIDTH">
127
<A NAME ="DOC.209.13">
128
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int OPEN_ARROW_WIDTH</B></TT>
129
<DD> default width of open arrow.
131
<A NAME="FILLED_ARROW_LENGTH">
132
<A NAME ="DOC.209.14">
133
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int FILLED_ARROW_LENGTH</B></TT>
134
<DD> default length of the sides of the arrow head
136
<A NAME="FILLED_ARROW_ANGLE">
137
<A NAME ="DOC.209.15">
138
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int FILLED_ARROW_ANGLE</B></TT>
139
<DD> angle between each side and the line in degrees
141
<A NAME="FILLED_ARROW_INSET">
142
<A NAME ="DOC.209.16">
143
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const double FILLED_ARROW_INSET</B></TT>
144
<DD> percentage inset for base of arrow [0..1] (values +- 0.60 work well).
146
<A NAME="TRIANGLE_WIDTH">
147
<A NAME ="DOC.209.17">
148
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int TRIANGLE_WIDTH</B></TT>
149
<DD> default width of a triangle
151
<A NAME="TRIANGLE_LENGTH">
152
<A NAME ="DOC.209.18">
153
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int TRIANGLE_LENGTH</B></TT>
154
<DD> default length of a side of a triangle.
156
<A NAME="DIAMOND_WIDTH">
157
<A NAME ="DOC.209.19">
158
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int DIAMOND_WIDTH</B></TT>
159
<DD> default width of a diamond.
161
<A NAME="DIAMOND_LENGTH">
162
<A NAME ="DOC.209.20">
163
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int DIAMOND_LENGTH</B></TT>
164
<DD> default length of a side of a diamond.
167
<A NAME ="DOC.209.21">
168
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const <!1><A HREF="TypeName.html">TypeName</A> typeNames[]</B></TT>
170
<A NAME="String2Type">
171
<A NAME ="DOC.209.22">
172
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static <!2><A HREF="LineEnd.html#DOC.209.1">Type</A> String2Type(const <!1><A HREF="string.html">string</A> *s)</B></TT>
173
<DD> e.g. convert "OpenArrow" to OPEN\_ARROW.
175
<A NAME="Type2String">
176
<A NAME ="DOC.209.23">
177
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static void Type2String(<!2><A HREF="LineEnd.html#DOC.209.1">Type</A> t, <!1><A HREF="string.html">string</A> *s)</B></TT>
178
<DD> e.g. convert OPEN\_ARROW to "OpenArrow".
181
<A NAME ="DOC.209.24">
182
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Draw(<!1><A HREF="Grafport.html">Grafport</A> *g, const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, <!1><A HREF="Point.html">Point</A> *newEnd)</B></TT>
183
<DD> draw the given line ending in the grafport.
185
<A NAME="CalcDiamond">
186
<A NAME ="DOC.209.25">
187
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void static CalcDiamond(const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, int len, int wd, <!1><A HREF="Point.html">Point</A> *points)</B></TT>
189
<A NAME="CalcDirectionDiamond">
190
<A NAME ="DOC.209.26">
191
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void static CalcDirectionDiamond(const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, const <!1><A HREF="Point.html">Point</A> *apos, int len, int wd, <!1><A HREF="Point.html">Point</A> *points)</B></TT>
193
<A NAME="CalcFilledArrowHead">
194
<A NAME ="DOC.209.27">
195
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static void CalcFilledArrowHead(const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, int len, <!1><A HREF="Point.html">Point</A> *points)</B></TT>
198
<DL><DT><B>This class has no child classes.</B></DL>
199
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
200
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
201
<P Align=Center><I>this page has been generated automatically by doc++</I>
202
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>