(self, dc, f, **key)
| 62 | IPy.set_info('Line : points:%.0f x:%.1f y:%.1f'%(len(cur[0]), x*k, y*k)) |
| 63 | |
| 64 | def draw(self, dc, f, **key): |
| 65 | dc.SetPen(wx.Pen(RoiManager.get_color(), width=RoiManager.get_lw(), style=wx.SOLID)) |
| 66 | for line in self.body: |
| 67 | if len(line)>1: |
| 68 | dc.DrawLines([f(*i) for i in line]) |
| 69 | for i in line:dc.DrawCircle(f(*i),2) |
| 70 | |
| 71 | def sketch(self, img, w=1, color=None): |
| 72 | pen = paint.Paint() |