xp_dist(x1,y1,x2,y2)

Use this function to get the distance between two points on the screen

 

          x1,y1          Coordinates of point one

          x2,y2          Coordinates of point two

 

Return value is the Cartesian distance between the two points on a 2-D canvas



Copyright 2023 - BeriSoft Inc.
All rights reserved