def draw(self, dc, f, **key):
dc.SetPen(wx.Pen((255,0,0), width=2, style=wx.SOLID))
for line in self.foreline: dc.DrawLines([f(*i) for i in line])
dc.SetPen(wx.Pen((0,0,255), width=2, style=wx.SOLID))
for line in self.backline: dc.DrawLines([f(*i) for i in line])
评论列表
文章目录