首页 | 本学科首页   官方微博 | 高级检索  
     

基于VC++调用COM组件探讨图形绘制软件的开发
引用本文:王洪鹏,刘柳,赵倩,王新闯. 基于VC++调用COM组件探讨图形绘制软件的开发[J]. 天津理工大学学报, 2011, 27(3): 46-49. DOI: 10.3969/j.issn.1673-095X.2011.03.012
作者姓名:王洪鹏  刘柳  赵倩  王新闯
作者单位:天津理工大学计算机与通信工程学院,教育部通信器件工程研究中心;天津市薄膜电子与通信器件重点实验室,天津300384
基金项目:2010年天津市科技创新专项基金
摘    要:针对目前图形绘制过程中因处理大量的矩阵运算和海量的数据导致的实时性不高、显示效果不佳的不足,研究了一种基于COM的混合编程算法.本文首先从理论上分析了传统编程的缺点,然后分析了混合编程中各种编程方法的的优点,以实时动态显示采集到的信号为例,通过实验表明,采用混合编程不仅可以减少程序复杂度和时间复杂度,比传统GD I方法在执行速率上提高了约25%~30.65%,而且能取得更好的图形显示效果.

关 键 词:混合编程  MFC  实时  COM

Discussion on development of graphics drawing software based on VC + + calling COM components
WANG Hong-peng,LIU Liu,ZHAO Qian,WANG Xin-chuang. Discussion on development of graphics drawing software based on VC + + calling COM components[J]. Journal of Tianjin University of Technology, 2011, 27(3): 46-49. DOI: 10.3969/j.issn.1673-095X.2011.03.012
Authors:WANG Hong-peng  LIU Liu  ZHAO Qian  WANG Xin-chuang
Affiliation:(School of Computer and Communications Engineering,Engineering Research Center of Communication Devices Ministry of Education;Tianjin Key Laboratory of Film Electronic and Communication Device,Tianjin University of Technology,Tianjin 300384,China)
Abstract:Due to the disadvantage in real-time and its poor display resulted by processing a number of matrix operations and mass data in graphics rendering,it is researched that a kind of algorithm on hybrid programming based on COM.In this paper,it is theoretically analyzed that disadvantages in traditional programming and advantages in hybrid programming.It is demonstrated from experiments that,taking displaying the acquired signals real-time and dynamically for example,using mixed programming not only reduces the amount of program code and the time of running,and compared to the approach of traditional GDI the execution rate is improved from 25% to 30.65%,and it can achieve better displaying in graphics rendering.
Keywords:mixed programming  MFC  real-time  COM
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号