Bresenham's circle algorithm (Midpoint algorithm)
Click at some point to select the centre of a circle, do not release the mouse button move your mouse to select a circle's diameter.
Discussion:
Click at some point to select the centre of a circle, do not release the mouse button move your mouse to select a circle's diameter.