Convert from display to window coordinates
<window>.displayToWindow( | |
[x,y] | |
mode = viz.WINDOW_NORMALIZED | # keyword argument |
) |
Unit mode | |
viz.WINDOW_NORMALIZED | The coordinates passed and returned by the function will be in normalized units, [0,1]. |
viz.WINDOW_PIXELS | The coordinates passed and returned by the function will be in pixel units. |