示例#1
0
 def arc(self, gc, x, y, width, height, angle1, angle2, onerror=None):
     request.PolyArc(display=self.display,
                     onerror=onerror,
                     drawable=self.id,
                     gc=gc,
                     arcs=[(x, y, width, height, angle1, angle2)])
示例#2
0
 def poly_arc(self, gc, arcs, onerror=None):
     request.PolyArc(display=self.display,
                     onerror=onerror,
                     drawable=self.id,
                     gc=gc,
                     arcs=arcs)