MCPcopy Create free account
hub / github.com/Image-Py/imagepy / Mark

Class Mark

imagepy/tools/Network/graphcut_tol.py:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 ox, oy = i
55
56class 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
64class Plugin(Tool):
65 title = 'Graph Cut'

Callers 1

mouse_downMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected