comparison src/shape_image.c @ 343:bb6e964da1c8

sh_image_get_img_data()
author Thinker K.F. Li <thinker@branda.to>
date Sun, 08 Mar 2009 11:39:09 +0800
parents 6a1b36738d3d
children b391722bf20e
comparison
equal deleted inserted replaced
342:5465ff071b47 343:bb6e964da1c8
208 rdman_paint_fill(img->rdman, paint, (shape_t *)img); 208 rdman_paint_fill(img->rdman, paint, (shape_t *)img);
209 209
210 return OK; 210 return OK;
211 } 211 }
212 212
213 mb_img_data_t *sh_image_get_img_data(shape_t *shape) {
214 sh_image_t *img = (sh_image_t *)shape;
215
216 ASSERT(shape->obj.obj_type == MBO_IMAGE);
217
218 return img->img_data;
219 }