VC中画线,moveto,lineto;画圆:.ellipse,具体说明函数原理.
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
1个回答
展开全部
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.
根据两个点画椭圆
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
意法半导体(中国)投资有限公司
2023-06-12 广告
2023-06-12 广告
单片机,即单片微控制器,也称为单片微型计算机,是将中央处理器(CPU)、存储器(ROM,RAM)、输入/输出接口和其他功能部件集成在一块 在一个小块的集成电路上,从而实现对整个电路或系统的数字式控制。单片机不是完成某一个逻辑功能的芯片,而是...
点击进入详情页
本回答由意法半导体(中国)投资有限公司提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询