File: Grid.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 (125 lines) | stat: -rwxr-xr-x 6,089 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
<html><head><TITLE>Grid</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  Grid  </H2><BLOCKQUOTE>
 class for showing the grid and snapping points to discrete point positions.
</BLOCKQUOTE>
<hr>

<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.195.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Grid</B> (<!1><A HREF="Config.html">Config</A> *c, <!1><A HREF="DrawWindow.html">DrawWindow</A> *d, <!1><A HREF="Viewer.html">Viewer</A> *v)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.2"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~Grid</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSnap</B> (bool set)<br>
<I> set snapping to continuous or discrete.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>PointDistance</B> ()<br>
<I> make popup for asking the point distance.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>GridSize</B> ()<br>
<I> make popup for asking the grid size.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetShowGrid</B> (bool set)<br>
<I> set showing of grid.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.7"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsShowGrid</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Snap</B> (<!1><A HREF="Point.html">Point</A> *)<br>
<I> Snap point to point-position.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.9"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>Snap</B> (int)<br>
<I> Snap int to point-position.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawGrid</B> ()<br>
<I> draw grid.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetPointDistance</B> (int i)<br>
<I> set point distance to i.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetGridSize</B> (int i)<br>
<I> set grid size to i.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.13"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="DrawWindow.html">DrawWindow</A>* </TD><TD><B>GetMainWindow</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.14"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Config.html">Config</A>* </TD><TD><B>GetConfig</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.195.15"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="ScaleDialog.html">ScaleDialog</A>* </TD><TD><B>GetScaleDialog</B> () const <br>
<I></I>
</TD></TR></TABLE></DL>
<A NAME="DOC.DOCU">
<hr>
 <h2> Documentation </h2>
<BLOCKQUOTE>
 class for showing the grid and snapping points to discrete point positions.

</BLOCKQUOTE>
<DL>

<A NAME="Grid">
<A NAME ="DOC.195.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  Grid(<!1><A HREF="Config.html">Config</A> *c, <!1><A HREF="DrawWindow.html">DrawWindow</A> *d, <!1><A HREF="Viewer.html">Viewer</A> *v)</B></TT>
<DL></DL><P>
<A NAME="~Grid">
<A NAME ="DOC.195.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  ~Grid()</B></TT>
<DL></DL><P>
<A NAME="SetSnap">
<A NAME ="DOC.195.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetSnap(bool set)</B></TT>
<DD> set snapping to continuous or discrete.
<DL></DL><P>
<A NAME="PointDistance">
<A NAME ="DOC.195.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  PointDistance()</B></TT>
<DD> make popup for asking the point distance.
<DL></DL><P>
<A NAME="GridSize">
<A NAME ="DOC.195.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  GridSize()</B></TT>
<DD> make popup for asking the grid size.
<DL></DL><P>
<A NAME="SetShowGrid">
<A NAME ="DOC.195.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetShowGrid(bool set)</B></TT>
<DD> set showing of grid.
<DL></DL><P>
<A NAME="IsShowGrid">
<A NAME ="DOC.195.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsShowGrid() const </B></TT>
<DL></DL><P>
<A NAME="Snap">
<A NAME ="DOC.195.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Snap(<!1><A HREF="Point.html">Point</A> *)</B></TT>
<DD> Snap point to point-position.
<DL></DL><P>
<A NAME="Snap">
<A NAME ="DOC.195.9">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  Snap(int)</B></TT>
<DD> Snap int to point-position.
<DL></DL><P>
<A NAME="DrawGrid">
<A NAME ="DOC.195.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawGrid()</B></TT>
<DD> draw grid.
<DL></DL><P>
<A NAME="SetPointDistance">
<A NAME ="DOC.195.11">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetPointDistance(int i)</B></TT>
<DD> set point distance to i.
<DL></DL><P>
<A NAME="SetGridSize">
<A NAME ="DOC.195.12">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetGridSize(int i)</B></TT>
<DD> set grid size to i.
<DL></DL><P>
<A NAME="GetMainWindow">
<A NAME ="DOC.195.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="DrawWindow.html">DrawWindow</A>*  GetMainWindow() const </B></TT>
<DL></DL><P>
<A NAME="GetConfig">
<A NAME ="DOC.195.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Config.html">Config</A>*  GetConfig() const </B></TT>
<DL></DL><P>
<A NAME="GetScaleDialog">
<A NAME ="DOC.195.15">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="ScaleDialog.html">ScaleDialog</A>*  GetScaleDialog() const </B></TT>
<DL></DL><P></DL>
<hr>
 <DL><DT><B>This class has no child classes.</B></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>