comparison include/mb_types.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 bb4f651090bf
children fa2ccf39ba53
comparison
equal deleted inserted replaced
511:caa087976b17 512:d186d1e24458
375 #define sh_get_area(sh) geo_get_area(sh_get_geo(sh)) 375 #define sh_get_area(sh) geo_get_area(sh_get_geo(sh))
376 #define sh_get_coord(sh) ((sh)->coord) 376 #define sh_get_coord(sh) ((sh)->coord)
377 #define sh_get_aggr_matrix(sh) (coord_get_aggr_matrix(sh_get_coord(sh))) 377 #define sh_get_aggr_matrix(sh) (coord_get_aggr_matrix(sh_get_coord(sh)))
378 #define sh_get_fill(sh) ((sh)->fill) 378 #define sh_get_fill(sh) ((sh)->fill)
379 #define sh_get_stroke(sh) ((sh)->stroke) 379 #define sh_get_stroke(sh) ((sh)->stroke)
380 #define sh_set_stroke_width(sh, v) do { (sh)->stroke_width = (v); } while(0)
380 381
381 382
382 /*! \brief A sprite is a set of graphics that being an object in animation. 383 /*! \brief A sprite is a set of graphics that being an object in animation.
383 * 384 *
384 * A sprite include graphics comprise an object. For example, a tank, in 385 * A sprite include graphics comprise an object. For example, a tank, in