File: T1Line.html

package info (click to toggle)
tcm 2.20%2BTSQD-4.2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 20,168 kB
  • ctags: 17,471
  • sloc: ansic: 78,531; sh: 3,666; makefile: 1,345; perl: 753; yacc: 558; lex: 260
file content (453 lines) | stat: -rwxr-xr-x 29,582 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
<html><head><TITLE>T1Line</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  T1Line : public <!2><A HREF="Line.html#DOC.210.3">Line</A> </H2><BLOCKQUOTE>
 line class (abstract) having an extra text shape.
</BLOCKQUOTE>
<hr>
 <h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=275>
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CLine,MLine.html,CT1Line,MT1Line.html,CT2Line,MT2Line.html,CStartC1Line,MStartC1Line.html,CEndC1Arrow,MEndC1Arrow.html,CC1Arrow,MC1Arrow.html">
<param name=before value="M,M,M,M,M,M|_,MR_,MR_,Mr_">
<param name=after value="Md_SPSPSP,Md_SPSP,Md_SP,Md_,M,M,M,M,M">
<param name=indent value="0,1,2,3,4,4,4,4,4">
<param name=arrowdir value="down">
</APPLET>
<hr>

<DL>
<TABLE>
<DT><h3>Public Classes</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.363.17"> <IMG BORDER=0 SRC=icon1.gif></A>  enum </TD><TD><B>PositionType</B> <br>
<I></I>
</TD></TR></TABLE><TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.363.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T1Line</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n1, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n2, <!1><A HREF="List.html">List</A><<!1><A HREF="Point.html">Point</A> *> *<!2><A HREF="Line.html#DOC.210.80">line</A>, bool Curved)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T1Line</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n1, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n2, bool Curved)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.3"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T1Line</B> (const <!2><A HREF="T1Line.html#DOC.363.3">T1Line</A> &aline)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.4"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~T1Line</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.5"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetClassType</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CalcPosition</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextShape1</B> (const <!1><A HREF="string.html">string</A> *s)<br>
<I> calls corresponding members of textShape1.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSelect</B> (bool s)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFont</B> (<!1><A HREF="XFont.html">XFont</A> *ft)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextColor</B> (const <!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.11"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetLeftMost</B> () const <br>
<I> as line, but the extra textshape is also considered.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.12"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetTopMost</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.13"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetRightMost</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.14"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetBottomMost</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>WriteMembers</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.16"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>ReadMembers</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, double format)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetGrafport</B> (<!1><A HREF="Grafport.html">Grafport</A> *g)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.19"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetView</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.20"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>InTextArea</B> (int x, int y)<br>
<I> return if (x,y) in text-area of in textshape.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.21"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>HitTextShape</B> (int x, int y)<br>
<I> returns name or extra textshape if hit.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.22"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasTextShape</B> (<!1><A HREF="TextShape.html">TextShape</A> *t) const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.23"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasString</B> (const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.24"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasNameString</B> (const <!1><A HREF="string.html">string</A> *, bool, bool) const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.25"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>ReplaceNameString</B> (const <!1><A HREF="string.html">string</A> *, const <!1><A HREF="string.html">string</A> *, bool, bool)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.26"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.27"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawShape</B> ()<br>
<I> draw line+textshapes.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.28"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>ChooseTextShape</B> (int x, int y)<br>
<I> returns textshape if hit or if empty, otherwise return name.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.29"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>MoveRaw</B> (const <!1><A HREF="Point.html">Point</A> *delta)<br>
<I></I>
</TD></TR></TABLE><TABLE>
<DT><h3>Protected Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.363.30"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>CL_FRACTION</B> <br>
<I> fraction of line for the extra textshapes.</I>
</TD></TR></TABLE><TABLE>
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.363.31"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>CalcPositionTextShapes</B> ()<br>
<I> calculate position of textshape on first line segment.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.32"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CalcPositionTextShape</B> (<!1><A HREF="TextShape.html">TextShape</A> *t, <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> tpos)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.33"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HitTextShapeArea</B> (<!1><A HREF="TextShape.html">TextShape</A> *t, <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> tpos, int x, int y)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.34"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HitExtraTextShapeArea</B> (int x, int y, const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to)<br>
<I> returns of (x,y) hits area for extra textshapes.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.35"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>GetTextShape1</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.36"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape1</B> (<!1><A HREF="TextShape.html">TextShape</A> *t)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.37"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> </TD><TD><B>GetT1Position</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.363.38"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetT1Position</B> (<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)<br>
<I></I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="Line.html">Line:</A></h3>

<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>*  <B>Clone</B>()
<DT><IMG SRC=icon2.gif> bool  <B>IsCurved</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>UpdateCurve</B>(bool b)
<DT><IMG SRC=icon2.gif> void  <B>UpdatePosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
<DT><IMG SRC=icon2.gif> void  <B>SetPosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
<DT><IMG SRC=icon2.gif> void  <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *)
<DT><IMG SRC=icon2.gif> bool  <B>ContainsPt</B>(int x, int y)
<DT><IMG SRC=icon2.gif> int  <B>HitHandles</B>(int x, int y)
<DT><IMG SRC=icon2.gif> bool  <B>IsLine</B>() const 
<DT><IMG SRC=icon2.gif> unsigned  int  <B>GetCount</B>() const 
<DT><IMG SRC=icon2.gif> unsigned  int  <B>GetOrder</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetOrder</B>(unsigned int i)
<DT><IMG SRC=icon2.gif> void  <B>SetCount</B>(unsigned int i)
<DT><IMG SRC=icon2.gif> <!2><A HREF="GShape.html#DOC.196.1">GShape</A>*  <B>GetFromShape</B>() const 
<DT><IMG SRC=icon2.gif> <!2><A HREF="GShape.html#DOC.196.1">GShape</A>*  <B>GetToShape</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetFromShape</B>(<!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n)
<DT><IMG SRC=icon2.gif> void  <B>SetToShape</B>(<!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n)
<DT><IMG SRC=icon2.gif> unsigned  int  <B>NrPoints</B>() const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Point.html">Point</A> *> *  <B>GetLine</B>() const 
<DT><IMG SRC=icon2.gif> bool  <B>GetSegments</B>(<!1><A HREF="Point.html">Point</A> pt, <!1><A HREF="Point.html">Point</A> *pt1, <!1><A HREF="Point.html">Point</A> *pt2)
<DT><IMG SRC=icon2.gif> bool  <B>GetSegment</B>(int n, <!1><A HREF="Point.html">Point</A> *pt1, <!1><A HREF="Point.html">Point</A> *pt2)
<DT><IMG SRC=icon2.gif> void  <B>SetEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
<DT><IMG SRC=icon2.gif> void  <B>SetEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
<DT><IMG SRC=icon2.gif> void  <B>UpdateEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
<DT><IMG SRC=icon2.gif> void  <B>UpdateEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A>  <B>GetEnd1</B>()
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A>  <B>GetEnd2</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetToTop</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetFromTop</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetToBottom</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetFromBottom</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdatePosition</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>CalcEndPoints</B>()
<DT><IMG SRC=icon2.gif> void  <B>CalcDirection</B>()
<DT><IMG SRC=icon2.gif> bool  <B>CalcEndPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned which)
<DT><IMG SRC=icon2.gif> void  <B>SetPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned int n)
<DT><IMG SRC=icon2.gif> void  <B>AddPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned int n)
<DT><IMG SRC=icon2.gif> void  <B>RemovePoint</B>(unsigned int n)
<DT><IMG SRC=icon2.gif> bool  <B>SetAssocSubject</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
<DT><IMG SRC=icon2.gif> bool  <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
<DT><IMG SRC=icon2.gif> bool  <B>CheckReferences</B>()
<DT><IMG SRC=icon2.gif> bool  <B>GetLine</B>(int x, int y)
<DT><IMG SRC=icon2.gif> unsigned  int  <B>GetLineNumber</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetLineNumber</B>(unsigned int n)
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A>  <B>GiveOrthoSnp</B>(<!1><A HREF="Point.html">Point</A> to) const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A>  <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> to) const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A>  <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> p, int <!2><A HREF="Line.html#DOC.210.88">order</A>, int <!2><A HREF="Line.html#DOC.210.87">count</A>, int &code)
<DT><IMG SRC=icon2.gif> void  <B>UpdateNameDirection</B>(<!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> nd)
<DT><IMG SRC=icon2.gif> <!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A>  <B>GetNameDirection</B>() const 
</DL><DL>
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>LINE_DIST</B>
<DT><IMG SRC=icon2.gif> static  const  int  <B>CL_DISTX</B>
<DT><IMG SRC=icon2.gif> static  const  int  <B>CL_DISTY</B>
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>CalcPositionName</B>()
<DT><IMG SRC=icon2.gif> bool  <B>ContainsPtLine</B>(int x, int y, const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to, int &cx, int &cy) const 
<DT><IMG SRC=icon2.gif> bool  <B>BelowLine</B>(int x, int y, <!1><A HREF="Point.html">Point</A> *from, <!1><A HREF="Point.html">Point</A> *to)
<DT><IMG SRC=icon2.gif> bool  <B>AboveLine</B>(int x, int y, <!1><A HREF="Point.html">Point</A> *from, <!1><A HREF="Point.html">Point</A> *to)
<DT><IMG SRC=icon2.gif> void  <B>SetNameDirection</B>(<!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> nd)
<DT><IMG SRC=icon2.gif> void  <B>UndrawDirection</B>()
<DT><IMG SRC=icon2.gif> void  <B>DrawDirection</B>()
<DT><IMG SRC=icon2.gif> void  <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
</DL></DL>
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>

<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>Draw</B>()
<DT><IMG SRC=icon2.gif> void  <B>Undraw</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawShape</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawTextShapes</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawTextShapes</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> void  <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetNameString</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>GetName</B>() const 
<DT><IMG SRC=icon2.gif> unsigned  <B>GetLineWidth</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetLineWidth</B>(unsigned n)
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineWidth</B>(unsigned n)
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  <B>GetLineStyle</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetTextColor</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
<DT><IMG SRC=icon2.gif> bool  <B>IsFixedName</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetFixedName</B>(bool b)
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>*  <B>GetFont</B>() const 
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A>  <B>GetAlignment</B>() const 
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
<DT><IMG SRC=icon2.gif> bool  <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
<DT><IMG SRC=icon2.gif> void  <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
<DT><IMG SRC=icon2.gif> bool  <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
<DT><IMG SRC=icon2.gif> void  <B>SetDrawAttributes</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
<DT><IMG SRC=icon2.gif> void  <B>SnapPosition</B>()
<DT><IMG SRC=icon2.gif> void  <B>SnapTopleft</B>()
</DL></DL>
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>

<DL>
<DL>
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_HEIGHT</B>
<DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_WIDTH</B>
<DT><IMG SRC=icon2.gif> static  const  int  <B>HANDLE_WIDTH</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool  <B>IsShape</B>() const 
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsTextShape</B>() const 
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateSize</B>(int w, int h)
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateSelect</B>(bool s)
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateFirstSelect</B>(bool s)
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateColor</B>(<!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetFirstSelect</B>(bool s)
<DT><IMG SRC=icon2.gif> bool  <B>IsFirstSelected</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetVisible</B>(bool s)
<DT><IMG SRC=icon2.gif> void  <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>*  <B>GetSubject</B>() const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>*  <B>GetView</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetColor</B>() const 
<DT><IMG SRC=icon2.gif> virtual  void  <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
<DT><IMG SRC=icon2.gif> virtual  void  <B>AdjustSize</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetHandles</B>(int n)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetPosition</B>() const 
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetTopLeft</B>() const 
<DT><IMG SRC=icon2.gif> bool  <B>IsSelected</B>() const 
<DT><IMG SRC=icon2.gif> bool  <B>IsVisible</B>() const 
<DT><IMG SRC=icon2.gif> bool  <B>IsDuplicate</B>() const 
<DT><IMG SRC=icon2.gif> int  <B>GetWidth</B>() const 
<DT><IMG SRC=icon2.gif> int  <B>GetHeight</B>() const 
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawDuplicate</B>()
<DT><IMG SRC=icon2.gif> void  <B>UndrawDuplicate</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetDuplicate</B>(bool b)
<DT><IMG SRC=icon2.gif> void  <B>UpdateDuplicate</B>(bool b)
<DT><IMG SRC=icon2.gif> bool  <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
</DL><DL>
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_HANDLES</B>
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>*  <B>GetGrafport</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetOutlineAttributes</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetSize</B>(int w, int h)
<DT><IMG SRC=icon2.gif> void  <B>SetWidth</B>(int w)
<DT><IMG SRC=icon2.gif> void  <B>SetHeight</B>(int h)
<DT><IMG SRC=icon2.gif> void  <B>SetNrHandles</B>(int n)
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>*  <B>GetViewer</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawSelect</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawGraySelect</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawSelect</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawGraySelect</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetPositionHandles</B>()
<DT><IMG SRC=icon2.gif> void  <B>ForcePosition</B>(const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="Shape.html#DOC.296.90">position</A>)
</DL></DL>
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>

<DL>
<DL>
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum  <B>AssocType</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned  long  <B>GetId</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetId</B>(unsigned long val)
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsSubject</B>() const 
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsView</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
</DL></DL>
<A NAME="DOC.DOCU">
<hr>
 <h2> Documentation </h2>
<BLOCKQUOTE>
 line class (abstract) having an extra text shape.

</BLOCKQUOTE>
<DL>

<A NAME="T1Line">
<A NAME ="DOC.363.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  T1Line(<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n1, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n2, <!1><A HREF="List.html">List</A><<!1><A HREF="Point.html">Point</A> *> *<!2><A HREF="Line.html#DOC.210.80">line</A>, bool Curved)</B></TT>
<DL></DL><P>
<A NAME="T1Line">
<A NAME ="DOC.363.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  T1Line(<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n1, <!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n2, bool Curved)</B></TT>
<DL></DL><P>
<A NAME="T1Line">
<A NAME ="DOC.363.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  T1Line(const <!2><A HREF="T1Line.html#DOC.363.3">T1Line</A> &aline)</B></TT>
<DL></DL><P>
<A NAME="~T1Line">
<A NAME ="DOC.363.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  ~T1Line()</B></TT>
<DL></DL><P>
<A NAME="GetClassType">
<A NAME ="DOC.363.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetClassType() const </B></TT>
<DL></DL><P>
<A NAME="CalcPosition">
<A NAME ="DOC.363.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  CalcPosition()</B></TT>
<DL></DL><P>
<A NAME="UpdateTextShape1">
<A NAME ="DOC.363.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateTextShape1(const <!1><A HREF="string.html">string</A> *s)</B></TT>
<DD> calls corresponding members of textShape1.
<DL></DL><P>
<A NAME="SetSelect">
<A NAME ="DOC.363.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetSelect(bool s)</B></TT>
<DL></DL><P>
<A NAME="SetFont">
<A NAME ="DOC.363.9">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetFont(<!1><A HREF="XFont.html">XFont</A> *ft)</B></TT>
<DL></DL><P>
<A NAME="SetTextColor">
<A NAME ="DOC.363.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextColor(const <!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)</B></TT>
<DL></DL><P>
<A NAME="GetLeftMost">
<A NAME ="DOC.363.11">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetLeftMost() const </B></TT>
<DD> as line, but the extra textshape is also considered.
<DL></DL><P>
<A NAME="GetTopMost">
<A NAME ="DOC.363.12">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetTopMost() const </B></TT>
<DL></DL><P>
<A NAME="GetRightMost">
<A NAME ="DOC.363.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetRightMost() const </B></TT>
<DL></DL><P>
<A NAME="GetBottomMost">
<A NAME ="DOC.363.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetBottomMost() const </B></TT>
<DL></DL><P>
<A NAME="WriteMembers">
<A NAME ="DOC.363.15">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  WriteMembers(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
<DL></DL><P>
<A NAME="ReadMembers">
<A NAME ="DOC.363.16">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  ReadMembers(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
<DL></DL><P>
<A NAME="PositionType">
<A NAME ="DOC.363.17">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  enum  PositionType</B></TT>
<DL></DL><P>
<A NAME="SetGrafport">
<A NAME ="DOC.363.18">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetGrafport(<!1><A HREF="Grafport.html">Grafport</A> *g)</B></TT>
<DL></DL><P>
<A NAME="SetView">
<A NAME ="DOC.363.19">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetView(<!1><A HREF="ShapeView.html">ShapeView</A> *v)</B></TT>
<DL></DL><P>
<A NAME="InTextArea">
<A NAME ="DOC.363.20">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  InTextArea(int x, int y)</B></TT>
<DD> return if (x,y) in text-area of in textshape.
<DL></DL><P>
<A NAME="HitTextShape">
<A NAME ="DOC.363.21">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>*  HitTextShape(int x, int y)</B></TT>
<DD> returns name or extra textshape if hit.
<DL></DL><P>
<A NAME="HasTextShape">
<A NAME ="DOC.363.22">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  HasTextShape(<!1><A HREF="TextShape.html">TextShape</A> *t) const </B></TT>
<DL></DL><P>
<A NAME="HasString">
<A NAME ="DOC.363.23">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  HasString(const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const </B></TT>
<DL></DL><P>
<A NAME="HasNameString">
<A NAME ="DOC.363.24">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  HasNameString(const <!1><A HREF="string.html">string</A> *, bool, bool) const </B></TT>
<DL></DL><P>
<A NAME="ReplaceNameString">
<A NAME ="DOC.363.25">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  ReplaceNameString(const <!1><A HREF="string.html">string</A> *, const <!1><A HREF="string.html">string</A> *, bool, bool)</B></TT>
<DL></DL><P>
<A NAME="SetTextShape">
<A NAME ="DOC.363.26">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextShape()</B></TT>
<DL></DL><P>
<A NAME="DrawShape">
<A NAME ="DOC.363.27">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawShape()</B></TT>
<DD> draw line+textshapes.
<DL></DL><P>
<A NAME="ChooseTextShape">
<A NAME ="DOC.363.28">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>*  ChooseTextShape(int x, int y)</B></TT>
<DD> returns textshape if hit or if empty, otherwise return name.
<DL></DL><P>
<A NAME="MoveRaw">
<A NAME ="DOC.363.29">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  MoveRaw(const <!1><A HREF="Point.html">Point</A> *delta)</B></TT>
<DL></DL><P>
<A NAME="CL_FRACTION">
<A NAME ="DOC.363.30">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  CL_FRACTION</B></TT>
<DD> fraction of line for the extra textshapes.
<DL></DL><P>
<A NAME="CalcPositionTextShapes">
<A NAME ="DOC.363.31">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  CalcPositionTextShapes()</B></TT>
<DD> calculate position of textshape on first line segment.
<DL></DL><P>
<A NAME="CalcPositionTextShape">
<A NAME ="DOC.363.32">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  CalcPositionTextShape(<!1><A HREF="TextShape.html">TextShape</A> *t, <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> tpos)</B></TT>
<DL></DL><P>
<A NAME="HitTextShapeArea">
<A NAME ="DOC.363.33">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  HitTextShapeArea(<!1><A HREF="TextShape.html">TextShape</A> *t, <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> tpos, int x, int y)</B></TT>
<DL></DL><P>
<A NAME="HitExtraTextShapeArea">
<A NAME ="DOC.363.34">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  HitExtraTextShapeArea(int x, int y, const <!1><A HREF="Point.html">Point</A> *from, const <!1><A HREF="Point.html">Point</A> *to)</B></TT>
<DD> returns of (x,y) hits area for extra textshapes.
<DL></DL><P>
<A NAME="GetTextShape1">
<A NAME ="DOC.363.35">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>*  GetTextShape1() const </B></TT>
<DL></DL><P>
<A NAME="SetTextShape1">
<A NAME ="DOC.363.36">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextShape1(<!1><A HREF="TextShape.html">TextShape</A> *t)</B></TT>
<DL></DL><P>
<A NAME="GetT1Position">
<A NAME ="DOC.363.37">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A>  GetT1Position()</B></TT>
<DL></DL><P>
<A NAME="SetT1Position">
<A NAME ="DOC.363.38">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetT1Position(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)</B></TT>
<DL></DL><P></DL>
<hr>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="T2Line.html"> T2Line </A><br>
<A HREF="StartC1Line.html"> StartC1Line </A><br>
<A HREF="EndC1Arrow.html"> EndC1Arrow </A><br>
<A HREF="C1Arrow.html"> C1Arrow </A><br>
</DL>
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
<P Align=Center><I>this page has been generated automatically by doc++</I>
<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>
</BODY>