58 uint16_t bitmapOffset;
96#ifndef _ILI9341_FONTS_H_
97#define _ILI9341_FONTS_H_
195 namespace tgx_internals
199 inline uint32_t fetchbit(
const uint8_t* p, uint32_t index) {
return (p[index >> 3] & (0x80 >> (index & 7))); }
202 uint32_t fetchbits_unsigned(
const uint8_t* p, uint32_t index, uint32_t required);
205 uint32_t fetchbits_signed(
const uint8_t* p, uint32_t index, uint32_t required);
Anchor
Define the placement of an anchor point inside a box.
Definition: Box2.h:74
iBox2 measureChar(char c, iVec2 pos, const GFXfont &font, Anchor anchor=DEFAULT_TEXT_ANCHOR, int *xadvance=nullptr)
Compute the bounding box of a character.
int fontHeight(const GFXfont &font)
Query the height of a font.
Utility/miscellaneous functions used throughout the library.
GFXFont font format.
Definition: Fonts.h:74
uint8_t last
ASCII extents (last char)
Definition: Fonts.h:78
uint8_t * bitmap
Glyph bitmaps, concatenated.
Definition: Fonts.h:75
uint8_t first
ASCII extents (first char)
Definition: Fonts.h:77
uint8_t yAdvance
Newline distance (y axis)
Definition: Fonts.h:79
GFXglyph * glyph
Glyph array.
Definition: Fonts.h:76
ILI9341_t3 PJRC font format.
Definition: Fonts.h:105
unsigned char bits_yoffset
...
Definition: Fonts.h:119
const unsigned char * index
...
Definition: Fonts.h:106
unsigned char line_space
...
Definition: Fonts.h:121
unsigned char index2_last
...
Definition: Fonts.h:114
unsigned char bits_height
...
Definition: Fonts.h:117
unsigned char reserved
...
Definition: Fonts.h:110
const unsigned char * unicode
...
Definition: Fonts.h:107
unsigned char bits_width
...
Definition: Fonts.h:116
unsigned char index1_first
...
Definition: Fonts.h:111
unsigned char index1_last
...
Definition: Fonts.h:112
unsigned char bits_index
...
Definition: Fonts.h:115
unsigned char cap_height
...
Definition: Fonts.h:122
unsigned char index2_first
...
Definition: Fonts.h:113
unsigned char bits_delta
...
Definition: Fonts.h:120
const unsigned char * data
...
Definition: Fonts.h:108
unsigned char version
...
Definition: Fonts.h:109
unsigned char bits_xoffset
...
Definition: Fonts.h:118
Generic 2D Box [specializations iBox2 , fBox2, dBox2].
Definition: Box2.h:151
Generic 2D vector [specializations iVec2, fVec2, dVec2].
Definition: Vec2.h:64