(self, canvas, options)
| 873 | self.img = pixmap.image |
| 874 | |
| 875 | def _draw(self, canvas, options): |
| 876 | p = self.anchor |
| 877 | x,y = canvas.toScreen(p.x,p.y) |
| 878 | self.imageCache[self.imageId] = self.img # save a reference |
| 879 | return canvas.create_image(x,y,image=self.img) |
| 880 | |
| 881 | def _move(self, dx, dy): |
| 882 | self.anchor.move(dx,dy) |