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
FGRAPH.FD). The getcurrentposition_w function returns the position
as a <wxycoord> structure (defined in FGRAPH.FD).
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
None.
-♦-