(self)
| 893 | (-1, +2), (-2, +1), (-1, 0)]) / 4) |
| 894 | |
| 895 | def _set_x_filled(self): |
| 896 | self._transform = Affine2D() |
| 897 | self._snap_threshold = 5.0 |
| 898 | self._joinstyle = self._user_joinstyle or JoinStyle.miter |
| 899 | if not self._half_fill(): |
| 900 | self._path = self._x_filled_path |
| 901 | else: |
| 902 | # Rotate top half path to support all partitions |
| 903 | self._path = self._alt_path = self._x_filled_path_t |
| 904 | fs = self.get_fillstyle() |
| 905 | self._transform.rotate_deg( |
| 906 | {'top': 0, 'left': 90, 'bottom': 180, 'right': 270}[fs]) |
| 907 | self._alt_transform = self._transform.frozen().rotate_deg(180) |
nothing calls this directly
no test coverage detected