~ubuntu-branches/ubuntu/intrepid/tcm/intrepid

« back to all changes in this revision

Viewing changes to doc/sourcecode/LineEnd.html

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><TITLE>LineEnd</TITLE></head>
 
2
<body>
 
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  LineEnd  </H2><BLOCKQUOTE>
 
4
 different line ending of a line
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 
 
8
<DL>
 
9
<TABLE>
 
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>
 
11
<I></I>
 
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>
 
13
<I></I>
 
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>
 
36
<I></I>
 
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>
 
39
<I></I>
 
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>
 
41
<I></I>
 
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>
 
43
<I></I>
 
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>
 
45
<I></I>
 
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>
 
47
<I></I>
 
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>
 
49
<I></I>
 
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>
 
51
<I></I>
 
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>
 
53
<I></I>
 
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>
 
61
<I></I>
 
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>
 
63
<I></I>
 
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>
 
65
<I></I>
 
66
</TD></TR></TABLE></DL>
 
67
<A NAME="DOC.DOCU">
 
68
<hr>
 
69
 <h2> Documentation </h2>
 
70
<BLOCKQUOTE>
 
71
 different line ending of a line
 
72
 
 
73
</BLOCKQUOTE>
 
74
<DL>
 
75
 
 
76
<A NAME="Type">
 
77
<A NAME ="DOC.209.1">
 
78
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  enum  Type</B></TT>
 
79
<DL></DL><P>
 
80
<A NAME="">
 
81
<A NAME ="DOC.209.2">
 
82
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  enum </B></TT>
 
83
<DL></DL><P>
 
84
<A NAME="LineEnd">
 
85
<A NAME ="DOC.209.3">
 
86
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  LineEnd()</B></TT>
 
87
<DL></DL><P>
 
88
<A NAME="LineEnd">
 
89
<A NAME ="DOC.209.4">
 
90
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  LineEnd(<!2><A HREF="LineEnd.html#DOC.209.1">Type</A> t)</B></TT>
 
91
<DL></DL><P>
 
92
<A NAME="SetType">
 
93
<A NAME ="DOC.209.5">
 
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>
 
95
<DL></DL><P>
 
96
<A NAME="GetType">
 
97
<A NAME ="DOC.209.6">
 
98
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A>  GetType()</B></TT>
 
99
<DL></DL><P>
 
100
<A NAME="SetLength">
 
101
<A NAME ="DOC.209.7">
 
102
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetLength(int l)</B></TT>
 
103
<DL></DL><P>
 
104
<A NAME="GetLength">
 
105
<A NAME ="DOC.209.8">
 
106
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetLength()</B></TT>
 
107
<DL></DL><P>
 
108
<A NAME="SetWidth">
 
109
<A NAME ="DOC.209.9">
 
110
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetWidth(int w)</B></TT>
 
111
<DL></DL><P>
 
112
<A NAME="GetWidth">
 
113
<A NAME ="DOC.209.10">
 
114
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetWidth()</B></TT>
 
115
<DL></DL><P>
 
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.
 
120
<DL></DL><P>
 
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.
 
125
<DL></DL><P>
 
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.
 
130
<DL></DL><P>
 
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
 
135
<DL></DL><P>
 
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
 
140
<DL></DL><P>
 
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).
 
145
<DL></DL><P>
 
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
 
150
<DL></DL><P>
 
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.
 
155
<DL></DL><P>
 
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.
 
160
<DL></DL><P>
 
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.
 
165
<DL></DL><P>
 
166
<A NAME="typeNames">
 
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>
 
169
<DL></DL><P>
 
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.
 
174
<DL></DL><P>
 
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".
 
179
<DL></DL><P>
 
180
<A NAME="Draw">
 
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.
 
184
<DL></DL><P>
 
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>
 
188
<DL></DL><P>
 
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>
 
192
<DL></DL><P>
 
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>
 
196
<DL></DL><P></DL>
 
197
<hr>
 
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&ouml;ckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
 
203
</BODY>