FabGL
ESP32 Display Controller and Graphics Library

◆ textExtent() [2/2]

int textExtent ( char const *  text)

Calculates text extension in pixels.

Parameters
textString to calculate length (indexes in the character font glyphs set).

Definition at line 460 of file canvas.cpp.