Mercurial > MadButterfly
diff include/mb_graph_engine_cairo.h @ 481:273307d061b7 Android_Skia
imported patch typo_cairo.diff
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 15 Nov 2009 16:21:09 +0800 |
parents | e813ac222f48 |
children | d186d1e24458 |
line wrap: on
line diff
--- a/include/mb_graph_engine_cairo.h Sun Nov 15 16:21:09 2009 +0800 +++ b/include/mb_graph_engine_cairo.h Sun Nov 15 16:21:09 2009 +0800 @@ -101,7 +101,7 @@ cairo_operator_t old_op; old_op = cairo_get_operator(canvas); - cairo_set_operator(canvas, MBE_OPERATOR_CLEAR); + cairo_set_operator(canvas, CAIRO_OPERATOR_CLEAR); cairo_paint(canvas); cairo_set_operator(canvas, old_op); } @@ -110,7 +110,7 @@ cairo_operator_t saved_op; saved_op = cairo_get_operator(canvas); - cairo_set_operator(canvas, MBE_OPERATOR_SOURCE); + cairo_set_operator(canvas, CAIRO_OPERATOR_SOURCE); cairo_paint(canvas); cairo_set_operator(canvas, saved_op); }