]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/point.tex
define _HPUX_SOURCE under HP-UX, otherwise many things are not defined in standard...
[wxWidgets.git] / docs / latex / wx / point.tex
CommitLineData
a660d684
KB
1\section{\class{wxPoint}}\label{wxpoint}
2
3A {\bf wxPoint} is a useful data structure for graphics operations.
4It simply contains integer {\it x} and {\it y} members.
5
6See also \helpref{wxRealPoint}{wxrealpoint} for a floating point version.
7
954b8ae6 8\wxheading{Derived from}
a660d684 9
9838df2c 10None
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
28Create a point.
29
39275175 30\membersection{wxPoint::x}\label{wxpointx}
a660d684
KB
31
32\member{int}{x}
33
34x member.
35
39275175 36\membersection{wxPoint::y}\label{wxpointy}
a660d684
KB
37
38\member{int}{ y}
39
40y member.
41
0f71b9da
VZ
42\membersection{wxPoint::operator $==$}\label{wxpointequal}
43
44\func{bool}{operator $==$}{\param{const wxPoint\& }{pt}}
45
46Equality 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
53Inequality operator: returns \true if two points are different.
54