예제 #1
0
파일: wx2.py 프로젝트: 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)
예제 #2
0
파일: PIL.py 프로젝트: bgnori/bglib
 def draw_polygon(self, points, fill=None):
     assert self.dc
     draw = self.dc[1]
     draw.polygon(points, fill=fill)