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

The Implementation of Drawing a Rotated Ellipse Around any Point in VC

在线阅读下载全文

作  者:侯攀[1] 黄珺 何灵[1] 

机构地区:[1]国防信息学院,武汉430014

出  处:《电脑编程技巧与维护》2013年第14期18-19,23,共3页Computer Programming Skills & Maintenance

摘  要:针对编程实践中椭圆绕任意点旋转绘图的问题,介绍了单个点绕任意点旋转的问题,利用椭圆的参数方程,基于点的旋转,从而推导出椭圆绕任意点旋转后新的参数方程,进而利用新的椭圆参数方程实现旋转后椭圆的重绘。相对于利用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.

关 键 词:设备上下文 点的旋转 椭圆旋转 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象