Important: The information in this document is obsolete and should not be used for new development.
DeltaPoint
To subtract the coordinates of one point from another, you can use theDeltaPoint
function.
FUNCTION DeltaPoint (ptA:\xDDPoint; ptB:\xDDPoint): LongInt;
ptA
- A point, from whose coordinates are to be subtracted those specified in the
ptB
parameter.ptB
- A point, the coordinates of which are to be subtracted from those specified in the
ptA
parameter.DESCRIPTION
TheDeltaPoint
function subtracts the coordinates of the point specified in theptB
parameter from the coordinates of the point specified in theptA
parameter, and returns the result as its function result.To get the results of coordinate subtraction, you can instead use the
SubPt
procedure. Note, however, that the parameters in these two routines are reversed.