mirror of
https://github.com/olikraus/u8g2.git
synced 2026-09-15 03:02:52 +00:00
issue #41
This commit is contained in:
@@ -162,11 +162,20 @@ class U8X8 : public Print
|
||||
void drawGlyph(uint8_t x, uint8_t y, uint8_t encoding) {
|
||||
u8x8_DrawGlyph(&u8x8, x, y, encoding); }
|
||||
|
||||
void draw2x2Glyph(uint8_t x, uint8_t y, uint8_t encoding) {
|
||||
u8x8_Draw2x2Glyph(&u8x8, x, y, encoding); }
|
||||
|
||||
void drawString(uint8_t x, uint8_t y, const char *s) {
|
||||
u8x8_DrawString(&u8x8, x, y, s); }
|
||||
|
||||
void drawUTF8(uint8_t x, uint8_t y, const char *s) {
|
||||
u8x8_DrawUTF8(&u8x8, x, y, s); }
|
||||
|
||||
void draw2x2String(uint8_t x, uint8_t y, const char *s) {
|
||||
u8x8_Draw2x2String(&u8x8, x, y, s); }
|
||||
|
||||
void draw2x2UTF8(uint8_t x, uint8_t y, const char *s) {
|
||||
u8x8_Draw2x2UTF8(&u8x8, x, y, s); }
|
||||
|
||||
uint8_t getUTF8Len(const char *s) {
|
||||
return u8x8_GetUTF8Len(&u8x8, s); }
|
||||
|
||||
Reference in New Issue
Block a user