Supported Browsers Home   
MGL_lineTo Previous   
MGL_loadBitmap Next   
External Functions Up   

MGL_lineToCoord

Draws a line from the CP to the specified point.

Declaration

void MGLAPI MGL_lineToCoord(
    int x,
    int y)

Prototype In

mgraph.h

Parameters

x

x coordinate to draw to

y

y coordinate to draw to

 

Description

Draws a line from the current position (CP) to the new point (x,y). The CP is set to the point (x,y) on return from this routine.

See Also

MGL_line, MGL_lineCoord, MGL_lineTo, MGL_lineRel, MGL_lineRelCoord, MGL_moveRel, MGL_moveRelCoord

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