[lasem] render: clear path after rendering



commit 52b70f6612a9c08c6cec140f79e483004073d309
Author: Jean Bréfort <jean brefort normalesup org>
Date:   Tue Apr 15 11:40:28 2014 +0200

    render: clear path after rendering

 src/lsmdomview.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmdomview.c b/src/lsmdomview.c
index c85708e..ed0d03f 100644
--- a/src/lsmdomview.c
+++ b/src/lsmdomview.c
@@ -291,6 +291,7 @@ lsm_dom_view_render (LsmDomView *view, cairo_t *cairo, double x, double y)
                view_class->render (view);
 
        cairo_restore (view->cairo);
+       cairo_new_path (cairo);
 
        lsm_debug_render ("[LsmDomView::render] cairo status = %s",
                          cairo_status_to_string (cairo_status (view->cairo)));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]