|
FabGL
ESP32 VGA Controller and Graphics Library
|
| void fabgl::CanvasClass::drawChar | ( | int | X, |
| int | Y, | ||
| char | c | ||
| ) |
Draw a character at specified position.
drawChar() uses currently selected font (selectFont() method) and currently selected glyph options (setGlyphOptions() method).
| X | Horizontal position of character left side. |
| Y | Vertical position of character top side. |
| c | Character to draw (an index in the character font glyphs set). |
Example:
// Draw a 'C' at position 100, 100 Canvas.drawChar(100, 100, 'C');