Draw a single character. Returns width.
(self, x, y, char, color, size=1)
| 391 | |
| 392 | # Text (built-in bitmap font) |
| 393 | def draw_char(self, x, y, char, color, size=1): |
| 394 | """Draw a single character. Returns width.""" |
| 395 | return _lib.pager_draw_char(x, y, char.encode(), color, size) |
| 396 | |
| 397 | def draw_text(self, x, y, text, color, size=1): |
| 398 | """Draw text at position. Returns width.""" |