MGL_getCP

Returns the current position value.

Declaration

void MGLAPI MGL_getCP(
    point_t *CP)

Prototype In

mgraph.h

Parameters

CP

Place to store the current position

 

Description

Returns the current position (CP). The CP is the current logical graphics cursor position, and is used by a number of routines to determine where to being drawing output. You can use the MGL_moveTo routine to directly move the CP to a new position.

See Also

MGL_moveTo, MGL_moveRel, MGL_lineTo, MGL_lineRel, MGL_drawStr

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com