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

Method draw

imagepy/tools/Network/graphcut_tol.py:60–62  ·  view source on GitHub ↗
(self, dc, f, **key)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

fFunction · 0.50

Tested by

no test coverage detected