Пример #1
0
 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)
Пример #2
0
 def draw_polygon(self, points, fill=None):
     assert self.dc
     draw = self.dc[1]
     draw.polygon(points, fill=fill)