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 theDeltaPointfunction.
FUNCTION DeltaPoint (ptA:\xDDPoint; ptB:\xDDPoint): LongInt;
ptA- A point, from whose coordinates are to be subtracted those specified in the
ptBparameter.ptB- A point, the coordinates of which are to be subtracted from those specified in the
ptAparameter.DESCRIPTION
TheDeltaPointfunction subtracts the coordinates of the point specified in theptBparameter from the coordinates of the point specified in theptAparameter, and returns the result as its function result.To get the results of coordinate subtraction, you can instead use the
SubPtprocedure. Note, however, that the parameters in these two routines are reversed.