VC中画线,moveto,lineto;画圆:.ellipse,具体说明函数原理.
答案:1 悬赏:30
解决时间 2021-03-14 11:55
- 提问者网友:做自己de王妃
- 2021-03-13 18:04
VC中画线,moveto,lineto;画圆:.ellipse,具体说明函数原理.
最佳答案
- 二级知识专家网友:七十二街
- 2021-03-13 18:35
MoveTo( int x, int y );
Moves the current position to the point specified by x and y
(or by point).
画线段的起点
LineTo( int x, int y );
Draws a line from the current position up to, but not including, the point
specified by x and y (or point). The line is drawn with the
selected pen. The current position is set to x,y or to
point.
画线段的终点
BOOLEllipse( int x1, int y1,
int x2, int y2 );
Draws an ellipse. The center of the ellipse is the center of the bounding
rectangle specified by x1, y1, x2, and y2, or
lpRect. The ellipse is drawn with the current pen, and its interior is
filled with the current brush.
根据两个点画椭圆
Moves the current position to the point specified by x and y
(or by point).
画线段的起点
LineTo( int x, int y );
Draws a line from the current position up to, but not including, the point
specified by x and y (or point). The line is drawn with the
selected pen. The current position is set to x,y or to
point.
画线段的终点
BOOLEllipse( int x1, int y1,
int x2, int y2 );
Draws an ellipse. The center of the ellipse is the center of the bounding
rectangle specified by x1, y1, x2, and y2, or
lpRect. The ellipse is drawn with the current pen, and its interior is
filled with the current brush.
根据两个点画椭圆
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯