Draw the path with updated gc.
(self, renderer, gc, tpath, affine, rgbFace)
| 203 | self._gc = kwargs |
| 204 | |
| 205 | def draw_path(self, renderer, gc, tpath, affine, rgbFace): |
| 206 | """Draw the path with updated gc.""" |
| 207 | gc0 = renderer.new_gc() # Don't modify gc, but a copy! |
| 208 | gc0.copy_properties(gc) |
| 209 | gc0 = self._update_gc(gc0, self._gc) |
| 210 | renderer.draw_path( |
| 211 | gc0, tpath, affine + self._offset_transform(renderer), rgbFace) |
| 212 | gc0.restore() |
| 213 | |
| 214 | |
| 215 | withStroke = _subclass_with_normal(effect_class=Stroke) |
no test coverage detected