File: DragHandleCmd.html

package info (click to toggle)
tcm 2.20%2BTSQD-4.2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 20,168 kB
  • ctags: 17,471
  • sloc: ansic: 78,531; sh: 3,666; makefile: 1,345; perl: 753; yacc: 558; lex: 260
file content (164 lines) | stat: -rwxr-xr-x 8,606 bytes parent folder | download | duplicates (9)
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<html><head><TITLE>DragHandleCmd</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  DragHandleCmd : public <!2><A HREF="DragShapeCmd.html#DOC.133.1">DragShapeCmd</A> </H2><BLOCKQUOTE>
 command class for dragging line handles.
</BLOCKQUOTE>
<hr>
 <h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
<param name=classes value="CCommand,MCommand.html,CDragShapeCmd,MDragShapeCmd.html,CDragHandleCmd,MDragHandleCmd.html,CAddHandleCmd,MAddHandleCmd.html">
<param name=before value="M,M,M,M^_">
<param name=after value="Md_SP,Md_,M,M">
<param name=indent value="0,1,2,2">
<param name=arrowdir value="down">
</APPLET>
<hr>

<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.129.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>DragHandleCmd</B> (<!1><A HREF="Line.html">Line</A> *<!2><A HREF="DragHandleCmd.html#DOC.129.18">line</A>, unsigned which)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.2"> <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.129.3"> <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.129.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Executable</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.5"> <IMG BORDER=0 SRC=icon1.gif></A> 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.129.6"> <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.129.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Erase</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Redraw</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ReverseDelta</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.10"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A>* </TD><TD><B>GetOldPt</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.11"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A>* </TD><TD><B>GetNewPt</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.12"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Line.html">Line</A>* </TD><TD><B>GetLine</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.13"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawLines</B> (const <!1><A HREF="Point.html">Point</A> *p1, const <!1><A HREF="Point.html">Point</A> *p2, const <!1><A HREF="Point.html">Point</A> *p3)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.14"> <IMG BORDER=0 SRC=icon1.gif></A> unsigned </TD><TD><B>GetHandleNr</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.129.15"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>CalcPoints</B> ()<br>
<I></I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="DragShapeCmd.html">DragShapeCmd:</A></h3>

<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <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)
<DT><IMG SRC=icon2.gif> void  <B>ReExecute</B>()
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Shape.html">Shape</A>*  <B>GetShape</B>() const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>*  <B>GetView</B>() const 
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetDelta</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetDelta</B>(const <!1><A HREF="Point.html">Point</A> *p)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetOldPosition</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetOldPosition</B>(const <!1><A HREF="Point.html">Point</A> *p)
</DL></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 line handles.

</BLOCKQUOTE>
<DL>

<A NAME="DragHandleCmd">
<A NAME ="DOC.129.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  DragHandleCmd(<!1><A HREF="Line.html">Line</A> *<!2><A HREF="DragHandleCmd.html#DOC.129.18">line</A>, unsigned which)</B></TT>
<DL></DL><P>
<A NAME="Execute">
<A NAME ="DOC.129.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Execute()</B></TT>
<DL></DL><P>
<A NAME="UnExecute">
<A NAME ="DOC.129.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UnExecute()</B></TT>
<DL></DL><P>
<A NAME="Executable">
<A NAME ="DOC.129.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Executable()</B></TT>
<DL></DL><P>
<A NAME="DrawOutLine">
<A NAME ="DOC.129.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> 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="GetName">
<A NAME ="DOC.129.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const  char*  GetName() const </B></TT>
<DL></DL><P>
<A NAME="Erase">
<A NAME ="DOC.129.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Erase()</B></TT>
<DL></DL><P>
<A NAME="Redraw">
<A NAME ="DOC.129.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Redraw()</B></TT>
<DL></DL><P>
<A NAME="ReverseDelta">
<A NAME ="DOC.129.9">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ReverseDelta()</B></TT>
<DL></DL><P>
<A NAME="GetOldPt">
<A NAME ="DOC.129.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>*  GetOldPt()</B></TT>
<DL></DL><P>
<A NAME="GetNewPt">
<A NAME ="DOC.129.11">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>*  GetNewPt()</B></TT>
<DL></DL><P>
<A NAME="GetLine">
<A NAME ="DOC.129.12">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Line.html">Line</A>*  GetLine()</B></TT>
<DL></DL><P>
<A NAME="DrawLines">
<A NAME ="DOC.129.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawLines(const <!1><A HREF="Point.html">Point</A> *p1, const <!1><A HREF="Point.html">Point</A> *p2, const <!1><A HREF="Point.html">Point</A> *p3)</B></TT>
<DL></DL><P>
<A NAME="GetHandleNr">
<A NAME ="DOC.129.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> unsigned  GetHandleNr()</B></TT>
<DL></DL><P>
<A NAME="CalcPoints">
<A NAME ="DOC.129.15">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  CalcPoints()</B></TT>
<DL></DL><P></DL>
<hr>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="AddHandleCmd.html"> AddHandleCmd </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&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>
</BODY>