diff options
Diffstat (limited to 'ep_page_ancestors.py')
-rw-r--r-- | ep_page_ancestors.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ep_page_ancestors.py b/ep_page_ancestors.py index 8935bf4..c4c28c2 100644 --- a/ep_page_ancestors.py +++ b/ep_page_ancestors.py @@ -137,18 +137,23 @@ class AncestorsController(object): self._paint_connector(ctx, mx, my, x1, y1, my_parents[1]) ctx.save() + ka_debug.matrix_s(ctx.get_matrix()) ctx.scale(1.0/_SCALE, 1.0/_SCALE) + ka_debug.matrix(ctx.get_matrix()) self._paint_next(ctx, _SCALE*x0, _SCALE*y0, my_parents[0]) self._paint_next(ctx, _SCALE*x1, _SCALE*y1, my_parents[1]) + ka_debug.matrix_r(ctx.get_matrix()) ctx.restore() if surface is not None: # ka_debug.info('(xpos, ypos): %d, %d' % (xpos, ypos)) ctx.save() + ka_debug.matrix_s(ctx.get_matrix()) ctx.set_operator(cairo.OPERATOR_SOURCE) ctx.rectangle(xpos-width/2, ypos, width, height) ctx.clip() ctx.set_source_surface(surface, xpos-width/2, ypos) ctx.paint() # ctx.reset_clip() #TODO Required argument 'cr' not found + ka_debug.matrix_r(ctx.get_matrix()) ctx.restore() |