摘要
论述了汉字显示的基本原理,基于OpenGL提出了在VxWorks嵌入式系统中汉字输入及显示的实现方案,并以16×16点阵字库为例,给出了关键程序设计。通过该输入法的输入及显示,结果表明,OpenGL提供了一种直观的编程环境,以及一系图形变换和外部设备访问函数,使开发者可以方便地访问鼠标、键盘等外设,简化了图形程序开发。
This article briefly introduces the fundamental principle of Chinese character display,proposes the realization scheme of inputting and displaying Chinese characters in the VxWorks embedded system based on OpenGL.The design of key programs are given with the 16×16 character base as an example.Results show that OpenGL has a visualized programming environment and a series of image transform functions and peripheral device visiting functions,so that developers can visit the peripheral device with convenience and the image program development is simplified.
出处
《电子科技》
2012年第2期97-99,104,共4页
Electronic Science and Technology