Return the text bounds as *(x, y, width, height)* in table coordinates.
(self, renderer)
| 165 | self._text.set_position((x, y)) |
| 166 | |
| 167 | def get_text_bounds(self, renderer): |
| 168 | """ |
| 169 | Return the text bounds as *(x, y, width, height)* in table coordinates. |
| 170 | """ |
| 171 | return (self._text.get_window_extent(renderer) |
| 172 | .transformed(self.get_data_transform().inverted()) |
| 173 | .bounds) |
| 174 | |
| 175 | def get_required_width(self, renderer): |
| 176 | """Return the minimal required width for the cell.""" |
no test coverage detected