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

« back to all changes in this revision

Viewing changes to doc/sourcecode/Disk.html

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><TITLE>Disk</TITLE></head>
 
2
<body>
 
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  Disk : public <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> </H2><BLOCKQUOTE>
 
4
 Disk shape class.
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 <h2> Inheritance:</h2>
 
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
 
9
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CNodeShape,MNodeShape.html,CDisk,MDisk.html">
 
10
<param name=before value="M,M,M,M,M">
 
11
<param name=after value="Md_SPSPSP,Md_SPSP,Md_SP,Md_,M">
 
12
<param name=indent value="0,1,2,3,4">
 
13
<param name=arrowdir value="down">
 
14
</APPLET>
 
15
<hr>
 
16
 
 
17
<DL>
 
18
<TABLE>
 
19
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.117.1"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>DISK_WIDTH</B> <br>
 
20
<I> default width</I>
 
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.2"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>DISK_HEIGHT</B> <br>
 
22
<I> default height</I>
 
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.3"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  double </TD><TD><B>ELLIPSE_FACTOR</B> <br>
 
24
<I> relative size of the ellipse.</I>
 
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.12"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>DISK_HANDLES</B> <br>
 
26
<I> default nr. of handles.</I>
 
27
</TD></TR></TABLE><TABLE>
 
28
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.117.4"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Disk</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int w = <!2><A HREF="Disk.html#DOC.117.1">DISK_WIDTH</A>, int h = <!2><A HREF="Disk.html#DOC.117.2">DISK_HEIGHT</A>)<br>
 
29
<I></I>
 
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.5"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Disk</B> (const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &)<br>
 
31
<I></I>
 
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.6"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* </TD><TD><B>Clone</B> ()<br>
 
33
<I></I>
 
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawOutLine</B> (const <!1><A HREF="Point.html">Point</A> *center)<br>
 
35
<I> draw disk-form dotted outline snaps to the grid.</I>
 
36
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.8"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>GiveSnp</B> (<!1><A HREF="Point.html">Point</A> to) const <br>
 
37
<I> See Shape::</I>
 
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.9"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>GiveOrthoSnp</B> (<!1><A HREF="Point.html">Point</A> to) const <br>
 
39
<I> See Shape::</I>
 
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.10"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>GiveSnp</B> (<!1><A HREF="Point.html">Point</A> p, int order, int count, int &code)<br>
 
41
<I> order and count are for multiple edges. code for horz or vert point.</I>
 
42
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.11"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetClassType</B> () const <br>
 
43
<I></I>
 
44
</TD></TR></TABLE><TABLE>
 
45
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.117.13"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawShape</B> ()<br>
 
46
<I> draws a disk</I>
 
47
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.14"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>GiveBoxOrthoSnp</B> (<!1><A HREF="Point.html">Point</A> to) const <br>
 
48
<I></I>
 
49
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetPosition</B> (const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="Shape.html#DOC.296.90">position</A>, bool snap=True)<br>
 
50
<I></I>
 
51
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.16"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSize</B> (int w, int h)<br>
 
52
<I></I>
 
53
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape</B> ()<br>
 
54
<I></I>
 
55
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.117.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CalcPositionName</B> ()<br>
 
56
<I></I>
 
57
</TD></TR></TABLE></DL>
 
58
<hr><H3>Inherited from <A HREF="NodeShape.html">NodeShape:</A></h3>
 
59
 
 
60
<DL>
 
61
<DL>
 
62
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>UpdateIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
 
63
<DT><IMG SRC=icon2.gif> void  <B>SetIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
 
64
<DT><IMG SRC=icon2.gif> void  <B>DrawDuplicate</B>()
 
65
<DT><IMG SRC=icon2.gif> void  <B>DrawMultiplicity</B>()
 
66
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A>  <B>GetFillStyle</B>() const 
 
67
<DT><IMG SRC=icon2.gif> void  <B>SetFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
 
68
<DT><IMG SRC=icon2.gif> void  <B>UpdateFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
 
69
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetFillColor</B>() const 
 
70
<DT><IMG SRC=icon2.gif> void  <B>SetFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
71
<DT><IMG SRC=icon2.gif> void  <B>UpdateFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
72
<DT><IMG SRC=icon2.gif> void  <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
 
73
<DT><IMG SRC=icon2.gif> void  <B>SetView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
 
74
<DT><IMG SRC=icon2.gif> void  <B>SetFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
 
75
<DT><IMG SRC=icon2.gif> void  <B>SetTextColor</B>(const <!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)
 
76
<DT><IMG SRC=icon2.gif> bool  <B>InTextArea</B>(int x, int y)
 
77
<DT><IMG SRC=icon2.gif> int  <B>HitHandles</B>(int, int)
 
78
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>ChooseTextShape</B>(int x, int y)
 
79
<DT><IMG SRC=icon2.gif> void  <B>AdjustSize</B>()
 
80
<DT><IMG SRC=icon2.gif> bool  <B>SetAssocSubject</B>(<!1><A HREF="AssocList.html">AssocList</A> *al)
 
81
<DT><IMG SRC=icon2.gif> void  <B>WriteMembers</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
82
<DT><IMG SRC=icon2.gif> bool  <B>ReadMembers</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
 
83
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>GetIndexLabel</B>() const 
 
84
<DT><IMG SRC=icon2.gif> bool  <B>IsFixedIndexLabel</B>()
 
85
<DT><IMG SRC=icon2.gif> void  <B>SetFixedIndexLabel</B>(bool b)
 
86
<DT><IMG SRC=icon2.gif> void  <B>SetResizable</B>(bool b)
 
87
<DT><IMG SRC=icon2.gif> bool  <B>IsResizable</B>()
 
88
<DT><IMG SRC=icon2.gif> void  <B>ForceSize</B>(int w, int ht)
 
89
<DT><IMG SRC=icon2.gif> bool  <B>HasTextShape</B>(<!1><A HREF="TextShape.html">TextShape</A> *t) const 
 
90
<DT><IMG SRC=icon2.gif> bool  <B>HasString</B>(const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const 
 
91
<DT><IMG SRC=icon2.gif> bool  <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> *> *)
 
92
</DL><DL>
 
93
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>DrawTextShapes</B>()
 
94
<DT><IMG SRC=icon2.gif> virtual  void  <B>CalcPositionIndexLabel</B>()
 
95
</DL></DL>
 
96
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>
 
97
 
 
98
<DL>
 
99
<DL>
 
100
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>Draw</B>()
 
101
<DT><IMG SRC=icon2.gif> void  <B>Undraw</B>()
 
102
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawShape</B>()
 
103
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawTextShapes</B>()
 
104
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
 
105
<DT><IMG SRC=icon2.gif> void  <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
 
106
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetNameString</B>()
 
107
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>GetName</B>() const 
 
108
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetSelect</B>(bool s)
 
109
<DT><IMG SRC=icon2.gif> unsigned  <B>GetLineWidth</B>() const 
 
110
<DT><IMG SRC=icon2.gif> void  <B>SetLineWidth</B>(unsigned n)
 
111
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineWidth</B>(unsigned n)
 
112
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  <B>GetLineStyle</B>() const 
 
113
<DT><IMG SRC=icon2.gif> void  <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
 
114
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
 
115
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetTextColor</B>() const 
 
116
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
117
<DT><IMG SRC=icon2.gif> virtual  <!1><A HREF="TextShape.html">TextShape</A>*  <B>HitTextShape</B>(int x, int y)
 
118
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetLeftMost</B>() const 
 
119
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetTopMost</B>() const 
 
120
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetRightMost</B>() const 
 
121
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetBottomMost</B>() const 
 
122
<DT><IMG SRC=icon2.gif> bool  <B>IsFixedName</B>()
 
123
<DT><IMG SRC=icon2.gif> void  <B>SetFixedName</B>(bool b)
 
124
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
 
125
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
 
126
<DT><IMG SRC=icon2.gif> virtual  void  <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *)
 
127
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>*  <B>GetFont</B>() const 
 
128
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A>  <B>GetAlignment</B>() const 
 
129
<DT><IMG SRC=icon2.gif> bool  <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *s, bool c1, bool c2) const 
 
130
<DT><IMG SRC=icon2.gif> bool  <B>CheckReferences</B>()
 
131
</DL><DL>
 
132
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
133
<DT><IMG SRC=icon2.gif> bool  <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
 
134
<DT><IMG SRC=icon2.gif> void  <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
135
<DT><IMG SRC=icon2.gif> bool  <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
 
136
<DT><IMG SRC=icon2.gif> void  <B>SetDrawAttributes</B>()
 
137
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
 
138
<DT><IMG SRC=icon2.gif> void  <B>SnapPosition</B>()
 
139
<DT><IMG SRC=icon2.gif> void  <B>SnapTopleft</B>()
 
140
</DL></DL>
 
141
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
 
142
 
 
143
<DL>
 
144
<DL>
 
145
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_HEIGHT</B>
 
146
<DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_WIDTH</B>
 
147
<DT><IMG SRC=icon2.gif> static  const  int  <B>HANDLE_WIDTH</B>
 
148
</DL><DL>
 
149
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool  <B>IsShape</B>() const 
 
150
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsTextShape</B>() const 
 
151
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdatePosition</B>(const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="Shape.html#DOC.296.90">position</A>, bool snap=True)
 
152
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateSize</B>(int w, int h)
 
153
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
 
154
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateSelect</B>(bool s)
 
155
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateFirstSelect</B>(bool s)
 
156
<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>)
 
157
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetFirstSelect</B>(bool s)
 
158
<DT><IMG SRC=icon2.gif> bool  <B>IsFirstSelected</B>() const 
 
159
<DT><IMG SRC=icon2.gif> void  <B>SetVisible</B>(bool s)
 
160
<DT><IMG SRC=icon2.gif> void  <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
 
161
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>*  <B>GetSubject</B>() const 
 
162
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>*  <B>GetView</B>() const 
 
163
<DT><IMG SRC=icon2.gif> void  <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
164
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetColor</B>() const 
 
165
<DT><IMG SRC=icon2.gif> virtual  void  <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
 
166
<DT><IMG SRC=icon2.gif> void  <B>SetHandles</B>(int n)
 
167
<DT><IMG SRC=icon2.gif> virtual  bool  <B>ContainsPt</B>(int x, int y)
 
168
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetPosition</B>() const 
 
169
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetTopLeft</B>() const 
 
170
<DT><IMG SRC=icon2.gif> bool  <B>IsSelected</B>() const 
 
171
<DT><IMG SRC=icon2.gif> bool  <B>IsVisible</B>() const 
 
172
<DT><IMG SRC=icon2.gif> bool  <B>IsDuplicate</B>() const 
 
173
<DT><IMG SRC=icon2.gif> int  <B>GetWidth</B>() const 
 
174
<DT><IMG SRC=icon2.gif> int  <B>GetHeight</B>() const 
 
175
<DT><IMG SRC=icon2.gif> void  <B>UndrawDuplicate</B>()
 
176
<DT><IMG SRC=icon2.gif> void  <B>SetDuplicate</B>(bool b)
 
177
<DT><IMG SRC=icon2.gif> void  <B>UpdateDuplicate</B>(bool b)
 
178
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsLine</B>() const 
 
179
<DT><IMG SRC=icon2.gif> bool  <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
 
180
<DT><IMG SRC=icon2.gif> virtual  void  <B>MoveRaw</B>(const <!1><A HREF="Point.html">Point</A> *delta)
 
181
</DL><DL>
 
182
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_HANDLES</B>
 
183
</DL><DL>
 
184
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>*  <B>GetGrafport</B>() const 
 
185
<DT><IMG SRC=icon2.gif> void  <B>SetOutlineAttributes</B>()
 
186
<DT><IMG SRC=icon2.gif> void  <B>SetWidth</B>(int w)
 
187
<DT><IMG SRC=icon2.gif> void  <B>SetHeight</B>(int h)
 
188
<DT><IMG SRC=icon2.gif> void  <B>SetNrHandles</B>(int n)
 
189
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>*  <B>GetViewer</B>() const 
 
190
<DT><IMG SRC=icon2.gif> void  <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
 
191
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawSelect</B>()
 
192
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawGraySelect</B>()
 
193
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawSelect</B>()
 
194
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawGraySelect</B>()
 
195
<DT><IMG SRC=icon2.gif> void  <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
 
196
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetPositionHandles</B>()
 
197
<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>)
 
198
</DL></DL>
 
199
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
 
200
 
 
201
<DL>
 
202
<DL>
 
203
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum  <B>AssocType</B>
 
204
</DL><DL>
 
205
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned  long  <B>GetId</B>()
 
206
<DT><IMG SRC=icon2.gif> void  <B>SetId</B>(unsigned long val)
 
207
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsSubject</B>() const 
 
208
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsView</B>() const 
 
209
<DT><IMG SRC=icon2.gif> void  <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
210
<DT><IMG SRC=icon2.gif> virtual  bool  <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
 
211
</DL></DL>
 
212
<A NAME="DOC.DOCU">
 
213
<hr>
 
214
 <h2> Documentation </h2>
 
215
<BLOCKQUOTE>
 
216
 Disk shape class.
 
217
 
 
218
</BLOCKQUOTE>
 
219
<DL>
 
220
 
 
221
<A NAME="DISK_WIDTH">
 
222
<A NAME ="DOC.117.1">
 
223
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  DISK_WIDTH</B></TT>
 
224
<DD> default width
 
225
<DL></DL><P>
 
226
<A NAME="DISK_HEIGHT">
 
227
<A NAME ="DOC.117.2">
 
228
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  DISK_HEIGHT</B></TT>
 
229
<DD> default height
 
230
<DL></DL><P>
 
231
<A NAME="ELLIPSE_FACTOR">
 
232
<A NAME ="DOC.117.3">
 
233
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  double  ELLIPSE_FACTOR</B></TT>
 
234
<DD> relative size of the ellipse.
 
235
<DL></DL><P>
 
236
<A NAME="Disk">
 
237
<A NAME ="DOC.117.4">
 
238
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  Disk(<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int w = <!2><A HREF="Disk.html#DOC.117.1">DISK_WIDTH</A>, int h = <!2><A HREF="Disk.html#DOC.117.2">DISK_HEIGHT</A>)</B></TT>
 
239
<DL></DL><P>
 
240
<A NAME="Disk">
 
241
<A NAME ="DOC.117.5">
 
242
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  Disk(const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &)</B></TT>
 
243
<DL></DL><P>
 
244
<A NAME="Clone">
 
245
<A NAME ="DOC.117.6">
 
246
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>*  Clone()</B></TT>
 
247
<DL></DL><P>
 
248
<A NAME="DrawOutLine">
 
249
<A NAME ="DOC.117.7">
 
250
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawOutLine(const <!1><A HREF="Point.html">Point</A> *center)</B></TT>
 
251
<DD> draw disk-form dotted outline snaps to the grid.
 
252
<DL></DL><P>
 
253
<A NAME="GiveSnp">
 
254
<A NAME ="DOC.117.8">
 
255
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  GiveSnp(<!1><A HREF="Point.html">Point</A> to) const </B></TT>
 
256
<DD> See Shape::
 
257
<DL></DL><P>
 
258
<A NAME="GiveOrthoSnp">
 
259
<A NAME ="DOC.117.9">
 
260
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  GiveOrthoSnp(<!1><A HREF="Point.html">Point</A> to) const </B></TT>
 
261
<DD> See Shape::
 
262
<DL></DL><P>
 
263
<A NAME="GiveSnp">
 
264
<A NAME ="DOC.117.10">
 
265
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  GiveSnp(<!1><A HREF="Point.html">Point</A> p, int order, int count, int &code)</B></TT>
 
266
<DD> order and count are for multiple edges. code for horz or vert point.
 
267
<DL></DL><P>
 
268
<A NAME="GetClassType">
 
269
<A NAME ="DOC.117.11">
 
270
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetClassType() const </B></TT>
 
271
<DL></DL><P>
 
272
<A NAME="DISK_HANDLES">
 
273
<A NAME ="DOC.117.12">
 
274
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  DISK_HANDLES</B></TT>
 
275
<DD> default nr. of handles.
 
276
<DL></DL><P>
 
277
<A NAME="DrawShape">
 
278
<A NAME ="DOC.117.13">
 
279
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawShape()</B></TT>
 
280
<DD> draws a disk
 
281
<DL></DL><P>
 
282
<A NAME="GiveBoxOrthoSnp">
 
283
<A NAME ="DOC.117.14">
 
284
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  GiveBoxOrthoSnp(<!1><A HREF="Point.html">Point</A> to) const </B></TT>
 
285
<DL></DL><P>
 
286
<A NAME="SetPosition">
 
287
<A NAME ="DOC.117.15">
 
288
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetPosition(const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="Shape.html#DOC.296.90">position</A>, bool snap=True)</B></TT>
 
289
<DL></DL><P>
 
290
<A NAME="SetSize">
 
291
<A NAME ="DOC.117.16">
 
292
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetSize(int w, int h)</B></TT>
 
293
<DL></DL><P>
 
294
<A NAME="SetTextShape">
 
295
<A NAME ="DOC.117.17">
 
296
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextShape()</B></TT>
 
297
<DL></DL><P>
 
298
<A NAME="CalcPositionName">
 
299
<A NAME ="DOC.117.18">
 
300
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  CalcPositionName()</B></TT>
 
301
<DL></DL><P></DL>
 
302
<hr>
 
303
 <DL><DT><B>This class has no child classes.</B></DL>
 
304
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
 
305
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
 
306
<P Align=Center><I>this page has been generated automatically by doc++</I>
 
307
<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>
 
308
</BODY>