Mercurial > MadButterfly
comparison include/mb_shapes.h @ 338:6a1b36738d3d
sh_image_set_img_data() is a function to change content of a sh_image_t.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 08 Mar 2009 00:15:21 +0800 |
parents | a171b94582ae |
children | bb6e964da1c8 |
comparison
equal
deleted
inserted
replaced
337:55e0b22b919e | 338:6a1b36738d3d |
---|---|
240 co_aix w, co_aix h); | 240 co_aix w, co_aix h); |
241 extern void sh_image_transform(shape_t *shape); | 241 extern void sh_image_transform(shape_t *shape); |
242 extern void sh_image_draw(shape_t *shape, cairo_t *cr); | 242 extern void sh_image_draw(shape_t *shape, cairo_t *cr); |
243 extern void sh_image_set_geometry(shape_t *shape, co_aix x, co_aix y, | 243 extern void sh_image_set_geometry(shape_t *shape, co_aix x, co_aix y, |
244 co_aix w, co_aix h); | 244 co_aix w, co_aix h); |
245 extern int sh_image_set_img_data(shape_t *shape, mb_img_data_t *img_data, | |
246 co_aix x, co_aix y, co_aix w, co_aix h); | |
245 /* @} */ | 247 /* @} */ |
246 /* @} */ | 248 /* @} */ |
247 | 249 |
248 #endif /* __SHAPES_H_ */ | 250 #endif /* __SHAPES_H_ */ |