VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Draw a square on Form and rotate about left corner

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.

Rate Draw a square on Form and rotate about left corner

Download Draw a square on Form and rotate about left corner

Download Draw a square on Form and rotate about left corner (23 KB)

Draw a square on Form and rotate about left corner Comments

No comments have been posted about Draw a square on Form and rotate about left corner. Why not be the first to post a comment about Draw a square on Form and rotate about left corner.

Post your comment

Subject:
Message:
0/1000 characters