1
<html><head><TITLE>SizeShapeCmd</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class SizeShapeCmd : public <!2><A HREF="Command.html#DOC.48.1">Command</A> </H2><BLOCKQUOTE>
4
abstract command class for resizing a shape.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
9
<param name=classes value="CCommand,MCommand.html,CSizeShapeCmd,MSizeShapeCmd.html,CSizeShapeCenterCmd,MSizeShapeCenterCmd.html,CSizeShapeBorderCmd,MSizeShapeBorderCmd.html">
10
<param name=before value="M,M,M|_,Mr_">
11
<param name=after value="Md_,M,M,M">
12
<param name=indent value="0,1,1,1">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.303.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>SizeShapeCmd</B> (<!1><A HREF="GShape.html">GShape</A> *<!2><A HREF="SizeShapeCmd.html#DOC.303.3">shape</A>, int <!2><A HREF="SizeShapeCmd.html#DOC.303.8">direction</A>)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.2"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>TrackMouse</B> (<!2><A HREF="Command.html#DOC.48.3">TrackType</A> aPhase, <!1><A HREF="Point.html">Point</A> *anchorPoint, <!1><A HREF="Point.html">Point</A> *previousPoint, <!1><A HREF="Point.html">Point</A> *nextPoint)<br>
23
</TD></TR></TABLE><TABLE>
24
<DT><h3>Protected Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.303.3"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="GShape.html">GShape</A>* </TD><TD><B>shape</B> <br>
26
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.4"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>newWidth</B> <br>
28
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.5"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>newHeight</B> <br>
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.6"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>oldWidth</B> <br>
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.7"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>oldHeight</B> <br>
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.8"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>direction</B> <br>
36
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.9"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>constrainX</B> <br>
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.303.10"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>constrainY</B> <br>
40
</TD></TR></TABLE><TABLE>
41
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.303.11"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>DrawOutline</B> (const <!1><A HREF="Point.html">Point</A> *pt)<br>
43
</TD></TR></TABLE></DL>
44
<hr><H3>Inherited from <A HREF="Command.html">Command:</A></h3>
48
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>TrackType</B>
50
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> virtual void <B>Execute</B>()
51
<DT><IMG SRC=icon2.gif> virtual void <B>UnExecute</B>()
52
<DT><IMG SRC=icon2.gif> virtual void <B>ReExecute</B>()
53
<DT><IMG SRC=icon2.gif> virtual void <B>Abort</B>()
54
<DT><IMG SRC=icon2.gif> bool <B>CmdDone</B>() const
55
<DT><IMG SRC=icon2.gif> virtual const char* <B>GetName</B>() const
56
<DT><IMG SRC=icon2.gif> int <B>ScaleCorrect</B>(int x) const
57
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>ScaleCorrect</B>(const <!1><A HREF="Point.html">Point</A> *pt) const
58
<DT><IMG SRC=icon2.gif> int <B>Scale</B>(int x) const
59
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>Scale</B>(const <!1><A HREF="Point.html">Point</A> *pt) const
60
<DT><IMG SRC=icon2.gif> void <B>SayAborted</B>()
62
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>SayCommited</B>()
63
<DT><IMG SRC=icon2.gif> void <B>SayUndone</B>()
64
<DT><IMG SRC=icon2.gif> <!1><A HREF="DrawWindow.html">DrawWindow</A>* <B>GetMainWindow</B>() const
65
<DT><IMG SRC=icon2.gif> <!1><A HREF="Viewer.html">Viewer</A>* <B>GetViewer</B>() const
66
<DT><IMG SRC=icon2.gif> <!1><A HREF="Document.html">Document</A>* <B>GetDocument</B>() const
67
<DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
68
<DT><IMG SRC=icon2.gif> void <B>SetCmdDone</B>(bool b)
72
<h2> Documentation </h2>
74
abstract command class for resizing a shape.
79
<A NAME="SizeShapeCmd">
81
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> SizeShapeCmd(<!1><A HREF="GShape.html">GShape</A> *<!2><A HREF="SizeShapeCmd.html#DOC.303.3">shape</A>, int <!2><A HREF="SizeShapeCmd.html#DOC.303.8">direction</A>)</B></TT>
85
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void TrackMouse(<!2><A HREF="Command.html#DOC.48.3">TrackType</A> aPhase, <!1><A HREF="Point.html">Point</A> *anchorPoint, <!1><A HREF="Point.html">Point</A> *previousPoint, <!1><A HREF="Point.html">Point</A> *nextPoint)</B></TT>
89
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="GShape.html">GShape</A>* shape</B></TT>
93
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int newWidth</B></TT>
97
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int newHeight</B></TT>
100
<A NAME ="DOC.303.6">
101
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int oldWidth</B></TT>
104
<A NAME ="DOC.303.7">
105
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int oldHeight</B></TT>
108
<A NAME ="DOC.303.8">
109
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int direction</B></TT>
111
<A NAME="constrainX">
112
<A NAME ="DOC.303.9">
113
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool constrainX</B></TT>
115
<A NAME="constrainY">
116
<A NAME ="DOC.303.10">
117
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool constrainY</B></TT>
119
<A NAME="DrawOutline">
120
<A NAME ="DOC.303.11">
121
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void DrawOutline(const <!1><A HREF="Point.html">Point</A> *pt)</B></TT>
124
<DL><DT><B>Direct child classes:
125
</B><DD><A HREF="SizeShapeCenterCmd.html"> SizeShapeCenterCmd </A><br>
126
<A HREF="SizeShapeBorderCmd.html"> SizeShapeBorderCmd </A><br>
128
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
129
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
130
<P Align=Center><I>this page has been generated automatically by doc++</I>
131
<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>