|
-
May 21st, 2012, 10:44 AM
#1
Draw shapes based on the cursor location
Good Day everyone.
Can anyone provide some overview, possibly some flow on the program that i currently trying to do? Possibly some example that I can refer to.
I already have a menu to select shapes that i want to draw.
I wanted to draw a shape anywhere in the client area based on my mouse clicked. Let say a triangle.
The location of mouse pointer, in the centre of my triangle.
As long as I didn't choose new shape to draw, I can keep drawing new triangle anywhere in the client area.
I'm using polyline to draw my shape. my question is, what should I include inside my programming in order for my program able to perform the above task?
Regard,
Kurogane.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|