]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/point.tex
set up scrollbars correctly when we don't need them (fixes the problems reported...
[wxWidgets.git] / docs / latex / wx / point.tex
... / ...
CommitLineData
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
8\wxheading{Derived from}
9
10None
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
28Create a point.
29
30\membersection{wxPoint::x}\label{wxpointx}
31
32\member{int}{x}
33
34x member.
35
36\membersection{wxPoint::y}\label{wxpointy}
37
38\member{int}{ y}
39
40y member.
41
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