(self, gc, path, transform, rgbFace=None)
| 688 | [b'M', b'L', b'Q', b'C', b'z'], False).decode('ascii') |
| 689 | |
| 690 | def draw_path(self, gc, path, transform, rgbFace=None): |
| 691 | # docstring inherited |
| 692 | trans_and_flip = self._make_flip_transform(transform) |
| 693 | clip = (rgbFace is None and gc.get_hatch_path() is None) |
| 694 | simplify = path.should_simplify and clip |
| 695 | path_data = self._convert_path( |
| 696 | path, trans_and_flip, clip=clip, simplify=simplify, |
| 697 | sketch=gc.get_sketch_params()) |
| 698 | |
| 699 | if gc.get_url() is not None: |
| 700 | self.writer.start('a', {'xlink:href': gc.get_url(), 'target': '_blank'}) |
| 701 | self.writer.element('path', d=path_data, **self._get_clip_attrs(gc), |
| 702 | style=self._get_style(gc, rgbFace)) |
| 703 | if gc.get_url() is not None: |
| 704 | self.writer.end('a') |
| 705 | |
| 706 | def draw_markers( |
| 707 | self, gc, marker_path, marker_trans, path, trans, rgbFace=None): |
nothing calls this directly
no test coverage detected