(self, img, xs, ys, w=None, color=None)
| 56 | self.curpt = x, y |
| 57 | |
| 58 | def draw_path(self, img, xs, ys, w=None, color=None): |
| 59 | self.set_curpt(xs[0], ys[0]) |
| 60 | ## TODO:Fixme! |
| 61 | #for x,y in zip(xs,ys)[1:]: |
| 62 | for x,y in list(zip(xs,ys))[1:]: |
| 63 | self.lineto(img,x,y,w,color) |
| 64 | |
| 65 | def fill_polygon(self, pg, img, holes=[], color=None): |
| 66 | if color == None:color = ColorManager.get_front() |