]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/size.tex
enable verbose messages by default in debug builds
[wxWidgets.git] / docs / latex / wx / size.tex
CommitLineData
a660d684
KB
1\section{\class{wxSize}}\label{wxsize}
2
3A {\bf wxSize} is a useful data structure for graphics operations.
4It simply contains integer {\it x} and {\it y} members.
5
6\wxheading{Derivation}
7
9838df2c 8None
a660d684
KB
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
22Creates a size object.
23
24\membersection{wxSize::x}
25
26\member{int}{x}
27
28x member.
29
30\membersection{wxSize::y}
31
32\member{int}{ y}
33
34y member.
35
36\membersection{wxSize::GetX}\label{wxsizegetx}
37
38\constfunc{int}{GetX}{\void}
39
40Gets the x member.
41
42\membersection{wxSize::GetY}\label{wxsizegety}
43
44\constfunc{int}{GetY}{\void}
45
46Gets the y member.
47
48\membersection{wxSize::Set}\label{wxsizeset}
49
50\func{void}{Set}{\param{int}{ x}, \param{int}{ y}}
51
52Sets the x and y members.
53
54\membersection{wxSize::operator $=$}
55
56\func{void}{operator $=$}{\param{const wxSize\& }{sz}}
57
58Assignment operator.
59
60