Create a new :class:`BboxTransformTo` that linearly transforms points from the unit bounding box to *boxout*.
(self, boxout, **kwargs)
| 2617 | is_separable = True |
| 2618 | |
| 2619 | def __init__(self, boxout, **kwargs): |
| 2620 | """ |
| 2621 | Create a new :class:`BboxTransformTo` that linearly transforms |
| 2622 | points from the unit bounding box to *boxout*. |
| 2623 | """ |
| 2624 | if not boxout.is_bbox: |
| 2625 | raise ValueError("'boxout' must be bbox") |
| 2626 | |
| 2627 | Affine2DBase.__init__(self, **kwargs) |
| 2628 | self._boxout = boxout |
| 2629 | self.set_children(boxout) |
| 2630 | self._mtx = None |
| 2631 | self._inverted = None |
| 2632 | |
| 2633 | def __str__(self): |
| 2634 | return ("{}(\n" |
nothing calls this directly
no test coverage detected