1
<html><head><TITLE>Circle</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class Circle : public <!2><A HREF="Ellipse.html#DOC.146.4">Ellipse</A> </H2><BLOCKQUOTE>
4
ellipse class always having equal width and height.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=215>
9
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CNodeShape,MNodeShape.html,CEllipse,MEllipse.html,CCircle,MCircle.html,CLeftLineCircle,MLeftLineCircle.html">
10
<param name=before value="M,M,M,M,M,M,M^_">
11
<param name=after value="Md_SPSPSPSP,Md_SPSPSP,Md_SPSP,Md_SP,Md_,M,M">
12
<param name=indent value="0,1,2,3,4,5,5">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.43.1"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>CIRCLE_WIDTH</B> <br>
21
</TD></TR></TABLE><TABLE>
22
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.43.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Circle</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int diameter = <!2><A HREF="Circle.html#DOC.43.1">CIRCLE_WIDTH</A>)<br>
24
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.43.3"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Circle</B> (const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &)<br>
26
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.43.4"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* </TD><TD><B>Clone</B> ()<br>
28
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.43.5"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetClassType</B> () const <br>
30
</TD></TR></TABLE><TABLE>
31
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.43.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSize</B> (int <!2><A HREF="Shape.html#DOC.296.93">width</A>, int <!2><A HREF="Shape.html#DOC.296.92">height</A>)<br>
33
</TD></TR></TABLE></DL>
34
<hr><H3>Inherited from <A HREF="Ellipse.html">Ellipse:</A></h3>
38
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>ELLIPSE_WIDTH</B>
39
<DT><IMG SRC=icon2.gif> static const int <B>ELLIPSE_HEIGHT</B>
40
<DT><IMG SRC=icon2.gif> static const int <B>ELLIPSE_HANDLES</B>
42
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *center)
43
<DT><IMG SRC=icon2.gif> void <B>DrawDuplicate</B>()
44
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
45
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> p, int count, int order, int &code)
46
<DT><IMG SRC=icon2.gif> void <B>AdjustSize</B>()
48
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>DrawShape</B>()
50
<hr><H3>Inherited from <A HREF = "NodeShape.html"> NodeShape:</A></h3>
54
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>UpdateIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
55
<DT><IMG SRC=icon2.gif> void <B>SetIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
56
<DT><IMG SRC=icon2.gif> void <B>DrawMultiplicity</B>()
57
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> <B>GetFillStyle</B>() const
58
<DT><IMG SRC=icon2.gif> void <B>SetFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
59
<DT><IMG SRC=icon2.gif> void <B>UpdateFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
60
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetFillColor</B>() const
61
<DT><IMG SRC=icon2.gif> void <B>SetFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
62
<DT><IMG SRC=icon2.gif> void <B>UpdateFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
63
<DT><IMG SRC=icon2.gif> void <B>SetPosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
64
<DT><IMG SRC=icon2.gif> void <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
65
<DT><IMG SRC=icon2.gif> void <B>SetView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
66
<DT><IMG SRC=icon2.gif> void <B>SetFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
67
<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>)
68
<DT><IMG SRC=icon2.gif> bool <B>InTextArea</B>(int x, int y)
69
<DT><IMG SRC=icon2.gif> int <B>HitHandles</B>(int, int)
70
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>ChooseTextShape</B>(int x, int y)
71
<DT><IMG SRC=icon2.gif> bool <B>SetAssocSubject</B>(<!1><A HREF="AssocList.html">AssocList</A> *al)
72
<DT><IMG SRC=icon2.gif> void <B>WriteMembers</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
73
<DT><IMG SRC=icon2.gif> bool <B>ReadMembers</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
74
<DT><IMG SRC=icon2.gif> void <B>SetTextShape</B>()
75
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetIndexLabel</B>() const
76
<DT><IMG SRC=icon2.gif> bool <B>IsFixedIndexLabel</B>()
77
<DT><IMG SRC=icon2.gif> void <B>SetFixedIndexLabel</B>(bool b)
78
<DT><IMG SRC=icon2.gif> void <B>SetResizable</B>(bool b)
79
<DT><IMG SRC=icon2.gif> bool <B>IsResizable</B>()
80
<DT><IMG SRC=icon2.gif> void <B>ForceSize</B>(int w, int ht)
81
<DT><IMG SRC=icon2.gif> bool <B>HasTextShape</B>(<!1><A HREF="TextShape.html">TextShape</A> *t) const
82
<DT><IMG SRC=icon2.gif> bool <B>HasString</B>(const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const
83
<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> *> *)
85
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>DrawTextShapes</B>()
86
<DT><IMG SRC=icon2.gif> virtual void <B>CalcPositionIndexLabel</B>()
88
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>
92
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>Draw</B>()
93
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
94
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawShape</B>()
95
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawTextShapes</B>()
96
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
97
<DT><IMG SRC=icon2.gif> void <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
98
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetNameString</B>()
99
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetName</B>() const
100
<DT><IMG SRC=icon2.gif> virtual void <B>SetSelect</B>(bool s)
101
<DT><IMG SRC=icon2.gif> unsigned <B>GetLineWidth</B>() const
102
<DT><IMG SRC=icon2.gif> void <B>SetLineWidth</B>(unsigned n)
103
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidth</B>(unsigned n)
104
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetLineStyle</B>() const
105
<DT><IMG SRC=icon2.gif> void <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
106
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
107
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetTextColor</B>() const
108
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
109
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="TextShape.html">TextShape</A>* <B>HitTextShape</B>(int x, int y)
110
<DT><IMG SRC=icon2.gif> virtual int <B>GetLeftMost</B>() const
111
<DT><IMG SRC=icon2.gif> virtual int <B>GetTopMost</B>() const
112
<DT><IMG SRC=icon2.gif> virtual int <B>GetRightMost</B>() const
113
<DT><IMG SRC=icon2.gif> virtual int <B>GetBottomMost</B>() const
114
<DT><IMG SRC=icon2.gif> bool <B>IsFixedName</B>()
115
<DT><IMG SRC=icon2.gif> void <B>SetFixedName</B>(bool b)
116
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
117
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
118
<DT><IMG SRC=icon2.gif> virtual void <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *)
119
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>() const
120
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetAlignment</B>() const
121
<DT><IMG SRC=icon2.gif> bool <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *s, bool c1, bool c2) const
122
<DT><IMG SRC=icon2.gif> bool <B>CheckReferences</B>()
124
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
125
<DT><IMG SRC=icon2.gif> bool <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
126
<DT><IMG SRC=icon2.gif> void <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
127
<DT><IMG SRC=icon2.gif> bool <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
128
<DT><IMG SRC=icon2.gif> void <B>SetDrawAttributes</B>()
129
<DT><IMG SRC=icon2.gif> virtual void <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
130
<DT><IMG SRC=icon2.gif> void <B>SnapPosition</B>()
131
<DT><IMG SRC=icon2.gif> void <B>SnapTopleft</B>()
133
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
137
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HEIGHT</B>
138
<DT><IMG SRC=icon2.gif> static const int <B>MIN_WIDTH</B>
139
<DT><IMG SRC=icon2.gif> static const int <B>HANDLE_WIDTH</B>
141
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsShape</B>() const
142
<DT><IMG SRC=icon2.gif> virtual bool <B>IsTextShape</B>() const
143
<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)
144
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSize</B>(int w, int h)
145
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
146
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSelect</B>(bool s)
147
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFirstSelect</B>(bool s)
148
<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>)
149
<DT><IMG SRC=icon2.gif> virtual void <B>SetFirstSelect</B>(bool s)
150
<DT><IMG SRC=icon2.gif> bool <B>IsFirstSelected</B>() const
151
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool s)
152
<DT><IMG SRC=icon2.gif> void <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
153
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>* <B>GetSubject</B>() const
154
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetView</B>() const
155
<DT><IMG SRC=icon2.gif> void <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
156
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetColor</B>() const
157
<DT><IMG SRC=icon2.gif> virtual void <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
158
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="Point.html">Point</A> <B>GiveOrthoSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
159
<DT><IMG SRC=icon2.gif> void <B>SetHandles</B>(int n)
160
<DT><IMG SRC=icon2.gif> virtual bool <B>ContainsPt</B>(int x, int y)
161
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetPosition</B>() const
162
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetTopLeft</B>() const
163
<DT><IMG SRC=icon2.gif> bool <B>IsSelected</B>() const
164
<DT><IMG SRC=icon2.gif> bool <B>IsVisible</B>() const
165
<DT><IMG SRC=icon2.gif> bool <B>IsDuplicate</B>() const
166
<DT><IMG SRC=icon2.gif> int <B>GetWidth</B>() const
167
<DT><IMG SRC=icon2.gif> int <B>GetHeight</B>() const
168
<DT><IMG SRC=icon2.gif> void <B>UndrawDuplicate</B>()
169
<DT><IMG SRC=icon2.gif> void <B>SetDuplicate</B>(bool b)
170
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicate</B>(bool b)
171
<DT><IMG SRC=icon2.gif> virtual bool <B>IsLine</B>() const
172
<DT><IMG SRC=icon2.gif> bool <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
173
<DT><IMG SRC=icon2.gif> virtual void <B>MoveRaw</B>(const <!1><A HREF="Point.html">Point</A> *delta)
175
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HANDLES</B>
177
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
178
<DT><IMG SRC=icon2.gif> void <B>SetOutlineAttributes</B>()
179
<DT><IMG SRC=icon2.gif> void <B>SetWidth</B>(int w)
180
<DT><IMG SRC=icon2.gif> void <B>SetHeight</B>(int h)
181
<DT><IMG SRC=icon2.gif> void <B>SetNrHandles</B>(int n)
182
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>* <B>GetViewer</B>() const
183
<DT><IMG SRC=icon2.gif> void <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
184
<DT><IMG SRC=icon2.gif> virtual void <B>DrawSelect</B>()
185
<DT><IMG SRC=icon2.gif> virtual void <B>DrawGraySelect</B>()
186
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawSelect</B>()
187
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawGraySelect</B>()
188
<DT><IMG SRC=icon2.gif> void <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
189
<DT><IMG SRC=icon2.gif> virtual void <B>SetPositionHandles</B>()
190
<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>)
192
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
196
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>AssocType</B>
198
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned long <B>GetId</B>()
199
<DT><IMG SRC=icon2.gif> void <B>SetId</B>(unsigned long val)
200
<DT><IMG SRC=icon2.gif> virtual bool <B>IsSubject</B>() const
201
<DT><IMG SRC=icon2.gif> virtual bool <B>IsView</B>() const
202
<DT><IMG SRC=icon2.gif> void <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
203
<DT><IMG SRC=icon2.gif> virtual bool <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
207
<h2> Documentation </h2>
209
ellipse class always having equal width and height.
214
<A NAME="CIRCLE_WIDTH">
216
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int CIRCLE_WIDTH</B></TT>
220
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> Circle(<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int diameter = <!2><A HREF="Circle.html#DOC.43.1">CIRCLE_WIDTH</A>)</B></TT>
224
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> Circle(const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &)</B></TT>
228
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* Clone()</B></TT>
230
<A NAME="GetClassType">
232
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetClassType() const </B></TT>
236
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSize(int <!2><A HREF="Shape.html#DOC.296.93">width</A>, int <!2><A HREF="Shape.html#DOC.296.92">height</A>)</B></TT>
239
<DL><DT><B>Direct child classes:
240
</B><DD><A HREF="LeftLineCircle.html"> LeftLineCircle </A><br>
242
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
243
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
244
<P Align=Center><I>this page has been generated automatically by doc++</I>
245
<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>