DC_DrawRoundRect

This function draws an rectangle with round corners.

LONG DC_DrawRoundRect(
    double x1,
    double y1,
    double x2,
    double y2,
    double width,
    double height
);

Parameters

x1,y1

Point to left-top corner of rectangle.

x2,y2

Point to reight-bottom corner of rectangle.

width

Width of the ellipse used to draw the rounded corners.

height

Height of the ellipse used to draw the rounded corners.

Return Values

SPRT_SUCCEED indicates success, SPRT_FAILED indicates failure



© 2008 SPRT . All rights reserved.