I tried to make a Polygon Coordinates on a SnapTo Grid
I worked out how to record the coordinates in a TMemo, calculate the area and label the centroid of each closed polygon..
Hmm, just realized that the area is not being calculated correctly for some shapes. (see attached png)
Had troubles resizing the grid dynamically for MinX and MaxY.
Also a bit confused on how to automatically move the X-Axis and Y-axis when the TspinEdit range values are changed.
Maybe it may be better to put the grid on a TImage or a TPaintbox.
Also how to show lines as the mouse cursor is moved, without extra fragment lines?