![]() |
#1
|
|||
|
|||
how to draw a line on the 2D screen with mouse
in the 2D screen, I want to draw a line. One point of the line is given, for example (400,500,0), the other point of the line is where the click of the mouse.
since the coordinate range of the mouse is [0,1], while the coordinate range of the point of the line is determinated by the resolution of the screen. How to make sure the other end of the line is the point where the mouse clicks? |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to draw 2D line in the screen, no the in 3D screen | aaaa | Vizard | 1 | 11-07-2014 03:18 PM |
how to draw 2D figure , for example a circle, in the screen, no the in 3D screen | aaaa | Vizard | 4 | 11-07-2014 03:11 PM |
Draw line with a triangle at the end | Chrissy2009 | Vizard | 9 | 08-24-2009 11:12 AM |
Draw Line between Points | Chrissy2009 | Vizard | 2 | 05-13-2009 04:42 AM |
Draw Line between Points selected by mouse | Johannes | Vizard | 7 | 01-07-2005 02:50 PM |