ESPHome  2024.11.1
Public Member Functions | Data Fields | Protected Attributes
esphome::lvgl::FontEngine Class Reference

#include <lvgl_esphome.h>

Public Member Functions

 FontEngine (font::Font *esp_font)
 
const lv_font_t * get_lv_font ()
 
const font::GlyphDataget_glyph_data (uint32_t unicode_letter)
 

Data Fields

uint16_t baseline {}
 
uint16_t height {}
 
uint8_t bpp {}
 

Protected Attributes

font::Font * font_ {}
 
uint32_t last_letter_ {}
 
const font::GlyphDatalast_data_ {}
 
lv_font_t lv_font_ {}
 

Detailed Description

Definition at line 96 of file lvgl_esphome.h.

Constructor & Destructor Documentation

◆ FontEngine()

esphome::lvgl::FontEngine::FontEngine ( font::Font *  esp_font)

Definition at line 32 of file font.cpp.

Member Function Documentation

◆ get_glyph_data()

const font::GlyphData * esphome::lvgl::FontEngine::get_glyph_data ( uint32_t  unicode_letter)

Definition at line 46 of file font.cpp.

◆ get_lv_font()

const lv_font_t * esphome::lvgl::FontEngine::get_lv_font ( )

Definition at line 44 of file font.cpp.

Field Documentation

◆ baseline

uint16_t esphome::lvgl::FontEngine::baseline {}

Definition at line 102 of file lvgl_esphome.h.

◆ bpp

uint8_t esphome::lvgl::FontEngine::bpp {}

Definition at line 104 of file lvgl_esphome.h.

◆ font_

font::Font* esphome::lvgl::FontEngine::font_ {}
protected

Definition at line 107 of file lvgl_esphome.h.

◆ height

uint16_t esphome::lvgl::FontEngine::height {}

Definition at line 103 of file lvgl_esphome.h.

◆ last_data_

const font::GlyphData* esphome::lvgl::FontEngine::last_data_ {}
protected

Definition at line 109 of file lvgl_esphome.h.

◆ last_letter_

uint32_t esphome::lvgl::FontEngine::last_letter_ {}
protected

Definition at line 108 of file lvgl_esphome.h.

◆ lv_font_

lv_font_t esphome::lvgl::FontEngine::lv_font_ {}
protected

Definition at line 110 of file lvgl_esphome.h.


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