Draw horizontally centered TTF text.
(self, y, text, color, font_path, font_size)
| 267 | return int(font_size * 1.2) |
| 268 | |
| 269 | def draw_ttf_centered(self, y, text, color, font_path, font_size): |
| 270 | """Draw horizontally centered TTF text.""" |
| 271 | if VERBOSE: |
| 272 | print(f"[MockPager] draw_ttf_centered(y={y}, '{text[:30]}')") |
| 273 | |
| 274 | def draw_ttf_right(self, y, text, color, font_path, font_size, padding=0): |
| 275 | """Draw right-aligned TTF text.""" |
nothing calls this directly
no outgoing calls
no test coverage detected