diff include/mb_graph_engine_skia.h @ 512:d186d1e24458 Android_Skia

Change prototype of mbe_copy_source(). - To make mbe_copy_source more portable, user of mbe_copy_source() should specify source and destinate canvas for copying. - Export a new function for Skia graphic engine, for Android JNI.
author Thinker K.F. Li <thinker@branda.to>
date Tue, 01 Dec 2009 22:55:27 +0800
parents d38aca825822
children b42d69ab8857 586e50f82c1f
line wrap: on
line diff
--- a/include/mb_graph_engine_skia.h	Tue Dec 01 22:55:27 2009 +0800
+++ b/include/mb_graph_engine_skia.h	Tue Dec 01 22:55:27 2009 +0800
@@ -113,7 +113,7 @@
 extern void mbe_free_font_face(mbe_font_face_t *face);
 
 extern void mbe_clear(mbe_t *canvas);
-extern void mbe_copy_source(mbe_t *canvas);
+extern void mbe_copy_source(mbe_t *src, mbe_t *dst);
 extern void mbe_transform(mbe_t *mbe, co_aix matrix[6]);
 extern void mbe_arc(mbe_t *mbe, co_aix x, co_aix y, co_aix radius,
 		    co_aix angle_start, co_aix angle_stop);