| GR3_xyToWindow | Function (ROM Call 0x200)

gdraw.h

void GR3_xyToWindow (float xc, float yc, float* zc, short *WinX, short *WinY);

Converts 3D coordinates to window coordinates.

GR3_xyToWindow takes the 3D-graph point (xc,yc) and determines:

1. the Z-coordinate (zc) at the point;
2. the (WinX,WinY) pair of window coordinates for the location of this point on the 3D graph currently displayed.

Uses: HeapDeref, ER_catch, ER_success, ER_throwVar, NG_graphESI, top_estack, gr_active, memcpy, is_transfinite, clear_error_context, estack_to_float, FindFunc, QSkipGraphErr, _bcd_math, NG_setup_graph_fun, NG_cleanup_graph_fun
Used by: GT_Trace