Supported Browsers Home   
MGL_leftTop Previous   
MGL_lineCoord Next   
External Functions Up   

MGL_line

Draws a line with integer coordinates.

Declaration

void MGL_line(
    point_t p1,
    point_t p2)

Prototype In

mgraph.h

Parameters

p1

First endpoint of line

p2

Second endpoint of line

 

Description

This function is the same as MGL_lineCoord, however it takes the coordinates of the line as two points.

See Also

MGL_lineFX, MGL_lineCoord, MGL_lineCoordFX

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