
Ever wonder how image editors create their angle selectors? Ever needed a dialog to select an angle? This code is for you. Using advanced math functions NOT built into VB, this code creates a selector in a picture box. It has functions to return the ArcSine of a number and to convert degrees into radians and back.
Inputs
X, Y
Assumes
A picture box, with square sides.
Returns
theAngle