1
<html><head><TITLE>T4Line</TITLE></head>
3
<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>
4
line having 4 text shapes at 4 positions.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=245>
9
<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">
10
<param name=before value="M,M,M,M,M,M,M,M^_">
11
<param name=after value="Md_SPSPSPSPSP,Md_SPSPSPSP,Md_SPSPSP,Md_SPSP,Md_SP,Md_,M,M">
12
<param name=indent value="0,1,2,3,4,5,6,6">
13
<param name=arrowdir value="down">
19
<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>
21
</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>
23
</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>
25
</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>
27
</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>
29
</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>
30
<I> see T2Line. Holds all text shapes into account.</I>
31
</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>
33
</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>
35
</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>
37
</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>
39
</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>
41
</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>
43
</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>
44
<I> as line, but all text shapes are considered</I>
45
</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>
47
</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>
49
</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>
51
</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>
53
</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>
55
</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>
57
</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>
59
</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>
61
</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>
63
</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>
65
</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>
67
</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>
69
</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>
71
</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>
73
</TD></TR></TABLE><TABLE>
74
<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>
75
<I> calculate position of all text shapes.</I>
76
</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>
78
</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>
80
</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>
82
</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>
84
</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>
86
</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>
88
</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>
90
</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>
92
</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>
93
<I> draw line+ 4 other text shapes.</I>
94
</TD></TR></TABLE></DL>
95
<hr><H3>Inherited from <A HREF="T2Line.html">T2Line:</A></h3>
99
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>UpdateTextShape2</B>(const <!1><A HREF="string.html">string</A> *s)
100
<DT><IMG SRC=icon2.gif> bool <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *, bool, bool) const
101
<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)
103
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetTextShape2</B>() const
104
<DT><IMG SRC=icon2.gif> void <B>SetTextShape2</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
105
<DT><IMG SRC=icon2.gif> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> <B>GetT2Position</B>()
106
<DT><IMG SRC=icon2.gif> void <B>SetT2Position</B>(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)
108
<hr><H3>Inherited from <A HREF = "T1Line.html"> T1Line:</A></h3>
112
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>PositionType</B>
114
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>CalcPosition</B>()
115
<DT><IMG SRC=icon2.gif> void <B>UpdateTextShape1</B>(const <!1><A HREF="string.html">string</A> *s)
117
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>CL_FRACTION</B>
119
<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)
120
<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)
121
<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)
122
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetTextShape1</B>() const
123
<DT><IMG SRC=icon2.gif> void <B>SetTextShape1</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
124
<DT><IMG SRC=icon2.gif> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> <B>GetT1Position</B>()
125
<DT><IMG SRC=icon2.gif> void <B>SetT1Position</B>(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)
127
<hr><H3>Inherited from <A HREF = "Line.html"> Line:</A></h3>
131
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* <B>Clone</B>()
132
<DT><IMG SRC=icon2.gif> bool <B>IsCurved</B>() const
133
<DT><IMG SRC=icon2.gif> void <B>UpdateCurve</B>(bool b)
134
<DT><IMG SRC=icon2.gif> void <B>UpdatePosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
135
<DT><IMG SRC=icon2.gif> void <B>SetPosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
136
<DT><IMG SRC=icon2.gif> void <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *)
137
<DT><IMG SRC=icon2.gif> bool <B>ContainsPt</B>(int x, int y)
138
<DT><IMG SRC=icon2.gif> int <B>HitHandles</B>(int x, int y)
139
<DT><IMG SRC=icon2.gif> bool <B>IsLine</B>() const
140
<DT><IMG SRC=icon2.gif> unsigned int <B>GetCount</B>() const
141
<DT><IMG SRC=icon2.gif> unsigned int <B>GetOrder</B>() const
142
<DT><IMG SRC=icon2.gif> void <B>SetOrder</B>(unsigned int i)
143
<DT><IMG SRC=icon2.gif> void <B>SetCount</B>(unsigned int i)
144
<DT><IMG SRC=icon2.gif> <!2><A HREF="GShape.html#DOC.196.1">GShape</A>* <B>GetFromShape</B>() const
145
<DT><IMG SRC=icon2.gif> <!2><A HREF="GShape.html#DOC.196.1">GShape</A>* <B>GetToShape</B>() const
146
<DT><IMG SRC=icon2.gif> void <B>SetFromShape</B>(<!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n)
147
<DT><IMG SRC=icon2.gif> void <B>SetToShape</B>(<!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n)
148
<DT><IMG SRC=icon2.gif> unsigned int <B>NrPoints</B>() const
149
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Point.html">Point</A> *> * <B>GetLine</B>() const
150
<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)
151
<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)
152
<DT><IMG SRC=icon2.gif> void <B>SetEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
153
<DT><IMG SRC=icon2.gif> void <B>SetEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
154
<DT><IMG SRC=icon2.gif> void <B>UpdateEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
155
<DT><IMG SRC=icon2.gif> void <B>UpdateEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
156
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetEnd1</B>()
157
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetEnd2</B>()
158
<DT><IMG SRC=icon2.gif> void <B>SetToTop</B>()
159
<DT><IMG SRC=icon2.gif> void <B>SetFromTop</B>()
160
<DT><IMG SRC=icon2.gif> void <B>SetToBottom</B>()
161
<DT><IMG SRC=icon2.gif> void <B>SetFromBottom</B>()
162
<DT><IMG SRC=icon2.gif> void <B>UpdatePosition</B>()
163
<DT><IMG SRC=icon2.gif> virtual void <B>CalcEndPoints</B>()
164
<DT><IMG SRC=icon2.gif> void <B>CalcDirection</B>()
165
<DT><IMG SRC=icon2.gif> bool <B>CalcEndPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned which)
166
<DT><IMG SRC=icon2.gif> void <B>SetPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned int n)
167
<DT><IMG SRC=icon2.gif> void <B>AddPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned int n)
168
<DT><IMG SRC=icon2.gif> void <B>RemovePoint</B>(unsigned int n)
169
<DT><IMG SRC=icon2.gif> bool <B>SetAssocSubject</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
170
<DT><IMG SRC=icon2.gif> bool <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
171
<DT><IMG SRC=icon2.gif> bool <B>CheckReferences</B>()
172
<DT><IMG SRC=icon2.gif> bool <B>GetLine</B>(int x, int y)
173
<DT><IMG SRC=icon2.gif> unsigned int <B>GetLineNumber</B>()
174
<DT><IMG SRC=icon2.gif> void <B>SetLineNumber</B>(unsigned int n)
175
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveOrthoSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
176
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
177
<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)
178
<DT><IMG SRC=icon2.gif> void <B>UpdateNameDirection</B>(<!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> nd)
179
<DT><IMG SRC=icon2.gif> <!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> <B>GetNameDirection</B>() const
181
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>LINE_DIST</B>
182
<DT><IMG SRC=icon2.gif> static const int <B>CL_DISTX</B>
183
<DT><IMG SRC=icon2.gif> static const int <B>CL_DISTY</B>
185
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>CalcPositionName</B>()
186
<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
187
<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)
188
<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)
189
<DT><IMG SRC=icon2.gif> void <B>SetNameDirection</B>(<!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> nd)
190
<DT><IMG SRC=icon2.gif> void <B>UndrawDirection</B>()
191
<DT><IMG SRC=icon2.gif> void <B>DrawDirection</B>()
192
<DT><IMG SRC=icon2.gif> void <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
194
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>
198
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>Draw</B>()
199
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
200
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawShape</B>()
201
<DT><IMG SRC=icon2.gif> virtual void <B>DrawTextShapes</B>()
202
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawTextShapes</B>()
203
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
204
<DT><IMG SRC=icon2.gif> void <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
205
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetNameString</B>()
206
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetName</B>() const
207
<DT><IMG SRC=icon2.gif> unsigned <B>GetLineWidth</B>() const
208
<DT><IMG SRC=icon2.gif> void <B>SetLineWidth</B>(unsigned n)
209
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidth</B>(unsigned n)
210
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetLineStyle</B>() const
211
<DT><IMG SRC=icon2.gif> void <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
212
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
213
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetTextColor</B>() const
214
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
215
<DT><IMG SRC=icon2.gif> bool <B>IsFixedName</B>()
216
<DT><IMG SRC=icon2.gif> void <B>SetFixedName</B>(bool b)
217
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
218
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
219
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>() const
220
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetAlignment</B>() const
222
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
223
<DT><IMG SRC=icon2.gif> bool <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
224
<DT><IMG SRC=icon2.gif> void <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
225
<DT><IMG SRC=icon2.gif> bool <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
226
<DT><IMG SRC=icon2.gif> void <B>SetDrawAttributes</B>()
227
<DT><IMG SRC=icon2.gif> void <B>SnapPosition</B>()
228
<DT><IMG SRC=icon2.gif> void <B>SnapTopleft</B>()
230
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
234
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HEIGHT</B>
235
<DT><IMG SRC=icon2.gif> static const int <B>MIN_WIDTH</B>
236
<DT><IMG SRC=icon2.gif> static const int <B>HANDLE_WIDTH</B>
238
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsShape</B>() const
239
<DT><IMG SRC=icon2.gif> virtual bool <B>IsTextShape</B>() const
240
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSize</B>(int w, int h)
241
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
242
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSelect</B>(bool s)
243
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFirstSelect</B>(bool s)
244
<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>)
245
<DT><IMG SRC=icon2.gif> virtual void <B>SetFirstSelect</B>(bool s)
246
<DT><IMG SRC=icon2.gif> bool <B>IsFirstSelected</B>() const
247
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool s)
248
<DT><IMG SRC=icon2.gif> void <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
249
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>* <B>GetSubject</B>() const
250
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetView</B>() const
251
<DT><IMG SRC=icon2.gif> void <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
252
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetColor</B>() const
253
<DT><IMG SRC=icon2.gif> virtual void <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
254
<DT><IMG SRC=icon2.gif> virtual void <B>AdjustSize</B>()
255
<DT><IMG SRC=icon2.gif> void <B>SetHandles</B>(int n)
256
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetPosition</B>() const
257
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetTopLeft</B>() const
258
<DT><IMG SRC=icon2.gif> bool <B>IsSelected</B>() const
259
<DT><IMG SRC=icon2.gif> bool <B>IsVisible</B>() const
260
<DT><IMG SRC=icon2.gif> bool <B>IsDuplicate</B>() const
261
<DT><IMG SRC=icon2.gif> int <B>GetWidth</B>() const
262
<DT><IMG SRC=icon2.gif> int <B>GetHeight</B>() const
263
<DT><IMG SRC=icon2.gif> virtual void <B>DrawDuplicate</B>()
264
<DT><IMG SRC=icon2.gif> void <B>UndrawDuplicate</B>()
265
<DT><IMG SRC=icon2.gif> void <B>SetDuplicate</B>(bool b)
266
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicate</B>(bool b)
267
<DT><IMG SRC=icon2.gif> bool <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
269
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HANDLES</B>
271
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
272
<DT><IMG SRC=icon2.gif> void <B>SetOutlineAttributes</B>()
273
<DT><IMG SRC=icon2.gif> virtual void <B>SetSize</B>(int w, int h)
274
<DT><IMG SRC=icon2.gif> void <B>SetWidth</B>(int w)
275
<DT><IMG SRC=icon2.gif> void <B>SetHeight</B>(int h)
276
<DT><IMG SRC=icon2.gif> void <B>SetNrHandles</B>(int n)
277
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>* <B>GetViewer</B>() const
278
<DT><IMG SRC=icon2.gif> void <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
279
<DT><IMG SRC=icon2.gif> virtual void <B>DrawSelect</B>()
280
<DT><IMG SRC=icon2.gif> virtual void <B>DrawGraySelect</B>()
281
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawSelect</B>()
282
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawGraySelect</B>()
283
<DT><IMG SRC=icon2.gif> void <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
284
<DT><IMG SRC=icon2.gif> virtual void <B>SetPositionHandles</B>()
285
<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>)
287
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
291
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>AssocType</B>
293
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned long <B>GetId</B>()
294
<DT><IMG SRC=icon2.gif> void <B>SetId</B>(unsigned long val)
295
<DT><IMG SRC=icon2.gif> virtual bool <B>IsSubject</B>() const
296
<DT><IMG SRC=icon2.gif> virtual bool <B>IsView</B>() const
297
<DT><IMG SRC=icon2.gif> void <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
301
<h2> Documentation </h2>
303
line having 4 text shapes at 4 positions.
309
<A NAME ="DOC.365.1">
310
<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>
313
<A NAME ="DOC.365.2">
314
<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>
317
<A NAME ="DOC.365.3">
318
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> T4Line(const <!2><A HREF="T4Line.html#DOC.365.2">T4Line</A> &)</B></TT>
321
<A NAME ="DOC.365.4">
322
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~T4Line()</B></TT>
324
<A NAME="GetClassType">
325
<A NAME ="DOC.365.5">
326
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetClassType() const </B></TT>
328
<A NAME="InTextArea">
329
<A NAME ="DOC.365.6">
330
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool InTextArea(int x, int y)</B></TT>
331
<DD> see T2Line. Holds all text shapes into account.
333
<A NAME="HitTextShape">
334
<A NAME ="DOC.365.7">
335
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* HitTextShape(int x, int y)</B></TT>
337
<A NAME="ChooseTextShape">
338
<A NAME ="DOC.365.8">
339
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* ChooseTextShape(int x, int y)</B></TT>
341
<A NAME="HasTextShape">
342
<A NAME ="DOC.365.9">
343
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasTextShape(<!1><A HREF="TextShape.html">TextShape</A> *t) const </B></TT>
346
<A NAME ="DOC.365.10">
347
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSelect(bool s)</B></TT>
349
<A NAME="UpdateTextShape3">
350
<A NAME ="DOC.365.11">
351
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateTextShape3(const <!1><A HREF="string.html">string</A> *s)</B></TT>
353
<A NAME="UpdateTextShape4">
354
<A NAME ="DOC.365.12">
355
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateTextShape4(const <!1><A HREF="string.html">string</A> *s)</B></TT>
357
<A NAME="GetLeftMost">
358
<A NAME ="DOC.365.13">
359
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetLeftMost() const </B></TT>
360
<DD> as line, but all text shapes are considered
362
<A NAME="GetTopMost">
363
<A NAME ="DOC.365.14">
364
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetTopMost() const </B></TT>
366
<A NAME="GetRightMost">
367
<A NAME ="DOC.365.15">
368
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetRightMost() const </B></TT>
370
<A NAME="GetBottomMost">
371
<A NAME ="DOC.365.16">
372
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetBottomMost() const </B></TT>
374
<A NAME="WriteMembers">
375
<A NAME ="DOC.365.17">
376
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void WriteMembers(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
378
<A NAME="ReadMembers">
379
<A NAME ="DOC.365.18">
380
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool ReadMembers(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
382
<A NAME="SetTextShape">
383
<A NAME ="DOC.365.19">
384
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextShape()</B></TT>
387
<A NAME ="DOC.365.20">
388
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFont(<!1><A HREF="XFont.html">XFont</A> *ft)</B></TT>
390
<A NAME="SetTextColor">
391
<A NAME ="DOC.365.21">
392
<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>
394
<A NAME="SetAlignment">
395
<A NAME ="DOC.365.22">
396
<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>
398
<A NAME="SetGrafport">
399
<A NAME ="DOC.365.23">
400
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetGrafport(<!1><A HREF="Grafport.html">Grafport</A> *g)</B></TT>
403
<A NAME ="DOC.365.24">
404
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetView(<!1><A HREF="ShapeView.html">ShapeView</A> *v)</B></TT>
407
<A NAME ="DOC.365.25">
408
<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>
411
<A NAME ="DOC.365.26">
412
<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>
415
<A NAME ="DOC.365.27">
416
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void MoveRaw(const <!1><A HREF="Point.html">Point</A> *delta)</B></TT>
418
<A NAME="CalcPositionTextShapes">
419
<A NAME ="DOC.365.28">
420
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void CalcPositionTextShapes()</B></TT>
421
<DD> calculate position of all text shapes.
423
<A NAME="GetTextShape3">
424
<A NAME ="DOC.365.29">
425
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* GetTextShape3() const </B></TT>
427
<A NAME="SetTextShape3">
428
<A NAME ="DOC.365.30">
429
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextShape3(<!1><A HREF="TextShape.html">TextShape</A> *t)</B></TT>
431
<A NAME="GetTextShape4">
432
<A NAME ="DOC.365.31">
433
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* GetTextShape4() const </B></TT>
435
<A NAME="SetTextShape4">
436
<A NAME ="DOC.365.32">
437
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextShape4(<!1><A HREF="TextShape.html">TextShape</A> *t)</B></TT>
439
<A NAME="GetT3Position">
440
<A NAME ="DOC.365.33">
441
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> GetT3Position()</B></TT>
443
<A NAME="SetT3Position">
444
<A NAME ="DOC.365.34">
445
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetT3Position(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)</B></TT>
447
<A NAME="GetT4Position">
448
<A NAME ="DOC.365.35">
449
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> GetT4Position()</B></TT>
451
<A NAME="SetT4Position">
452
<A NAME ="DOC.365.36">
453
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetT4Position(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)</B></TT>
456
<A NAME ="DOC.365.37">
457
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawShape()</B></TT>
458
<DD> draw line+ 4 other text shapes.
461
<DL><DT><B>Direct child classes:
462
</B><DD><A HREF="C2R2Line.html"> C2R2Line </A><br>
464
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
465
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
466
<P Align=Center><I>this page has been generated automatically by doc++</I>
467
<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>