| 54 | ox, oy = i |
| 55 | |
| 56 | class Mark(): |
| 57 | def __init__(self, line): |
| 58 | self.line = line |
| 59 | |
| 60 | def draw(self, dc, f, **key): |
| 61 | dc.SetPen(wx.Pen((255,0,0), width=2, style=wx.SOLID)) |
| 62 | dc.DrawLines([f(*i) for i in self.line]) |
| 63 | |
| 64 | class Plugin(Tool): |
| 65 | title = 'Graph Cut' |