Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>roundrect</b> draw a rectangle with rounded corners http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RoundRect            Draw A Rectangle With Rounded Corners

RoundRect(hDC, RcUlX, RcUlY, RcLrX, RcLrY, nEllipseWidth, nEllipseHeight)
HDC hDC;
short RcUlX; /* Rectangle upper left X coordinate */
short RcUlY; /* Rectangle upper left Y coordinate */
short RcLrX; /* Rectangle lower right X coordinate */
short RcLrY; /* Rectangle lower right Y coordinate */
short nEllipseWidth;
short nEllipseHeight;


Returns:        Non-zero if drawn otherwise zero.

Note:           RcLrX - RcUlX and RcLrY - RcUlY must be less than
                32,767

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson