Get width of TTF text in pixels.
(self, text, font_path, font_size)
| 259 | return int(len(text) * font_size * 0.6) |
| 260 | |
| 261 | def ttf_width(self, text, font_path, font_size): |
| 262 | """Get width of TTF text in pixels.""" |
| 263 | return int(len(text) * font_size * 0.6) |
| 264 | |
| 265 | def ttf_height(self, font_path, font_size): |
| 266 | """Get height of TTF font in pixels.""" |
nothing calls this directly
no outgoing calls
no test coverage detected