基于Vx Works的中文图形界面开发

Development of Chinese Graphic User Interface Based on Vx Works

  • 摘要: 研究VxWorks下的图形解决方案、X Window组件的显示资源设置方法以及汉字生成的基本原理,实现图形界面的汉化.在以X Window为图形用户界面的条件下,通过提取中文字符的点阵信息产生点阵字库,将点阵信息以画点的方式绘制在象图(pixmap)上,将象图赋给组件的标签,从而实现基于VxWorks的中文图形界面.通过一个嵌入式电子地图的例子说明了该方法的可行性和实用性.该方法可以普遍适用于其他以X Window为图形环境的操作系统中.

     

    Abstract: Graphic solutions of VxWorks,the label type of X Window widget and the principle of displaying Chinese character are studied to realize the Chinese graphic user interface based on VxWorks.X Window is chosen as the graphic solution.The dot matrix that describes the Chinese character is picked out to create a dot matrix lib.By drawing the dot matrix on the pixmap and putting the pixmap into the label of the widget,the Chinese user interface is realized.An instance of the embedded digital map is provided to show the practicability of this technique.By this method Chinese user interface can also be realized under other operating systems that takes X Window as the graphic solution.

     

/

返回文章
返回
Baidu
map