API InflateRect InflateRect函数增大或减小指定矩形的宽和高。InflateRect函数在矩形的左和右增加dx,在矩形的上下增加dy。 dx和dy参数是有符号值。正数增加宽和高,负数减小。 BOOL InflateRect( LPRECT lprc, //矩形 int dx, // amount to adjust width int dy // amount to adjust height );
API InflateRect InflateRect函数增大或减小指定矩形的宽和高。InflateRect函数在矩形的左和右增加dx,在矩形的上下增加dy。 dx和dy参数是有符号值。正数增加宽和高,负数减小。 BOOL InflateRect( LPRECT lprc, //矩形 int dx, // amount to adjust width int dy // amount to adjust height );
应用推荐