ESP32 Display Controller and Graphics Library

◆ drawChar()

void drawChar ( int  X,
int  Y,
char  c 

Draws a character at specified position.

drawChar() uses currently selected font (selectFont() method) and currently selected glyph options (setGlyphOptions() method).

XHorizontal position of character left side.
YVertical position of character top side.
cCharacter to draw (an index in the character font glyphs set).


// Draw a 'C' at position 100, 100
Canvas.drawChar(100, 100, 'C');

Definition at line 387 of file canvas.cpp.