Exemplo n.º 1
0
Arquivo: wx2.py Projeto: bgnori/bglib
 def draw_polygon(self, points, fill=None):
   points = [self.calc_mag(pt) for pt in points]
   draw = self.dc[1]
   draw.polygon(points, fill=fill)
Exemplo n.º 2
0
Arquivo: PIL.py Projeto: bgnori/bglib
 def draw_polygon(self, points, fill=None):
     assert self.dc
     draw = self.dc[1]
     draw.polygon(points, fill=fill)