graphics.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_getcurrentposition Functions
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The _getcurrentposition functions return the coordinates of the
     current graphics output position. The _getcurrentposition function
     returns the position as an xycoord structure (defined in GRAPH.H).
     The _getcurrentposition_w function returns the position as a
     _wxycoord structure (defined in GRAPH.H).
 
     The current position can be changed by the _lineto, _moveto, and
     _outgtext functions.
 
     The default position, set by _setvideomode, _setvideomoderows, or
     _setviewport, is the center of the viewport.
 
     These functions affect only graphics output. They do not affect
     text output, which begins at the current text position. (See
     _settextposition for more information).
 
     Return Value
 
     The _getcurrentposition functions return the coordinates of the
     current graphics output position. There is no error return.
                                    -♦-