摘要
GDI+(图形设备接口)是Windows操作系统的一个子系统,它把Windows中关于绘制图形的API函数封装在一组类中,在一种与设备无关的环境下提供了一套统一的绘图编程模型,利用GDI+可方便快捷地实现应用程序与图形设备的交互。飞行模拟器的飞行轨迹为教员提供了直观的飞机位置显示,结合某型飞行模拟器的研制,采用GDI+,通过先在内存建立一块"虚拟画布",然后将需要画的图形先画在这块"虚拟画布"上,最后再一次性将整块"虚拟画布"画到真正的窗体上这样的"双缓冲"技术,在Visual C#.Net下对飞行模拟器的飞行轨迹进行了绘制。
GDI + is a subsystem of windows operating system.It packs the API of plotting graph into library.It provides a uniform plot program model under the environment irrespective device.It achieves the alternation conveniently and quickly between application and graphics device.Flight track provides visual airplane position display for flight instructor.Combined the development of flight simulator,the flight track display system is developed with the use of GDI + under Visual C#.Net.The display of the flight track is based on the technique of dual-buffer.The technique of dual-buffer is that virtual canvas based on the memory on which the graph is plotted is plotted on the form.
出处
《计算机技术与发展》
2011年第6期177-180,184,共5页
Computer Technology and Development
基金
海军装备部项目(HJZ2009-0640\N134)