Overview Members Chapter Previous Next

CDXSurface::PutAAPixel

void PutAAPixel( int X , int Y , DWORD Col , WORD ALPHA ) ;

NAME: PutAAPixel.

PURPOSE: Draws a single pixel to the surface at position X,Y in colour Col. Alpha blended by ALPHA. Remember to call Lock before calling this function.

 INPUT: X     - X position of the point
       Y     - Y position of the point
       Col   - base color of the line
       ALPHA - alpha blending value ranging from 0-256

RETURNS: nothing.