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)
def draw_polygon(self, points, fill=None): assert self.dc draw = self.dc[1] draw.polygon(points, fill=fill)