]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/size.tex
Some doc corrections; removed wxDocument arg from wxView constructor;
[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
954b8ae6 6\wxheading{Derived from}
a660d684 7
9838df2c 8None
a660d684 9
954b8ae6
JS
10\wxheading{Include files}
11
12<wx/gdicmn.h>
13
a660d684
KB
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
26Creates a size object.
27
28\membersection{wxSize::x}
29
30\member{int}{x}
31
32x member.
33
34\membersection{wxSize::y}
35
36\member{int}{ y}
37
38y member.
39
40\membersection{wxSize::GetX}\label{wxsizegetx}
41
42\constfunc{int}{GetX}{\void}
43
44Gets the x member.
45
46\membersection{wxSize::GetY}\label{wxsizegety}
47
48\constfunc{int}{GetY}{\void}
49
50Gets the y member.
51
52\membersection{wxSize::Set}\label{wxsizeset}
53
54\func{void}{Set}{\param{int}{ x}, \param{int}{ y}}
55
56Sets the x and y members.
57
58\membersection{wxSize::operator $=$}
59
60\func{void}{operator $=$}{\param{const wxSize\& }{sz}}
61
62Assignment operator.
63
64