1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
|
<html><head><TITLE>DragShapeCmd</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class DragShapeCmd : public <!2><A HREF="Command.html#DOC.48.1">Command</A> </H2><BLOCKQUOTE>
command class for dragging a shape.
</BLOCKQUOTE>
<hr>
<h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
<param name=classes value="CCommand,MCommand.html,CDragShapeCmd,MDragShapeCmd.html,CDragTextShapeCmd,MDragTextShapeCmd.html,CDragHandleCmd,MDragHandleCmd.html,CDragHLineCmd,MDragHLineCmd.html">
<param name=before value="M,M,M|_,MR_,Mr_">
<param name=after value="Md_,M,M,M,M">
<param name=indent value="0,1,1,1,1">
<param name=arrowdir value="down">
</APPLET>
<hr>
<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.133.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>DragShapeCmd</B> (<!1><A HREF="Shape.html">Shape</A> *<!2><A HREF="DragShapeCmd.html#DOC.133.15">shape</A>)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.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>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Execute</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UnExecute</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ReExecute</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.6"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>Executable</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.7"> <IMG BORDER=0 SRC=icon1.gif></A> const char* </TD><TD><B>GetName</B> () const <br>
<I></I>
</TD></TR></TABLE><TABLE>
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.133.8"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>DrawOutLine</B> (const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="DragShapeCmd.html#DOC.133.18">delta</A>)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.9"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Shape.html">Shape</A>* </TD><TD><B>GetShape</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.10"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="ShapeView.html">ShapeView</A>* </TD><TD><B>GetView</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.11"> <IMG BORDER=0 SRC=icon1.gif></A> const <!1><A HREF="Point.html">Point</A>* </TD><TD><B>GetDelta</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDelta</B> (const <!1><A HREF="Point.html">Point</A> *p)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.13"> <IMG BORDER=0 SRC=icon1.gif></A> const <!1><A HREF="Point.html">Point</A>* </TD><TD><B>GetOldPosition</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.133.14"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetOldPosition</B> (const <!1><A HREF="Point.html">Point</A> *p)<br>
<I></I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="Command.html">Command:</A></h3>
<DL>
<DL>
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>TrackType</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> virtual void <B>Abort</B>()
<DT><IMG SRC=icon2.gif> bool <B>CmdDone</B>() const
<DT><IMG SRC=icon2.gif> int <B>ScaleCorrect</B>(int x) const
<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
<DT><IMG SRC=icon2.gif> int <B>Scale</B>(int x) const
<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
<DT><IMG SRC=icon2.gif> void <B>SayAborted</B>()
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>SayCommited</B>()
<DT><IMG SRC=icon2.gif> void <B>SayUndone</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="DrawWindow.html">DrawWindow</A>* <B>GetMainWindow</B>() const
<DT><IMG SRC=icon2.gif> <!1><A HREF="Viewer.html">Viewer</A>* <B>GetViewer</B>() const
<DT><IMG SRC=icon2.gif> <!1><A HREF="Document.html">Document</A>* <B>GetDocument</B>() const
<DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetCmdDone</B>(bool b)
</DL></DL>
<A NAME="DOC.DOCU">
<hr>
<h2> Documentation </h2>
<BLOCKQUOTE>
command class for dragging a shape.
</BLOCKQUOTE>
<DL>
<A NAME="DragShapeCmd">
<A NAME ="DOC.133.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> DragShapeCmd(<!1><A HREF="Shape.html">Shape</A> *<!2><A HREF="DragShapeCmd.html#DOC.133.15">shape</A>)</B></TT>
<DL></DL><P>
<A NAME="TrackMouse">
<A NAME ="DOC.133.2">
<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>
<DL></DL><P>
<A NAME="Execute">
<A NAME ="DOC.133.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Execute()</B></TT>
<DL></DL><P>
<A NAME="UnExecute">
<A NAME ="DOC.133.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UnExecute()</B></TT>
<DL></DL><P>
<A NAME="ReExecute">
<A NAME ="DOC.133.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void ReExecute()</B></TT>
<DL></DL><P>
<A NAME="Executable">
<A NAME ="DOC.133.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void Executable()</B></TT>
<DL></DL><P>
<A NAME="GetName">
<A NAME ="DOC.133.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const char* GetName() const </B></TT>
<DL></DL><P>
<A NAME="DrawOutLine">
<A NAME ="DOC.133.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void DrawOutLine(const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="DragShapeCmd.html#DOC.133.18">delta</A>)</B></TT>
<DL></DL><P>
<A NAME="GetShape">
<A NAME ="DOC.133.9">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Shape.html">Shape</A>* GetShape() const </B></TT>
<DL></DL><P>
<A NAME="GetView">
<A NAME ="DOC.133.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="ShapeView.html">ShapeView</A>* GetView() const </B></TT>
<DL></DL><P>
<A NAME="GetDelta">
<A NAME ="DOC.133.11">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const <!1><A HREF="Point.html">Point</A>* GetDelta() const </B></TT>
<DL></DL><P>
<A NAME="SetDelta">
<A NAME ="DOC.133.12">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetDelta(const <!1><A HREF="Point.html">Point</A> *p)</B></TT>
<DL></DL><P>
<A NAME="GetOldPosition">
<A NAME ="DOC.133.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const <!1><A HREF="Point.html">Point</A>* GetOldPosition() const </B></TT>
<DL></DL><P>
<A NAME="SetOldPosition">
<A NAME ="DOC.133.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetOldPosition(const <!1><A HREF="Point.html">Point</A> *p)</B></TT>
<DL></DL><P></DL>
<hr>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="DragTextShapeCmd.html"> DragTextShapeCmd </A><br>
<A HREF="DragHandleCmd.html"> DragHandleCmd </A><br>
<A HREF="DragHLineCmd.html"> DragHLineCmd </A><br>
</DL>
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
<P Align=Center><I>this page has been generated automatically by doc++</I>
<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>
</BODY>
|