Overview Members Chapter Previous Next

CDXSurface::RoundedRect

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

Draws a rectanle with rounded corners. The radius of the arc at the corners is determined by Radius and the color is determined by Col. Remember to call Lock before calling this function.