Draw horizontally centered text.
(self, y, text, color, size=1)
| 238 | return len(text) * 6 * size |
| 239 | |
| 240 | def draw_text_centered(self, y, text, color, size=1): |
| 241 | """Draw horizontally centered text.""" |
| 242 | if VERBOSE: |
| 243 | print(f"[MockPager] draw_text_centered(y={y}, '{text[:30]}')") |
| 244 | |
| 245 | def text_width(self, text, size=1): |
| 246 | """Get width of text in pixels.""" |
nothing calls this directly
no outgoing calls
no test coverage detected