MGL_moveRelCoord

Moves the CP to a new relative location.

Declaration

void MGLAPI MGL_moveRelCoord(
    int dx,
    int dy)

Prototype In

mgraph.h

Parameters

dx

Amount to move x coordinate

dy

Amount to move y coordinate

 

Description

Moves the current position (CP) to the relative location that is a distance of (dx,dy) away from the CP. Thus the location the CP is moved to is (CP.x + dx, CP.y + dy).

See Also

MGL_moveRel

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