-
FontGen2
点阵字体产生工具以及相关显示函数。
在开发嵌入式系统时,需要显示不同大小或类型字体的汉字。显然,对于嵌入式系统,不太可能使用矢量字体,而点阵字体,不同大小的字体不能简单的缩放。 另外,对一个小系统,也不需要完整的字体,往往只要几十个,甚至几个就够了。
一般,我们采用的方法是,自己准备点阵字体的数据,在显示汉字时,把这些数据写入显存就行了。 这时又存在另外一个问题,由于是不完整的字库,不能简单的用汉字的内码去找到对应的字体数据,如果逐个比较,又费时间。比较好的方法就是把字体数据排序,用二分法查找,这样可以大大提高查找效率。
这里为以上问题提供了一个完整的解决方案:
产生字体数据:指定字体类型、大小,自动产生字体数据。
字体数据排序:可以按Unicode,也可以按Ansi排序。
集成显示函数:提供相关显示函数。为了节省空间,我们把文字分成thin和wide两种,前者用于显示传统的ASCII字符集,后者用于显示汉字等多(双)字节字符
()
- 2020-06-30 09:20:02下载
- 积分:1
-
vb-recive-many-frames
以定时的方式接收下位机传送的多帧数据,接收准确,实时性很强(In time to receive the next crew of the multi-frame data transmission, receive accurate, real-time strong)
- 2011-10-05 22:32:25下载
- 积分:1
-
cpluspluskursu
c++ studying codes/c++ COURSE/EXAMPLE CODES/ NECATİ ERGİ N
- 2015-12-15 04:14:10下载
- 积分:1
-
17_LCD1602基本显示程序
简单的lcd1602显示代码,说明通俗易懂(Simple lcd1602 display code)
- 2020-06-17 19:20:02下载
- 积分:1
-
GEADVANCE3D_Sinogram
数据转换为正弦图,最终输出的正弦图为平均正弦图。(Data into sine figure, final output sine the graph is the average sinogram.)
- 2013-10-07 15:26:07下载
- 积分:1
-
IOaUART
利用单片机IO口模拟UART程序,系统用了一个定时器和一个外部中断,外部中断主要是用来检测串口起始位的到来。(IO mouth simulation UART program, microcontroller system with a timer and an external interrupt, external interrupt is mainly used to detect the arrival of the start bit serial port.)
- 2016-12-30 08:38:34下载
- 积分:1
-
blmsensor
通过comm口,读取外部压力或温度传感器的数据,并显示在界面上(Comm port by reading data the external pressure or temperature sensor, and displayed on the screen)
- 2014-10-13 15:07:28下载
- 积分:1
-
Desktop
电力仪表测量电压,电流,有功,无功,等电力参数,用PIC和ATT7026 数码显示(Electricity meters measure voltage, current, active power, reactive power, and other electrical parameters, with the PIC and ATT7026 digital display)
- 2013-06-07 11:08:02下载
- 积分:1
-
USB_2.0.pdf
stm32下跑通usb外设,编译环境基于keil(stm32 next run through usb peripherals, based on keil compiler environment)
- 2013-10-05 21:34:54下载
- 积分:1
-
angle-time
用于计算同步电机发生三相短路故障时,功角随时间的变化关系。(For the calculation of the three-phase short circuit fault occurs synchronous motors, power angle changes with time.)
- 2015-04-14 13:23:34下载
- 积分:1