by Eddie Bole (104 Submissions)
Category: Graphics
Compatability: VB 6.0
Difficulty: Intermediate
Originally Published: Mon 25th September 2017
Date Added: Tue 9th February 2021
Rating: (1 Votes)
Draw a perfect square, but this time first rotate it about the first clicked point and then resize it according to the indicated mm side length measurements. Been playing around and got most of it working. Still a bug for 2 angles (for which tan is undefined). Would also like to know how to move it after it has been sized and angled correctly (probably need to keep track of mouse clicks). Anyhow, enjoy what I have come up with at the moment.
Download Draw a square on Form and rotate about left corner (23 KB)