diff src/shape_image.c @ 473:ba64f928542b Android_Skia

Remove mbe_matrix_t type. The struct mbe_matrix_t is defined in a layout accoriding definition of Cairo. It is not feasible for all graphic engine. Now, we start supporting of other graphic engine; Skia, so use type of (co_aix[6]) defined and used by MadButterfly intead of mbe_matrix_t. And, bridges of graphic engines are responsible for translate matrics into the matrix type of the graphic enigne.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 12 Nov 2009 21:32:58 +0800
parents a417fd980228
children cbad519226d4
line wrap: on
line diff
--- a/src/shape_image.c	Thu Nov 12 21:32:52 2009 +0800
+++ b/src/shape_image.c	Thu Nov 12 21:32:58 2009 +0800
@@ -104,7 +104,6 @@
     co_aix img_matrix[6];
     co_aix x_factor, y_factor;
     int img_w, img_h;
-    mbe_matrix_t cmatrix;
     int i;
     
     poses = img->poses;
@@ -158,7 +157,6 @@
 void sh_image_draw(shape_t *shape, mbe_t *cr) {
     sh_image_t *img = (sh_image_t *)shape;
     mbe_pattern_t *saved_source;
-    mbe_matrix_t matrix, saved_matrix;
     co_aix *aggr;
     
     mbe_move_to(cr, img->poses[0][0], img->poses[0][1]);