(self)
| 872 | (-1, +3), (-1, +1), (-3, +1), (-3, 0)]) / 6) |
| 873 | |
| 874 | def _set_plus_filled(self): |
| 875 | self._transform = Affine2D() |
| 876 | self._snap_threshold = 5.0 |
| 877 | self._joinstyle = self._user_joinstyle or JoinStyle.miter |
| 878 | if not self._half_fill(): |
| 879 | self._path = self._plus_filled_path |
| 880 | else: |
| 881 | # Rotate top half path to support all partitions |
| 882 | self._path = self._alt_path = self._plus_filled_path_t |
| 883 | fs = self.get_fillstyle() |
| 884 | self._transform.rotate_deg( |
| 885 | {'top': 0, 'left': 90, 'bottom': 180, 'right': 270}[fs]) |
| 886 | self._alt_transform = self._transform.frozen().rotate_deg(180) |
| 887 | |
| 888 | _x_filled_path = Path._create_closed(np.array([ |
| 889 | (-1, -2), (0, -1), (+1, -2), (+2, -1), (+1, 0), (+2, +1), |
nothing calls this directly
no test coverage detected