摘要
首先介绍了利用GDI+绘图的一般过程和方法。然后结合在远程心电监护项目开发中的应用,针对在绘制较大图形时,出现的图形闪烁问题以及采用在paint事件中绘制图形的方法,导致系统频繁重画,性能下降的问题,进行了分析和探讨。提出采用双缓冲技术解决图形绘制过程中的闪烁问题;采用避免在paint事件中绘制大图形的方法来解决系统性能下降的问题,最终取得了满意的图形显示效果。
The general process and method of applying GDI+ to graphing is presented and combing with the correlated problems encountered in developing long-distance cardiogram custody project, graph glittering during drawing bigger pictures and problems of Re-drawing and system performance dropping in the paint events are analyzed and discussed. It is proposed to use Dual -Buffer technique to resolve graph glittering and avoid drawing big graphs in the paint events to resolve system performance dropping in order to obtain the satisfactory graphical displaying effect.
出处
《电脑开发与应用》
2007年第5期41-42,共2页
Computer Development & Applications
基金
深圳市科技局基金资助项目(05KJcd022)