作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (24): 269-271. doi: 10.3969/j.issn.1000-3428.2010.24.097

• 开发研究与设计技术 • 上一篇    下一篇

基于VxWorks的OpenGL图形界面开发

薛 娟1,李旭勇2   

  1. (1. 湖南财经高等专科学校信管系,长沙 410205;2. 长沙湘计海盾科技有限公司,长沙 410100)
  • 出版日期:2010-12-20 发布日期:2010-12-14
  • 作者简介:薛 娟(1979-),女,讲师、硕士,主研方向:图形图像处理,数据结构及算法;李旭勇,工程师、硕士

Development of OpenGL Graphic Interface Based on VxWorks

XUE Juan 1, LI Xu-yong 2   

  1. (1. Department of Information Management, Hunan College of Finance and Economics, Changsha 410205, China;2. Changsha Xiangji-Haidun Technology Co. Ltd., Changsha 410100, China)
  • Online:2010-12-20 Published:2010-12-14

摘要:

提出一种基于VxWorks的OpenGL图形界面开发方法。研究VxWorks下的OpenGL图形解决方案及汉字生成的基本原理,提取字符的点阵信息生成点阵字体,使用FreeType产生矢量字体。将字体以OpenGL的方式绘制在图形中,实现基于VxWorks的中文图形界面。应用结果表明,该方法具有可行性和实用性。

关键词: VxWorks操作系统, 点阵字体, 矢量字体, 中文图形界面

Abstract:

This paper proposes a development method of OpenGL graphic interface based on VxWorks graphic solutions of OpenGL and the principle of displaying Chinese character is studied to realize the Chinese graphic interface based on VxWorks. The dot matrix that describes the Chinese character is picked out to create raster font, and the vector font is created by using the solution of FreeType. Through drawing the font on the graphic based on OpenGL, the Chinese graphic interface is realized. Application result shows the feasibility and availability of this method.

Key words: VxWorks operating system, raster font, vector font, Chinese graphic interface

中图分类号: