
C语言,rectangle() ZeroMemory()这两个函数不太理解 求高人指点一下简单用法 及格式...
1个回答
展开全部
The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
BOOL Rectangle(
HDC hdc, // handle to DC
int nLeftRect, // x-coord of upper-left corner of rectangle
int nTopRect, // y-coord of upper-left corner of rectangle
int nRightRect, // x-coord of lower-right corner of rectangle
int nBottomRect // y-coord of lower-right corner of rectangle
);
绘指导下一个矩形,从屏幕的左上方(nLeftRect, nTopRect)到右下方(nRightRect, nBottomRect)
void ZeroMemory(
PVOID Destination,
SIZE_T Length
);
将分配数组置0
BOOL Rectangle(
HDC hdc, // handle to DC
int nLeftRect, // x-coord of upper-left corner of rectangle
int nTopRect, // y-coord of upper-left corner of rectangle
int nRightRect, // x-coord of lower-right corner of rectangle
int nBottomRect // y-coord of lower-right corner of rectangle
);
绘指导下一个矩形,从屏幕的左上方(nLeftRect, nTopRect)到右下方(nRightRect, nBottomRect)
void ZeroMemory(
PVOID Destination,
SIZE_T Length
);
将分配数组置0
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询