]>
Commit | Line | Data |
---|---|---|
a660d684 KB |
1 | \section{\class{wxPoint}}\label{wxpoint} |
2 | ||
3 | A {\bf wxPoint} is a useful data structure for graphics operations. | |
4 | It simply contains integer {\it x} and {\it y} members. | |
5 | ||
6 | See also \helpref{wxRealPoint}{wxrealpoint} for a floating point version. | |
7 | ||
954b8ae6 | 8 | \wxheading{Derived from} |
a660d684 | 9 | |
9838df2c | 10 | None |
a660d684 | 11 | |
954b8ae6 JS |
12 | \wxheading{Include files} |
13 | ||
14 | <wx/gdicmn.h> | |
15 | ||
a660d684 KB |
16 | \wxheading{See also} |
17 | ||
18 | \helpref{wxRealPoint}{wxrealpoint} | |
19 | ||
20 | \latexignore{\rtfignore{\wxheading{Members}}} | |
21 | ||
39275175 | 22 | \membersection{wxPoint::wxPoint}\label{wxpointctor} |
a660d684 KB |
23 | |
24 | \func{}{wxPoint}{\void} | |
25 | ||
26 | \func{}{wxPoint}{\param{int}{ x}, \param{int}{ y}} | |
27 | ||
28 | Create a point. | |
29 | ||
39275175 | 30 | \membersection{wxPoint::x}\label{wxpointx} |
a660d684 KB |
31 | |
32 | \member{int}{x} | |
33 | ||
34 | x member. | |
35 | ||
39275175 | 36 | \membersection{wxPoint::y}\label{wxpointy} |
a660d684 KB |
37 | |
38 | \member{int}{ y} | |
39 | ||
40 | y member. | |
41 | ||
0f71b9da VZ |
42 | \membersection{wxPoint::operator $==$}\label{wxpointequal} |
43 | ||
44 | \func{bool}{operator $==$}{\param{const wxPoint\& }{pt}} | |
45 | ||
46 | Equality operator: returns \true if two points are the same. | |
47 | ||
48 | ||
49 | \membersection{wxPoint::operator $!=$}\label{wxpointnotequal} | |
50 | ||
51 | \func{bool}{operator $!=$}{\param{const wxPoint\& }{pt}} | |
52 | ||
53 | Inequality operator: returns \true if two points are different. | |
54 |