Lines Matching refs:poly
894 def addcomponent(self, poly, fill, outline=None):
897 Arguments: poly is a polygon, i. e. a tuple of number pairs.
905 >>> poly = ((0,0),(10,-5),(0,10),(-10,-5))
907 >>> s.addcomponent(poly, "red", "blue")
915 self._data.append([poly, fill, outline])
2969 def _polytrafo(self, poly):
2979 for (x, y) in poly]
3032 for item, (poly, fc, oc) in zip(titem, tshape):
3033 poly = self._polytrafo(self._getshapepoly(poly, True))
3034 screen._drawpoly(item, poly, fill=self._cc(fc),
3088 for item, (poly, fc, oc) in zip(stitem, tshape):
3089 poly = self._polytrafo(self._getshapepoly(poly, True))
3090 screen._drawpoly(item, poly, fill=self._cc(fc),
3492 ## check if there is any poly?