Return the bbox of the offsetbox and the child offsets. The bbox should satisfy ``x0 <= x1 and y0 <= y1``. Parameters ---------- renderer : `.RendererBase` subclass Returns ------- bbox list of (xoffset, yoffset) pairs
(self, renderer)
| 338 | return self._children |
| 339 | |
| 340 | def _get_bbox_and_child_offsets(self, renderer): |
| 341 | """ |
| 342 | Return the bbox of the offsetbox and the child offsets. |
| 343 | |
| 344 | The bbox should satisfy ``x0 <= x1 and y0 <= y1``. |
| 345 | |
| 346 | Parameters |
| 347 | ---------- |
| 348 | renderer : `.RendererBase` subclass |
| 349 | |
| 350 | Returns |
| 351 | ------- |
| 352 | bbox |
| 353 | list of (xoffset, yoffset) pairs |
| 354 | """ |
| 355 | raise NotImplementedError( |
| 356 | "get_bbox_and_offsets must be overridden in derived classes") |
| 357 | |
| 358 | def get_bbox(self, renderer): |
| 359 | """Return the bbox of the offsetbox, ignoring parent offsets.""" |