Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
511:caa087976b17 | 512:d186d1e24458 |
---|---|
111 extern mbe_font_face_t * mbe_query_font_face(const char *family, | 111 extern mbe_font_face_t * mbe_query_font_face(const char *family, |
112 int slant, int weight); | 112 int slant, int weight); |
113 extern void mbe_free_font_face(mbe_font_face_t *face); | 113 extern void mbe_free_font_face(mbe_font_face_t *face); |
114 | 114 |
115 extern void mbe_clear(mbe_t *canvas); | 115 extern void mbe_clear(mbe_t *canvas); |
116 extern void mbe_copy_source(mbe_t *canvas); | 116 extern void mbe_copy_source(mbe_t *src, mbe_t *dst); |
117 extern void mbe_transform(mbe_t *mbe, co_aix matrix[6]); | 117 extern void mbe_transform(mbe_t *mbe, co_aix matrix[6]); |
118 extern void mbe_arc(mbe_t *mbe, co_aix x, co_aix y, co_aix radius, | 118 extern void mbe_arc(mbe_t *mbe, co_aix x, co_aix y, co_aix radius, |
119 co_aix angle_start, co_aix angle_stop); | 119 co_aix angle_start, co_aix angle_stop); |
120 /* @} */ | 120 /* @} */ |
121 | 121 |