Clemens Valens
/
LED_panel
32x64 3-color message board http://elektorembedded.blogspot.com/
Embed:
(wiki syntax)
Show/hide line numbers
font.h
00001 #ifndef __FONT_H__ 00002 #define __FONT_H__ 00003 00004 00005 typedef unsigned char uint8_t; 00006 00007 00008 typedef struct 00009 { 00010 int width; // Character width in bits. 00011 int offset; // Offset in bytes into font bitmap. 00012 } 00013 FONT_CHAR_INFO; 00014 00015 00016 typedef struct 00017 { 00018 int height; // Character height in bits. 00019 char start_char; // Start character. 00020 const FONT_CHAR_INFO *p_character_descriptor; // Character decriptor array. 00021 const uint8_t *p_character_bitmaps; // Character bitmap array. 00022 } 00023 FONT_INFO; 00024 00025 00026 #endif // __FONT_H__
Generated on Thu Jul 14 2022 01:11:21 by 1.7.2