File: T4Line.html

package info (click to toggle)
tcm 2.20%2BTSQD-5
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 20,168 kB
  • ctags: 17,471
  • sloc: ansic: 78,531; sh: 3,675; makefile: 1,346; perl: 753; yacc: 558; lex: 260
file content (468 lines) | stat: -rwxr-xr-x 30,564 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
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<html><head><TITLE>T4Line</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  T4Line : public <!2><A HREF="T2Line.html#DOC.364.3">T2Line</A> </H2><BLOCKQUOTE>
 line having 4 text shapes at 4 positions.
</BLOCKQUOTE>
<hr>
 <h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=245>
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CLine,MLine.html,CT1Line,MT1Line.html,CT2Line,MT2Line.html,CT4Line,MT4Line.html,CC2R2Line,MC2R2Line.html">
<param name=before value="M,M,M,M,M,M,M,M^_">
<param name=after value="Md_SPSPSPSPSP,Md_SPSPSPSP,Md_SPSPSP,Md_SPSP,Md_SP,Md_,M,M">
<param name=indent value="0,1,2,3,4,5,6,6">
<param name=arrowdir value="down">
</APPLET>
<hr>

<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.365.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T4Line</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.365.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T4Line</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.365.3"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T4Line</B> (const <!2><A HREF="T4Line.html#DOC.365.2">T4Line</A> &)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.4"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~T4Line</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.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.365.6"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>InTextArea</B> (int x, int y)<br>
<I> see T2Line. Holds all text shapes into account.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.7"> <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></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.8"> <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></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.9"> <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.365.10"> <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.365.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextShape3</B> (const <!1><A HREF="string.html">string</A> *s)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextShape4</B> (const <!1><A HREF="string.html">string</A> *s)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.13"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetLeftMost</B> () const <br>
<I> as line, but all text shapes are considered</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.14"> <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.365.15"> <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.365.16"> <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.365.17"> <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.365.18"> <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.365.19"> <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.365.20"> <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.365.21"> <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.365.22"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetAlignment</B> (<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.23"> <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.365.24"> <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.365.25"> <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.365.26"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasString</B> (const <!1><A HREF="string.html">string</A>*, bool, bool, <!1><A HREF="List.html">List</A><<!1><A HREF="TextShape.html">TextShape</A> *> *)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.27"> <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 Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.365.28"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CalcPositionTextShapes</B> ()<br>
<I> calculate position of all text shapes.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.29"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>GetTextShape3</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.30"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape3</B> (<!1><A HREF="TextShape.html">TextShape</A> *t)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.31"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>GetTextShape4</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.32"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape4</B> (<!1><A HREF="TextShape.html">TextShape</A> *t)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.33"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> </TD><TD><B>GetT3Position</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.34"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetT3Position</B> (<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.35"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> </TD><TD><B>GetT4Position</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.36"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetT4Position</B> (<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.365.37"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawShape</B> ()<br>
<I> draw line+ 4 other text shapes.</I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="T2Line.html">T2Line:</A></h3>

<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>UpdateTextShape2</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> bool  <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *, bool, bool) const 
<DT><IMG SRC=icon2.gif> int  <B>ReplaceNameString</B>(const <!1><A HREF="string.html">string</A> *, const <!1><A HREF="string.html">string</A> *, bool, bool)
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>GetTextShape2</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetTextShape2</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
<DT><IMG SRC=icon2.gif> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A>  <B>GetT2Position</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetT2Position</B>(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)
</DL></DL>
<hr><H3>Inherited from <A HREF = "T1Line.html"> T1Line:</A></h3>

<DL>
<DL>
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum  <B>PositionType</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>CalcPosition</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextShape1</B>(const <!1><A HREF="string.html">string</A> *s)
</DL><DL>
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>CL_FRACTION</B>
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>CalcPositionTextShape</B>(<!1><A HREF="TextShape.html">TextShape</A> *t, <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> tpos)
<DT><IMG SRC=icon2.gif> bool  <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)
<DT><IMG SRC=icon2.gif> bool  <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)
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>GetTextShape1</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetTextShape1</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
<DT><IMG SRC=icon2.gif> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A>  <B>GetT1Position</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetT1Position</B>(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)
</DL></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> 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 having 4 text shapes at 4 positions.

</BLOCKQUOTE>
<DL>

<A NAME="T4Line">
<A NAME ="DOC.365.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  T4Line(<!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="T4Line">
<A NAME ="DOC.365.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  T4Line(<!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="T4Line">
<A NAME ="DOC.365.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  T4Line(const <!2><A HREF="T4Line.html#DOC.365.2">T4Line</A> &)</B></TT>
<DL></DL><P>
<A NAME="~T4Line">
<A NAME ="DOC.365.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  ~T4Line()</B></TT>
<DL></DL><P>
<A NAME="GetClassType">
<A NAME ="DOC.365.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetClassType() const </B></TT>
<DL></DL><P>
<A NAME="InTextArea">
<A NAME ="DOC.365.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  InTextArea(int x, int y)</B></TT>
<DD> see T2Line. Holds all text shapes into account.
<DL></DL><P>
<A NAME="HitTextShape">
<A NAME ="DOC.365.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>*  HitTextShape(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="ChooseTextShape">
<A NAME ="DOC.365.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>*  ChooseTextShape(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="HasTextShape">
<A NAME ="DOC.365.9">
<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="SetSelect">
<A NAME ="DOC.365.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetSelect(bool s)</B></TT>
<DL></DL><P>
<A NAME="UpdateTextShape3">
<A NAME ="DOC.365.11">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateTextShape3(const <!1><A HREF="string.html">string</A> *s)</B></TT>
<DL></DL><P>
<A NAME="UpdateTextShape4">
<A NAME ="DOC.365.12">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateTextShape4(const <!1><A HREF="string.html">string</A> *s)</B></TT>
<DL></DL><P>
<A NAME="GetLeftMost">
<A NAME ="DOC.365.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetLeftMost() const </B></TT>
<DD> as line, but all text shapes are considered
<DL></DL><P>
<A NAME="GetTopMost">
<A NAME ="DOC.365.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetTopMost() const </B></TT>
<DL></DL><P>
<A NAME="GetRightMost">
<A NAME ="DOC.365.15">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetRightMost() const </B></TT>
<DL></DL><P>
<A NAME="GetBottomMost">
<A NAME ="DOC.365.16">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetBottomMost() const </B></TT>
<DL></DL><P>
<A NAME="WriteMembers">
<A NAME ="DOC.365.17">
<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.365.18">
<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="SetTextShape">
<A NAME ="DOC.365.19">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextShape()</B></TT>
<DL></DL><P>
<A NAME="SetFont">
<A NAME ="DOC.365.20">
<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.365.21">
<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="SetAlignment">
<A NAME ="DOC.365.22">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetAlignment(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)</B></TT>
<DL></DL><P>
<A NAME="SetGrafport">
<A NAME ="DOC.365.23">
<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.365.24">
<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="HasString">
<A NAME ="DOC.365.25">
<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="HasString">
<A NAME ="DOC.365.26">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  HasString(const <!1><A HREF="string.html">string</A>*, bool, bool, <!1><A HREF="List.html">List</A><<!1><A HREF="TextShape.html">TextShape</A> *> *)</B></TT>
<DL></DL><P>
<A NAME="MoveRaw">
<A NAME ="DOC.365.27">
<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="CalcPositionTextShapes">
<A NAME ="DOC.365.28">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  CalcPositionTextShapes()</B></TT>
<DD> calculate position of all text shapes.
<DL></DL><P>
<A NAME="GetTextShape3">
<A NAME ="DOC.365.29">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>*  GetTextShape3() const </B></TT>
<DL></DL><P>
<A NAME="SetTextShape3">
<A NAME ="DOC.365.30">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextShape3(<!1><A HREF="TextShape.html">TextShape</A> *t)</B></TT>
<DL></DL><P>
<A NAME="GetTextShape4">
<A NAME ="DOC.365.31">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>*  GetTextShape4() const </B></TT>
<DL></DL><P>
<A NAME="SetTextShape4">
<A NAME ="DOC.365.32">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextShape4(<!1><A HREF="TextShape.html">TextShape</A> *t)</B></TT>
<DL></DL><P>
<A NAME="GetT3Position">
<A NAME ="DOC.365.33">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A>  GetT3Position()</B></TT>
<DL></DL><P>
<A NAME="SetT3Position">
<A NAME ="DOC.365.34">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetT3Position(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)</B></TT>
<DL></DL><P>
<A NAME="GetT4Position">
<A NAME ="DOC.365.35">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A>  GetT4Position()</B></TT>
<DL></DL><P>
<A NAME="SetT4Position">
<A NAME ="DOC.365.36">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetT4Position(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)</B></TT>
<DL></DL><P>
<A NAME="DrawShape">
<A NAME ="DOC.365.37">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawShape()</B></TT>
<DD> draw line+ 4 other text shapes.
<DL></DL><P></DL>
<hr>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="C2R2Line.html"> C2R2Line </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>