Overview Members Chapter Previous Next

CDXSurface::FillRect

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

Draws a filled rectangle on the surface with a top-left coordinate at X1,Y1 and bottom-right coordinate at X2,Y2 in colour Col. Remember to call Lock before calling this function.