]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/size.tex
Added dnd classes, data object classes, changed clipboard class doc,
[wxWidgets.git] / docs / latex / wx / size.tex
1 \section{\class{wxSize}}\label{wxsize}
2
3 A {\bf wxSize} is a useful data structure for graphics operations.
4 It simply contains integer {\it x} and {\it y} members.
5
6 \wxheading{Derivation}
7
8 \helpref{wxObject}{wxobject}
9
10 \wxheading{See also}
11
12 \helpref{wxPoint}{wxpoint}, \helpref{wxRealPoint}{wxrealpoint}
13
14 \latexignore{\rtfignore{\wxheading{Members}}}
15
16 \membersection{wxSize::wxSize}
17
18 \func{}{wxSize}{\void}
19
20 \func{}{wxSize}{\param{int}{ x}, \param{int}{ y}}
21
22 Creates a size object.
23
24 \membersection{wxSize::x}
25
26 \member{int}{x}
27
28 x member.
29
30 \membersection{wxSize::y}
31
32 \member{int}{ y}
33
34 y member.
35
36 \membersection{wxSize::GetX}\label{wxsizegetx}
37
38 \constfunc{int}{GetX}{\void}
39
40 Gets the x member.
41
42 \membersection{wxSize::GetY}\label{wxsizegety}
43
44 \constfunc{int}{GetY}{\void}
45
46 Gets the y member.
47
48 \membersection{wxSize::Set}\label{wxsizeset}
49
50 \func{void}{Set}{\param{int}{ x}, \param{int}{ y}}
51
52 Sets the x and y members.
53
54 \membersection{wxSize::operator $=$}
55
56 \func{void}{operator $=$}{\param{const wxSize\& }{sz}}
57
58 Assignment operator.
59
60