Example #1
0
File: wx2.py Project: 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)
Example #2
0
File: PIL.py Project: bgnori/bglib
 def draw_polygon(self, points, fill=None):
     assert self.dc
     draw = self.dc[1]
     draw.polygon(points, fill=fill)