_getphyscoord

Description

Gets physical coordinates.

#include <graph.h>

struct _xycoord __far _getphyscoord( short x, short y);

x, y View coordinates to translate  

Remarks

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

Return Value

None.

Compatibility

Standards:None

16-Bit:DOS

32-Bit:None

See Also

_getviewcoord functions, _grstatus, _setvieworg, _setviewport

Example

See the example for _setwindow.