ESPHome 2025.12.1
Loading...
Searching...
No Matches
esphome::font::Glyph Class Reference

#include <font.h>

Public Member Functions

constexpr Glyph (uint32_t code_point, const uint8_t *data, int advance, int offset_x, int offset_y, int width, int height)
 
bool is_less_or_equal (uint32_t other) const
 

Data Fields

const uint32_t code_point
 
const uint8_t * data
 
int advance
 
int offset_x
 
int offset_y
 
int width
 
int height
 

Detailed Description

Definition at line 18 of file font.h.

Constructor & Destructor Documentation

◆ Glyph()

esphome::font::Glyph::Glyph ( uint32_t code_point,
const uint8_t * data,
int advance,
int offset_x,
int offset_y,
int width,
int height )
inlineconstexpr

Definition at line 20 of file font.h.

Member Function Documentation

◆ is_less_or_equal()

bool esphome::font::Glyph::is_less_or_equal ( uint32_t other) const
inline

Definition at line 30 of file font.h.

Field Documentation

◆ advance

int esphome::font::Glyph::advance

Definition at line 34 of file font.h.

◆ code_point

const uint32_t esphome::font::Glyph::code_point

Definition at line 32 of file font.h.

◆ data

const uint8_t* esphome::font::Glyph::data

Definition at line 33 of file font.h.

◆ height

int esphome::font::Glyph::height

Definition at line 38 of file font.h.

◆ offset_x

int esphome::font::Glyph::offset_x

Definition at line 35 of file font.h.

◆ offset_y

int esphome::font::Glyph::offset_y

Definition at line 36 of file font.h.

◆ width

int esphome::font::Glyph::width

Definition at line 37 of file font.h.


The documentation for this class was generated from the following file: