]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/size.tex
Cured last focus bug (I hope); some wxMotif mods
[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{Derived from}
7
8 None
9
10 \wxheading{Include files}
11
12 <wx/gdicmn.h>
13
14 \wxheading{See also}
15
16 \helpref{wxPoint}{wxpoint}, \helpref{wxRealPoint}{wxrealpoint}
17
18 \latexignore{\rtfignore{\wxheading{Members}}}
19
20 \membersection{wxSize::wxSize}
21
22 \func{}{wxSize}{\void}
23
24 \func{}{wxSize}{\param{int}{ x}, \param{int}{ y}}
25
26 Creates a size object.
27
28 \membersection{wxSize::x}
29
30 \member{int}{x}
31
32 x member.
33
34 \membersection{wxSize::y}
35
36 \member{int}{ y}
37
38 y member.
39
40 \membersection{wxSize::GetX}\label{wxsizegetx}
41
42 \constfunc{int}{GetX}{\void}
43
44 Gets the x member.
45
46 \membersection{wxSize::GetY}\label{wxsizegety}
47
48 \constfunc{int}{GetY}{\void}
49
50 Gets the y member.
51
52 \membersection{wxSize::Set}\label{wxsizeset}
53
54 \func{void}{Set}{\param{int}{ x}, \param{int}{ y}}
55
56 Sets the x and y members.
57
58 \membersection{wxSize::operator $=$}
59
60 \func{void}{operator $=$}{\param{const wxSize\& }{sz}}
61
62 Assignment operator.
63
64