Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
FontPack.h
00001 namespace FontPack { 00002 00003 00004 typedef struct { 00005 int nCols; 00006 const char* col; 00007 char getCol(int i) { 00008 return col[i]; 00009 } 00010 } FontPackChar; 00011 00012 00013 00014 00015 /* 00016 FN: writeChar 00017 Function takes the char to write to the map, the map to write to, 00018 and where in the map to start the writing. 00019 RETURN: index in map after inserting char (the caret) 00020 */ 00021 int writeChar(char a, char map[], int index, int col = 0); 00022 /*FN: blank 00023 Inserts a blank. 00024 RETURN: index in map after inserting blank 00025 */ 00026 int blank(int index); 00027 00028 /* 00029 FN: getChar 00030 RETURN: a struct encapsulating the requested char. 00031 */ 00032 FontPackChar getChar(char a); 00033 }
Generated on Mon Jul 18 2022 11:33:46 by
1.7.2