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

Class Mark

imagepy/tools/Network/graphpen_tol.py:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 img[y,x] = 128
62
63class Mark():
64 def __init__(self, line):
65 self.line = line
66
67 def draw(self, dc, f, **key):
68 dc.SetPen(wx.Pen((255,0,0), width=2, style=wx.SOLID))
69 dc.DrawLines([f(*i) for i in self.line])
70
71class Plugin(Tool):
72 title = 'Graph Cut'

Callers 1

mouse_downMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected