Draw a number. Returns width.
(self, x, y, num, color, size=1)
| 247 | return len(text) * 6 * size |
| 248 | |
| 249 | def draw_number(self, x, y, num, color, size=1): |
| 250 | """Draw a number. Returns width.""" |
| 251 | return len(str(num)) * 6 * size |
| 252 | |
| 253 | # ========== TTF TEXT ========== |
| 254 | def draw_ttf(self, x, y, text, color, font_path, font_size): |
nothing calls this directly
no outgoing calls
no test coverage detected