Return the mutated path of the arrow in display coordinates.
(self)
| 4614 | return self.get_transform().inverted().transform_path(_path) |
| 4615 | |
| 4616 | def _get_path_in_displaycoord(self): |
| 4617 | """Return the mutated path of the arrow in display coordinates.""" |
| 4618 | dpi_cor = self._dpi_cor |
| 4619 | |
| 4620 | if self._posA_posB is not None: |
| 4621 | posA = self._convert_xy_units(self._posA_posB[0]) |
| 4622 | posB = self._convert_xy_units(self._posA_posB[1]) |
| 4623 | (posA, posB) = self.get_transform().transform((posA, posB)) |
| 4624 | _path = self.get_connectionstyle()(posA, posB, |
| 4625 | patchA=self.patchA, |
| 4626 | patchB=self.patchB, |
| 4627 | shrinkA=self.shrinkA * dpi_cor, |
| 4628 | shrinkB=self.shrinkB * dpi_cor |
| 4629 | ) |
| 4630 | else: |
| 4631 | _path = self.get_transform().transform_path(self._path_original) |
| 4632 | |
| 4633 | _path, fillable = self.get_arrowstyle()( |
| 4634 | _path, |
| 4635 | self.get_mutation_scale() * dpi_cor, |
| 4636 | self.get_linewidth() * dpi_cor, |
| 4637 | self.get_mutation_aspect()) |
| 4638 | |
| 4639 | return _path, fillable |
| 4640 | |
| 4641 | def draw(self, renderer): |
| 4642 | if not self.get_visible(): |
nothing calls this directly
no test coverage detected