|
FabGL
ESP32 Display Controller and Graphics Library
|
| void fabgl::Canvas::drawTextWithEllipsis | ( | FontInfo const * | fontInfo, |
| int | X, | ||
| int | Y, | ||
| char const * | text, | ||
| int | maxX | ||
| ) |
Draws a string at specified position. Add ellipses before truncation.
| fontInfo | Pointer to font structure containing font info and glyphs data. |
| X | Horizontal position of first character left side. |
| Y | Vertical position of first character top side. |
| text | String to draw (indexes in the character font glyphs set). |
| maxX | Maximum horizontal coordinate allowed. |