![]() |
|
#1
|
|||
|
|||
To get the coordinate in window pixels or screen pixels, use:
Code:
# Get mouse position in pixel coordinates x,y = viz.mouse.getPosition(viz.WINDOW_PIXELS) # Get mouse position in screen coordinates x,y = viz.mouse.getPosition(viz.SCREEN_PIXELS) |
![]() |
|
|
![]() |
||||
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 |