diff options
| author | gamerdonkey | 2024-09-14 16:00:46 -0500 |
|---|---|---|
| committer | gamerdonkey | 2024-09-14 16:00:46 -0500 |
| commit | 8909bb8e8c915d105daaf7d1fd03546af5ab4d94 (patch) | |
| tree | 41c989043795df4a21f1c6ecbf674a46b77a7b94 /main/gfxfont.h | |
| parent | 35ff74c9be46e16030d1184a506451e1d3805c25 (diff) | |
| download | esp32-inova-led-controller-8909bb8e8c915d105daaf7d1fd03546af5ab4d94.tar.gz esp32-inova-led-controller-8909bb8e8c915d105daaf7d1fd03546af5ab4d94.tar.bz2 esp32-inova-led-controller-8909bb8e8c915d105daaf7d1fd03546af5ab4d94.zip | |
Changing to use an Adafruit_GFX library from components repo.
Diffstat (limited to 'main/gfxfont.h')
| -rw-r--r-- | main/gfxfont.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/main/gfxfont.h b/main/gfxfont.h deleted file mode 100644 index 175bad6..0000000 --- a/main/gfxfont.h +++ /dev/null @@ -1,29 +0,0 @@ -// Font structures for newer Adafruit_GFX (1.1 and later). -// Example fonts are included in 'Fonts' directory. -// To use a font in your Arduino sketch, #include the corresponding .h -// file and pass address of GFXfont struct to setFont(). Pass NULL to -// revert to 'classic' fixed-space bitmap font. - -#ifndef _GFXFONT_H_ -#define _GFXFONT_H_ - -/// Font data stored PER GLYPH -typedef struct { - uint16_t bitmapOffset; ///< Pointer into GFXfont->bitmap - uint8_t width; ///< Bitmap dimensions in pixels - uint8_t height; ///< Bitmap dimensions in pixels - uint8_t xAdvance; ///< Distance to advance cursor (x axis) - int8_t xOffset; ///< X dist from cursor pos to UL corner - int8_t yOffset; ///< Y dist from cursor pos to UL corner -} GFXglyph; - -/// Data stored for FONT AS A WHOLE -typedef struct { - uint8_t *bitmap; ///< Glyph bitmaps, concatenated - GFXglyph *glyph; ///< Glyph array - uint16_t first; ///< ASCII extents (first char) - uint16_t last; ///< ASCII extents (last char) - uint8_t yAdvance; ///< Newline distance (y axis) -} GFXfont; - -#endif // _GFXFONT_H_ |
