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

#include <display.h>

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 202 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

◆ print()

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

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