graphics.hlp (
Topic list)
_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.
-♦-