1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
replaced a call of rest_clip() by reset_clip(), as the previous made
no sense [source of python3-cairo don't define Context.rest_clip()
but they do define Context.reset_clip()]
Index: python-rlpycairo/rlPyCairo/gstate.py
===================================================================
--- python-rlpycairo.orig/rlPyCairo/gstate.py
+++ python-rlpycairo/rlPyCairo/gstate.py
@@ -192,7 +192,7 @@ class GState(object):
self.ctx.new_path()
def clipPathClear(self):
- self.ctx.rest_clip()
+ self.ctx.reset_clip()
def clipPathSet(self):
ctx = self.ctx
|