VC中画线,moveto,lineto;画圆:.ellipse,具体说明函数原理.
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
展开全部
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.
画线段的终点
BOOL Ellipse( 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.
画线段的终点
BOOL Ellipse( 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.
根据两个点画椭圆
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询