Gets physical coordinates.
#include <graph.h>
struct _xycoord __far _getphyscoord( short x, short y);
x, y | View coordinates to translate |
The _getphyscoord function translates the view coordinates (x, y) to physical coordinates and returns them in an _xycoord structure, defined in GRAPH.H.
The _xycoord structure contains the following elements:
Element | Description |
short xcoord | x coordinate |
short ycoord | y coordinate |
None.
Standards:None
16-Bit:DOS
32-Bit:None
_getviewcoord functions, _grstatus, _setvieworg, _setviewport
See the example for _setwindow.