To initialize a font information structure (of type struct _fontInfo
參數(shù)資料
型號: 20-101-0732
廠商: Rabbit Semiconductor
文件頁數(shù): 106/126頁
文件大?。?/td> 0K
描述: INTERFACE SMART SCREEN OP7100
標準包裝: 1
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關(guān)產(chǎn)品: OP7100
其它名稱: 20-101-732
20-101-732-ND
OP7100
80
Graphics Programming
To initialize a font information structure (of type struct _fontInfo),
you can call op71XFontInit for a font stored in xmem.
To display a bitmap, call op71XPutBitmap to display a bitmap stored in
xmem
.
Printing Text
Printing text involves setting the font information structures. Call
void op71XFontInit(struct _fontInfo *pInfo,
char pixWidth, char pixHeight,
unsigned startChar, unsigned endChar,
unsigned long xmemBuffer);
to initialize a font information structure if the font is stored in xmem.
pInfo
points to a font information structure, pixWidth is the width of
each character (fixed pitch), pixHeight is the height of each character,
startChar
is the ASCII code of the first character in the font, endChar is
the ASCII code of the last character in the font, and xmemBuffer is a
physical address pointing to the font table stored in xmem.
Rabbit Semiconductor supplies five font sizes for the OP7100. The
smallest font, engFont6x8, compiles to xmem, and each character is 6
pixels wide by 8 pixels high. The largest font, engFont17x35, also
compiles to xmem, and each character is 17 pixels wide by 35 pixels high.
When you need to print text to the LCD, call
void op71Printf(int x, int y,
struct _fontInfo *pInfo, char *fmt,...);
where (x,y) is the upper left corner of the text, pInfo points to a font
information structure, fmt points to a format string (much like printf),
and the rest of the parameters specify what to print for each field in the
format string (same as printf).
相關(guān)PDF資料
PDF描述
395-030-527-804 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-802 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-801 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-204 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-202 CARD EDGE 30POS DL .100X.200 BLK
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0737 制造商:Digi International 功能描述:SMARTBLOCK OEM W/RTC - MOQ: 50 - Bulk 制造商:Digi International Inc 功能描述:SMARTBLOCK OEM W/RTC MOQ: 50 制造商:Rabbit Semiconductor 功能描述:Smartblock OEM w/RTC
20-101-0738 功能描述:單板計算機 SR9150 Eth 512K SRAM RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0739 制造商:Digi International 功能描述:BL1700 16IN/16OUT 512K SRAM 256K FLASH - MOQ: 25 - Boxed Product (Development Kits) 制造商:Digi International Inc 功能描述:ETH CTLR BL1700 16I/O 256K FLASH 制造商:Rabbit Semiconductor 功能描述:BL1700 512K SRAM 16 In/Out 256K Flash
20-101-0743 制造商:Digi International Inc 功能描述:SMARTBLOCK OEM W/RTC (ROHS) 制造商:Digi International 功能描述:SMARTBLOCK OEM W/RTC - MOQ: 50 - Bulk 制造商:Digi International Inc 功能描述:SMARTBLOCK OEM W/RTC MOQ: 50 制造商:Rabbit Semiconductor 功能描述:Smartblock OEM w/RTC
20-101-0749 功能描述:單板計算機 16 I/O 128K SRAM RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm