Overview Members Chapter Previous Next

CDXSurface::Line

void Line( int X1 , int Y1 , int X2 , int Y2 , DWORD Col ) ;

Draws a straight line on the surface from X1,Y1 to X2,Y2 in colour Col. Remember to call Lock before calling this function.