]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/point.tex
Applied [ 1186782 ] Setting thread stack size on Unix.
[wxWidgets.git] / docs / latex / wx / point.tex
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
8 \wxheading{Derived from}
9
10 None
11
12 \wxheading{Include files}
13
14 <wx/gdicmn.h>
15
16 \wxheading{See also}
17
18 \helpref{wxRealPoint}{wxrealpoint}
19
20 \latexignore{\rtfignore{\wxheading{Members}}}
21
22 \membersection{wxPoint::wxPoint}\label{wxpointctor}
23
24 \func{}{wxPoint}{\void}
25
26 \func{}{wxPoint}{\param{int}{ x}, \param{int}{ y}}
27
28 Create a point.
29
30 \membersection{wxPoint::x}\label{wxpointx}
31
32 \member{int}{x}
33
34 x member.
35
36 \membersection{wxPoint::y}\label{wxpointy}
37
38 \member{int}{ y}
39
40 y member.
41
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