1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxPoint documentation
7 %% Copyright: (c) wxTeam
8 %% License: wxWindows license
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 \section{\class{wxPoint
}}\label{wxpoint
}
13 A
{\bf wxPoint
} is a useful data structure for graphics operations.
14 It simply contains integer
{\it x
} and
{\it y
} members.
16 See also
\helpref{wxRealPoint
}{wxrealpoint
} for a floating point version.
18 \wxheading{Derived from
}
22 \wxheading{Include files
}
28 \helpref{wxRealPoint
}{wxrealpoint
}
30 \latexignore{\rtfignore{\wxheading{Members
}}}
32 \membersection{wxPoint::wxPoint
}\label{wxpointctor
}
34 \func{}{wxPoint
}{\void}
36 \func{}{wxPoint
}{\param{int
}{ x
},
\param{int
}{ y
}}
40 \membersection{wxPoint::x
}\label{wxpointx
}
46 \membersection{wxPoint::y
}\label{wxpointy
}
52 \membersection{Operators
}\label{wxpointoperators
}
54 \func{void
}{operator $=$
}{\param{const wxPoint\&
}{pt
}}
59 \func{bool
}{operator $==$
}{\param{const wxPoint\&
}{pt
}}
61 \func{bool
}{operator $!=$
}{\param{const wxPoint\&
}{pt
}}
63 \func{wxPoint
}{operator $+$
}{\param{const wxPoint\&
}{pt
}}
65 \func{wxPoint
}{operator $-$
}{\param{const wxPoint\&
}{pt
}}
67 \func{wxPoint\&
}{operator $+=$
}{\param{const wxPoint\&
}{pt
}}
69 \func{wxPoint\&
}{operator $-=$
}{\param{const wxPoint\&
}{pt
}}
71 Operators for comparison, sum and subtraction between
\helpref{wxPoint
}{wxpoint
} objects.
74 \func{wxPoint
}{operator $+$
}{\param{const wxSize\&
}{sz
}}
76 \func{wxPoint
}{operator $-$
}{\param{const wxSize\&
}{sz
}}
78 \func{wxPoint\&
}{operator $+=$
}{\param{const wxSize\&
}{sz
}}
80 \func{wxPoint\&
}{operator $-=$
}{\param{const wxSize\&
}{sz
}}
82 Operators for sum and subtraction between a
\helpref{wxPoint
}{wxpoint
} object and a
83 \helpref{wxSize
}{wxsize
} object.