期刊文献+

VC中椭圆绕任意点旋转绘图的实现

The Implementation of Drawing a Rotated Ellipse Around any Point in VC
下载PDF
导出
摘要 针对编程实践中椭圆绕任意点旋转绘图的问题,介绍了单个点绕任意点旋转的问题,利用椭圆的参数方程,基于点的旋转,从而推导出椭圆绕任意点旋转后新的参数方程,进而利用新的椭圆参数方程实现旋转后椭圆的重绘。相对于利用Ellipse()函数,该方法具有所绘图形失真小、灵活性好等特点,并且适用于已知参数方程的曲线绕任意点旋转绘图的问题。 For the problem about drawing a rotated ellipse around any point in the programming practice,this paper intro- duces a problem about the rotation of a single point around any point at first,and then using the elliptic parametric equation to get a new elliptic parametric equations based on the rotation of point,at last drawing the rotated ellipse by using the new elliptic parameter equation.Comparing with using Ellipse 0 function,this method has the character of smaller graphics dis- tortion and better flexibility, also this method can be applied to drawing a rotated curve around any point which has a known parametric equation.
机构地区 国防信息学院
出处 《电脑编程技巧与维护》 2013年第14期18-19,23,共3页 Computer Programming Skills & Maintenance
关键词 设备上下文 点的旋转 椭圆旋转 Device context The rotation of point The rotation of ellipse
  • 相关文献

参考文献3

  • 1Ivor Horton. Visual C++2010入门经典.5版.清华大学出版社.2010. 被引量:1
  • 2孙鑫编著..VC++深入详解[M].北京:电子工业出版社,2012:767.
  • 3宋坤编著..Visual C++开发实战宝典[M].北京:清华大学出版社,2010:769.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部