graphics.hlp (
Topic list)
_getviewcoord Functions
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The _getviewcoord functions translate the specified coordinates
(<x>, <y>) from one coordinate system to view coordinates and
return them in an xycoord structure (defined in GRAPH.H).
The _getviewcoord_w and _getviewcoord_wxy routines are
implemented as macros.
The various _getviewcoord functions translate in the following
manner:
Function Translation
_getviewcoord Physical coordinates (<x>, <y>) to view
coordinates
_getviewcoord_w Window coordinates (<wx>, <wy>) to view
coordinates
_getviewcoord_wxy Window coordinates structure (<pwxy1>) to
view coordinates
NOTE: In Microsoft C version 5.1, the _getviewcoord function was
called _getlogcoord.
See also: ◄Graphic Coordinate Systems►
Return Value
The _getviewcoord functions return the coordinates as noted above.
There is no error return.
-♦-