(self)
| 4146 | self._box = None |
| 4147 | |
| 4148 | def _update_box(self): |
| 4149 | # Update selection box extents to the extents of the polygon |
| 4150 | if self._box is not None: |
| 4151 | bbox = self._get_bbox() |
| 4152 | self._box.extents = [bbox.x0, bbox.x1, bbox.y0, bbox.y1] |
| 4153 | # Save a copy |
| 4154 | self._old_box_extents = self._box.extents |
| 4155 | |
| 4156 | @_call_with_reparented_event |
| 4157 | def _scale_polygon(self, event): |
no test coverage detected