]>
Commit | Line | Data |
---|---|---|
a660d684 KB |
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 | ||
954b8ae6 | 6 | \wxheading{Derived from} |
a660d684 | 7 | |
9838df2c | 8 | None |
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 | ||
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 |