Important: The information in this document is obsolete and should not be used for new development.
SubPt
To subtract the coordinates of one point from another, you can use theSubPt
procedure.
PROCEDURE SubPt (srcPt:\xDDPoint; VAR dstPt:\xDDPoint);
srcPt
- A point, the coordinates of which are to be subtracted from those specified in the
dstPt
parameter.dstPt
- On input: a point, from whose coordinates are to be subtracted those specified in the
srcPt
parameter. Upon completion: the result of subtracting the coordinates of the points in thesrcPt
parameter from the coordinates of the points in thedstPt
parameter.DESCRIPTION
TheSubPt
procedure subtracts the coordinates of the point specified in thesrcPt
parameter from the coordinates of the point specified in thedstPt
parameter, and returns the result in thedstPt
parameter.To get the results of coordinate subtraction returned as a function result, you can instead use the
DeltaPoint
function. Note, however, that the parameters in these two routines are reversed.