#ifndef ASCII3D_FONT_H #define ASCII3D_FONT_H #include #ifdef __cplusplus extern "C" { #endif // Returns a direct pointer to the 7-byte glyph row data if the char is present // in our sprite sheet const unsigned char *font_get_glyph(char c); // Validates the bitmap bounds and extracts a specific pixel bit bool font_pixel_set(const unsigned char *glyph, int x, int y); // Tests an ASCII character against our mapped glyph dictionary bool font_is_renderable(char c); #ifdef __cplusplus } #endif #endif