(self, gc, path, transform, rgbFace=None)
| 193 | return wxpath |
| 194 | |
| 195 | def draw_path(self, gc, path, transform, rgbFace=None): |
| 196 | # docstring inherited |
| 197 | gc.select() |
| 198 | self.handle_clip_rectangle(gc) |
| 199 | gfx_ctx = gc.gfx_ctx |
| 200 | transform = transform + \ |
| 201 | Affine2D().scale(1.0, -1.0).translate(0.0, self.height) |
| 202 | wxpath = self.convert_path(gfx_ctx, path, transform) |
| 203 | if rgbFace is not None: |
| 204 | gfx_ctx.SetBrush(wx.Brush(gc.get_wxcolour(rgbFace))) |
| 205 | gfx_ctx.DrawPath(wxpath) |
| 206 | else: |
| 207 | gfx_ctx.StrokePath(wxpath) |
| 208 | gc.unselect() |
| 209 | |
| 210 | def draw_image(self, gc, x, y, im): |
| 211 | bbox = gc.get_clip_rectangle() |
nothing calls this directly
no test coverage detected