ESPHome  2024.5.2
Public Member Functions
esphome::display::BaseFont Class Referenceabstract

#include <display.h>

Inheritance diagram for esphome::display::BaseFont:

Public Member Functions

virtual void print (int x, int y, Display *display, Color color, const char *text, Color background)=0
virtual void measure (const char *str, int *width, int *x_offset, int *baseline, int *height)=0

Detailed Description

Definition at line 201 of file display.h.

Member Function Documentation

◆ measure()

virtual void esphome::display::BaseFont::measure ( const char *  str,
int *  width,
int *  x_offset,
int *  baseline,
int *  height 
pure virtual

Implemented in esphome::font::Font.

◆ print()

virtual void esphome::display::BaseFont::print ( int  x,
int  y,
Display display,
Color  color,
const char *  text,
Color  background 
pure virtual

Implemented in esphome::font::Font.

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