VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Draw a square on Form and rotate about left corner

Eddie Bole  (104 Submissions)   Graphics   VB 6.0   Intermediate   Mon 25th September 2017   Tue 9th February 2021

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.

Rate Draw a square on Form and rotate about left corner (3(3 Vote))

Download Draw a square on Form and rotate about left corner

Draw a square on Form and rotate about left corner Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters