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 theSubPtprocedure.
PROCEDURE SubPt (srcPt:\xDDPoint; VAR dstPt:\xDDPoint);
srcPt- A point, the coordinates of which are to be subtracted from those specified in the
dstPtparameter.dstPt- On input: a point, from whose coordinates are to be subtracted those specified in the
srcPtparameter. Upon completion: the result of subtracting the coordinates of the points in thesrcPtparameter from the coordinates of the points in thedstPtparameter.DESCRIPTION
TheSubPtprocedure subtracts the coordinates of the point specified in thesrcPtparameter from the coordinates of the point specified in thedstPtparameter, and returns the result in thedstPtparameter.To get the results of coordinate subtraction returned as a function result, you can instead use the
DeltaPointfunction. Note, however, that the parameters in these two routines are reversed.