X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f71b9da7f10b22c87bb3228f7f5e82fe6bef03c..58e8013e8217e36a4bdf38e6dbad3b21edf61af6:/docs/latex/wx/point.tex diff --git a/docs/latex/wx/point.tex b/docs/latex/wx/point.tex index 1d6f9042a5..a1393199a5 100644 --- a/docs/latex/wx/point.tex +++ b/docs/latex/wx/point.tex @@ -1,3 +1,13 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Name: point.tex +%% Purpose: wxPoint documentation +%% Author: wxTeam +%% Created: +%% RCS-ID: $Id$ +%% Copyright: (c) wxTeam +%% License: wxWindows license +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \section{\class{wxPoint}}\label{wxpoint} A {\bf wxPoint} is a useful data structure for graphics operations. @@ -39,16 +49,36 @@ x member. y member. -\membersection{wxPoint::operator $==$}\label{wxpointequal} +\membersection{Operators}\label{wxpointoperators} -\func{bool}{operator $==$}{\param{const wxPoint\& }{pt}} +\func{void}{operator $=$}{\param{const wxPoint\& }{pt}} -Equality operator: returns \true if two points are the same. +Assignment operator. -\membersection{wxPoint::operator $!=$}\label{wxpointnotequal} +\func{bool}{operator $==$}{\param{const wxPoint\& }{pt}} \func{bool}{operator $!=$}{\param{const wxPoint\& }{pt}} -Inequality operator: returns \true if two points are different. +\func{wxPoint}{operator $+$}{\param{const wxPoint\& }{pt}} + +\func{wxPoint}{operator $-$}{\param{const wxPoint\& }{pt}} + +\func{wxPoint\&}{operator $+=$}{\param{const wxPoint\& }{pt}} + +\func{wxPoint\&}{operator $-=$}{\param{const wxPoint\& }{pt}} + +Operators for comparison, sum and subtraction between \helpref{wxPoint}{wxpoint} objects. + + +\func{wxPoint}{operator $+$}{\param{const wxSize\& }{sz}} + +\func{wxPoint}{operator $-$}{\param{const wxSize\& }{sz}} + +\func{wxPoint\&}{operator $+=$}{\param{const wxSize\& }{sz}} + +\func{wxPoint\&}{operator $-=$}{\param{const wxSize\& }{sz}} + +Operators for sum and subtraction between a \helpref{wxPoint}{wxpoint} object and a +\helpref{wxSize}{wxsize} object.