Overview Members Chapter Previous Next

## CDXSurface::AALine

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

NAME: AALine.

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

INPUT: X1 - X position of the first endpoint Y1 - Y position of the first endpoint X2 - X position of the second endpoint Y2 - Y position of the second endpoint Col - base color of the line.

RETURNS: nothing.