摘要
在Windows编程中,如果采用传统的图形绘制技术,当窗体的内容经常刷新时,会导致屏幕或窗口出现闪烁,严重影响了显示效果,采用双缓冲技术则可以很好地解决这一问题。示波表作为一种对刷新率要求较高的测试仪器,需要保证在波形进行刷新时,屏幕不会因刷新的速度过快而出现闪烁的现象。本文介绍了双缓冲技术的原理以及它在示波表软件中波形刷新显示时的应用。实际使用结果表明:双缓冲技术确实很好地保证了波形频繁刷新时屏幕有好的显示效果,同时也提高了画面的刷新率。
In programming of Windows,it will result in flickering on screen or windows when contents of windows often refresh adopting traditional image drawing technology,which badly impair the display effect.Double-buffering technique can solve this problem very well.As a measuring and testing instruments which demands high levels of refresh rate,DSO needs to ensure that screen will not appear the phenomenon of flickering when waves are refreshing quickly.this paper describes the theory of Double-buffering technique and the application of double-buffering technique in waveform refreshing of the software of DSO.The result of practical using indicates that this technology guarantee good display effect if waveform refresh evtensively indeed and it also improves the refresh rate.
出处
《电子测试》
2012年第1期58-61,共4页
Electronic Test