1
<html><head><TITLE>T2Line</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class T2Line : public <!2><A HREF="T1Line.html#DOC.363.3">T1Line</A> </H2><BLOCKQUOTE>
4
line class (abstract) having two extra text shape.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=275>
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,CSSDRCLine,MSSDRCLine.html,CSSDR2Line,MSSDR2Line.html">
10
<param name=before value="M,M,M,M,M,M,M|_,MR_,Mr_">
11
<param name=after value="Md_SPSPSPSP,Md_SPSPSP,Md_SPSP,Md_SP,Md_,M,M,M,M">
12
<param name=indent value="0,1,2,3,4,5,5,5,5">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.364.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T2Line</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.364.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T2Line</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.364.3"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>T2Line</B> (const <!2><A HREF="T2Line.html#DOC.364.3">T2Line</A> &)<br>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.4"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~T2Line</B> ()<br>
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.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.364.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextShape2</B> (const <!1><A HREF="string.html">string</A> *s)<br>
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSelect</B> (bool s)<br>
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFont</B> (<!1><A HREF="XFont.html">XFont</A> *ft)<br>
35
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.9"> <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>
37
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.10"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetLeftMost</B> () const <br>
38
<I> as line, but the extra text shape is also considered.</I>
39
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.11"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetTopMost</B> () const <br>
41
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.12"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetRightMost</B> () const <br>
43
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.13"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetBottomMost</B> () const <br>
45
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.14"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>WriteMembers</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
47
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.15"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>ReadMembers</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, double format)<br>
49
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.16"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetGrafport</B> (<!1><A HREF="Grafport.html">Grafport</A> *g)<br>
51
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetView</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v)<br>
53
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.18"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>InTextArea</B> (int x, int y)<br>
54
<I> return if (x,y) in text-area or in text shapes.</I>
55
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.19"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>HitTextShape</B> (int x, int y)<br>
56
<I> returns name or extra text shape if hit.</I>
57
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.20"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>ChooseTextShape</B> (int x, int y)<br>
58
<I> returns text shape if hit or if empty, otherwise return name.</I>
59
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.21"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasTextShape</B> (<!1><A HREF="TextShape.html">TextShape</A> *t) const <br>
61
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.22"> <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>
63
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.23"> <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>
65
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.24"> <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>
67
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.25"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape</B> ()<br>
69
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.26"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawShape</B> ()<br>
70
<I> draw line+textshapes.</I>
71
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.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.364.28"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>CalcPositionTextShapes</B> ()<br>
75
<I> calculate position of textshape on first line segment.</I>
76
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.29"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>GetTextShape2</B> () const <br>
78
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.30"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape2</B> (<!1><A HREF="TextShape.html">TextShape</A> *t)<br>
80
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.31"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> </TD><TD><B>GetT2Position</B> ()<br>
82
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.364.32"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetT2Position</B> (<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)<br>
84
</TD></TR></TABLE></DL>
85
<hr><H3>Inherited from <A HREF="T1Line.html">T1Line:</A></h3>
89
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>PositionType</B>
91
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>CalcPosition</B>()
92
<DT><IMG SRC=icon2.gif> void <B>UpdateTextShape1</B>(const <!1><A HREF="string.html">string</A> *s)
94
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>CL_FRACTION</B>
96
<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)
97
<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)
98
<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)
99
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetTextShape1</B>() const
100
<DT><IMG SRC=icon2.gif> void <B>SetTextShape1</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
101
<DT><IMG SRC=icon2.gif> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> <B>GetT1Position</B>()
102
<DT><IMG SRC=icon2.gif> void <B>SetT1Position</B>(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)
104
<hr><H3>Inherited from <A HREF = "Line.html"> Line:</A></h3>
108
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* <B>Clone</B>()
109
<DT><IMG SRC=icon2.gif> bool <B>IsCurved</B>() const
110
<DT><IMG SRC=icon2.gif> void <B>UpdateCurve</B>(bool b)
111
<DT><IMG SRC=icon2.gif> void <B>UpdatePosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
112
<DT><IMG SRC=icon2.gif> void <B>SetPosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
113
<DT><IMG SRC=icon2.gif> void <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *)
114
<DT><IMG SRC=icon2.gif> bool <B>ContainsPt</B>(int x, int y)
115
<DT><IMG SRC=icon2.gif> int <B>HitHandles</B>(int x, int y)
116
<DT><IMG SRC=icon2.gif> bool <B>IsLine</B>() const
117
<DT><IMG SRC=icon2.gif> unsigned int <B>GetCount</B>() const
118
<DT><IMG SRC=icon2.gif> unsigned int <B>GetOrder</B>() const
119
<DT><IMG SRC=icon2.gif> void <B>SetOrder</B>(unsigned int i)
120
<DT><IMG SRC=icon2.gif> void <B>SetCount</B>(unsigned int i)
121
<DT><IMG SRC=icon2.gif> <!2><A HREF="GShape.html#DOC.196.1">GShape</A>* <B>GetFromShape</B>() const
122
<DT><IMG SRC=icon2.gif> <!2><A HREF="GShape.html#DOC.196.1">GShape</A>* <B>GetToShape</B>() const
123
<DT><IMG SRC=icon2.gif> void <B>SetFromShape</B>(<!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n)
124
<DT><IMG SRC=icon2.gif> void <B>SetToShape</B>(<!2><A HREF="GShape.html#DOC.196.1">GShape</A> *n)
125
<DT><IMG SRC=icon2.gif> unsigned int <B>NrPoints</B>() const
126
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Point.html">Point</A> *> * <B>GetLine</B>() const
127
<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)
128
<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)
129
<DT><IMG SRC=icon2.gif> void <B>SetEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
130
<DT><IMG SRC=icon2.gif> void <B>SetEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
131
<DT><IMG SRC=icon2.gif> void <B>UpdateEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
132
<DT><IMG SRC=icon2.gif> void <B>UpdateEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
133
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetEnd1</B>()
134
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetEnd2</B>()
135
<DT><IMG SRC=icon2.gif> void <B>SetToTop</B>()
136
<DT><IMG SRC=icon2.gif> void <B>SetFromTop</B>()
137
<DT><IMG SRC=icon2.gif> void <B>SetToBottom</B>()
138
<DT><IMG SRC=icon2.gif> void <B>SetFromBottom</B>()
139
<DT><IMG SRC=icon2.gif> void <B>UpdatePosition</B>()
140
<DT><IMG SRC=icon2.gif> virtual void <B>CalcEndPoints</B>()
141
<DT><IMG SRC=icon2.gif> void <B>CalcDirection</B>()
142
<DT><IMG SRC=icon2.gif> bool <B>CalcEndPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned which)
143
<DT><IMG SRC=icon2.gif> void <B>SetPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned int n)
144
<DT><IMG SRC=icon2.gif> void <B>AddPoint</B>(const <!1><A HREF="Point.html">Point</A> *pt, unsigned int n)
145
<DT><IMG SRC=icon2.gif> void <B>RemovePoint</B>(unsigned int n)
146
<DT><IMG SRC=icon2.gif> bool <B>SetAssocSubject</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
147
<DT><IMG SRC=icon2.gif> bool <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
148
<DT><IMG SRC=icon2.gif> bool <B>CheckReferences</B>()
149
<DT><IMG SRC=icon2.gif> bool <B>GetLine</B>(int x, int y)
150
<DT><IMG SRC=icon2.gif> unsigned int <B>GetLineNumber</B>()
151
<DT><IMG SRC=icon2.gif> void <B>SetLineNumber</B>(unsigned int n)
152
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveOrthoSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
153
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
154
<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)
155
<DT><IMG SRC=icon2.gif> void <B>UpdateNameDirection</B>(<!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> nd)
156
<DT><IMG SRC=icon2.gif> <!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> <B>GetNameDirection</B>() const
158
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>LINE_DIST</B>
159
<DT><IMG SRC=icon2.gif> static const int <B>CL_DISTX</B>
160
<DT><IMG SRC=icon2.gif> static const int <B>CL_DISTY</B>
162
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>CalcPositionName</B>()
163
<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
164
<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)
165
<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)
166
<DT><IMG SRC=icon2.gif> void <B>SetNameDirection</B>(<!2><A HREF="ReadDirection.html#DOC.269.1">ReadDirection::Type</A> nd)
167
<DT><IMG SRC=icon2.gif> void <B>UndrawDirection</B>()
168
<DT><IMG SRC=icon2.gif> void <B>DrawDirection</B>()
169
<DT><IMG SRC=icon2.gif> void <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *t)
171
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>
175
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>Draw</B>()
176
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
177
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawShape</B>()
178
<DT><IMG SRC=icon2.gif> virtual void <B>DrawTextShapes</B>()
179
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawTextShapes</B>()
180
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
181
<DT><IMG SRC=icon2.gif> void <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
182
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetNameString</B>()
183
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetName</B>() const
184
<DT><IMG SRC=icon2.gif> unsigned <B>GetLineWidth</B>() const
185
<DT><IMG SRC=icon2.gif> void <B>SetLineWidth</B>(unsigned n)
186
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidth</B>(unsigned n)
187
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetLineStyle</B>() const
188
<DT><IMG SRC=icon2.gif> void <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
189
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
190
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetTextColor</B>() const
191
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
192
<DT><IMG SRC=icon2.gif> bool <B>IsFixedName</B>()
193
<DT><IMG SRC=icon2.gif> void <B>SetFixedName</B>(bool b)
194
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
195
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
196
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>() const
197
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetAlignment</B>() const
199
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
200
<DT><IMG SRC=icon2.gif> bool <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
201
<DT><IMG SRC=icon2.gif> void <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
202
<DT><IMG SRC=icon2.gif> bool <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
203
<DT><IMG SRC=icon2.gif> void <B>SetDrawAttributes</B>()
204
<DT><IMG SRC=icon2.gif> virtual void <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
205
<DT><IMG SRC=icon2.gif> void <B>SnapPosition</B>()
206
<DT><IMG SRC=icon2.gif> void <B>SnapTopleft</B>()
208
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
212
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HEIGHT</B>
213
<DT><IMG SRC=icon2.gif> static const int <B>MIN_WIDTH</B>
214
<DT><IMG SRC=icon2.gif> static const int <B>HANDLE_WIDTH</B>
216
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsShape</B>() const
217
<DT><IMG SRC=icon2.gif> virtual bool <B>IsTextShape</B>() const
218
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSize</B>(int w, int h)
219
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
220
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSelect</B>(bool s)
221
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFirstSelect</B>(bool s)
222
<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>)
223
<DT><IMG SRC=icon2.gif> virtual void <B>SetFirstSelect</B>(bool s)
224
<DT><IMG SRC=icon2.gif> bool <B>IsFirstSelected</B>() const
225
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool s)
226
<DT><IMG SRC=icon2.gif> void <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
227
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>* <B>GetSubject</B>() const
228
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetView</B>() const
229
<DT><IMG SRC=icon2.gif> void <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
230
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetColor</B>() const
231
<DT><IMG SRC=icon2.gif> virtual void <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
232
<DT><IMG SRC=icon2.gif> virtual void <B>AdjustSize</B>()
233
<DT><IMG SRC=icon2.gif> void <B>SetHandles</B>(int n)
234
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetPosition</B>() const
235
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetTopLeft</B>() const
236
<DT><IMG SRC=icon2.gif> bool <B>IsSelected</B>() const
237
<DT><IMG SRC=icon2.gif> bool <B>IsVisible</B>() const
238
<DT><IMG SRC=icon2.gif> bool <B>IsDuplicate</B>() const
239
<DT><IMG SRC=icon2.gif> int <B>GetWidth</B>() const
240
<DT><IMG SRC=icon2.gif> int <B>GetHeight</B>() const
241
<DT><IMG SRC=icon2.gif> virtual void <B>DrawDuplicate</B>()
242
<DT><IMG SRC=icon2.gif> void <B>UndrawDuplicate</B>()
243
<DT><IMG SRC=icon2.gif> void <B>SetDuplicate</B>(bool b)
244
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicate</B>(bool b)
245
<DT><IMG SRC=icon2.gif> bool <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
247
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HANDLES</B>
249
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
250
<DT><IMG SRC=icon2.gif> void <B>SetOutlineAttributes</B>()
251
<DT><IMG SRC=icon2.gif> virtual void <B>SetSize</B>(int w, int h)
252
<DT><IMG SRC=icon2.gif> void <B>SetWidth</B>(int w)
253
<DT><IMG SRC=icon2.gif> void <B>SetHeight</B>(int h)
254
<DT><IMG SRC=icon2.gif> void <B>SetNrHandles</B>(int n)
255
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>* <B>GetViewer</B>() const
256
<DT><IMG SRC=icon2.gif> void <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
257
<DT><IMG SRC=icon2.gif> virtual void <B>DrawSelect</B>()
258
<DT><IMG SRC=icon2.gif> virtual void <B>DrawGraySelect</B>()
259
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawSelect</B>()
260
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawGraySelect</B>()
261
<DT><IMG SRC=icon2.gif> void <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
262
<DT><IMG SRC=icon2.gif> virtual void <B>SetPositionHandles</B>()
263
<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>)
265
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
269
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>AssocType</B>
271
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned long <B>GetId</B>()
272
<DT><IMG SRC=icon2.gif> void <B>SetId</B>(unsigned long val)
273
<DT><IMG SRC=icon2.gif> virtual bool <B>IsSubject</B>() const
274
<DT><IMG SRC=icon2.gif> virtual bool <B>IsView</B>() const
275
<DT><IMG SRC=icon2.gif> void <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
279
<h2> Documentation </h2>
281
line class (abstract) having two extra text shape.
287
<A NAME ="DOC.364.1">
288
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> T2Line(<!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>
291
<A NAME ="DOC.364.2">
292
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> T2Line(<!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>
295
<A NAME ="DOC.364.3">
296
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> T2Line(const <!2><A HREF="T2Line.html#DOC.364.3">T2Line</A> &)</B></TT>
299
<A NAME ="DOC.364.4">
300
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~T2Line()</B></TT>
302
<A NAME="GetClassType">
303
<A NAME ="DOC.364.5">
304
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetClassType() const </B></TT>
306
<A NAME="UpdateTextShape2">
307
<A NAME ="DOC.364.6">
308
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateTextShape2(const <!1><A HREF="string.html">string</A> *s)</B></TT>
311
<A NAME ="DOC.364.7">
312
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSelect(bool s)</B></TT>
315
<A NAME ="DOC.364.8">
316
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFont(<!1><A HREF="XFont.html">XFont</A> *ft)</B></TT>
318
<A NAME="SetTextColor">
319
<A NAME ="DOC.364.9">
320
<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>
322
<A NAME="GetLeftMost">
323
<A NAME ="DOC.364.10">
324
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetLeftMost() const </B></TT>
325
<DD> as line, but the extra text shape is also considered.
327
<A NAME="GetTopMost">
328
<A NAME ="DOC.364.11">
329
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetTopMost() const </B></TT>
331
<A NAME="GetRightMost">
332
<A NAME ="DOC.364.12">
333
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetRightMost() const </B></TT>
335
<A NAME="GetBottomMost">
336
<A NAME ="DOC.364.13">
337
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetBottomMost() const </B></TT>
339
<A NAME="WriteMembers">
340
<A NAME ="DOC.364.14">
341
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void WriteMembers(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
343
<A NAME="ReadMembers">
344
<A NAME ="DOC.364.15">
345
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool ReadMembers(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
347
<A NAME="SetGrafport">
348
<A NAME ="DOC.364.16">
349
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetGrafport(<!1><A HREF="Grafport.html">Grafport</A> *g)</B></TT>
352
<A NAME ="DOC.364.17">
353
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetView(<!1><A HREF="ShapeView.html">ShapeView</A> *v)</B></TT>
355
<A NAME="InTextArea">
356
<A NAME ="DOC.364.18">
357
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool InTextArea(int x, int y)</B></TT>
358
<DD> return if (x,y) in text-area or in text shapes.
360
<A NAME="HitTextShape">
361
<A NAME ="DOC.364.19">
362
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* HitTextShape(int x, int y)</B></TT>
363
<DD> returns name or extra text shape if hit.
365
<A NAME="ChooseTextShape">
366
<A NAME ="DOC.364.20">
367
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* ChooseTextShape(int x, int y)</B></TT>
368
<DD> returns text shape if hit or if empty, otherwise return name.
370
<A NAME="HasTextShape">
371
<A NAME ="DOC.364.21">
372
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasTextShape(<!1><A HREF="TextShape.html">TextShape</A> *t) const </B></TT>
375
<A NAME ="DOC.364.22">
376
<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>
378
<A NAME="HasNameString">
379
<A NAME ="DOC.364.23">
380
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasNameString(const <!1><A HREF="string.html">string</A> *, bool, bool) const </B></TT>
382
<A NAME="ReplaceNameString">
383
<A NAME ="DOC.364.24">
384
<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>
386
<A NAME="SetTextShape">
387
<A NAME ="DOC.364.25">
388
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextShape()</B></TT>
391
<A NAME ="DOC.364.26">
392
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawShape()</B></TT>
393
<DD> draw line+textshapes.
396
<A NAME ="DOC.364.27">
397
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void MoveRaw(const <!1><A HREF="Point.html">Point</A> *delta)</B></TT>
399
<A NAME="CalcPositionTextShapes">
400
<A NAME ="DOC.364.28">
401
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void CalcPositionTextShapes()</B></TT>
402
<DD> calculate position of textshape on first line segment.
404
<A NAME="GetTextShape2">
405
<A NAME ="DOC.364.29">
406
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* GetTextShape2() const </B></TT>
408
<A NAME="SetTextShape2">
409
<A NAME ="DOC.364.30">
410
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextShape2(<!1><A HREF="TextShape.html">TextShape</A> *t)</B></TT>
412
<A NAME="GetT2Position">
413
<A NAME ="DOC.364.31">
414
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> GetT2Position()</B></TT>
416
<A NAME="SetT2Position">
417
<A NAME ="DOC.364.32">
418
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetT2Position(<!2><A HREF="T1Line.html#DOC.363.17">PositionType</A> t)</B></TT>
421
<DL><DT><B>Direct child classes:
422
</B><DD><A HREF="T4Line.html"> T4Line </A><br>
423
<A HREF="SSDRCLine.html"> SSDRCLine </A><br>
424
<A HREF="SSDR2Line.html"> SSDR2Line </A><br>
426
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
427
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
428
<P Align=Center><I>this page has been generated automatically by doc++</I>
429
<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>