Sign in Join
FPDoc Onlineexperiment

PointsEqual function

In unit Classes

Check whether two TPoint variables are equal.

Declaration

pascal
function PointsEqual(const P1: TPoint; const P2: TPoint): Boolean

Description

PointsEqual compares the P1 and P2 points (of type TPoint or TSmallPoint) and returns True if the X and Y coordinates of the points are equal, or False otherwise.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.