Mercurial > MadButterfly
view tools/mb_c_header.m4 @ 260:29acbd8a0dd0
Integrate sh_image with svg2code.py.
diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png
Binary file examples/svg2code_ex/dsc_3241.png has changed
diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png
Binary file examples/svg2code_ex/dsc_3241.png has changed
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 23 Jan 2009 23:00:23 +0800 |
parents | 50d253d0fcba |
children | c8b6ca46950b |
line wrap: on
line source
changequote(`[', `]')dnl divert([-1]) define([ADD_LINEAR_PAINT],[[ paint_t *$1; ]]) define([ADD_RADIAL_PAINT],[[ paint_t *$1; ]]) define([ADD_PATH],[ [ shape_t *$1; ]]) define([ADD_RECT],[ [ shape_t *$1; ]]) define([ADD_COORD],[ [ coord_t *$1; ]]) define([ADD_TEXT],[ [ shape_t *$1; ]]) define([ADD_IMAGE],[[ mb_img_data_t *$1_img_data; shape_t *$1; ]]) define([COLOR_STOP],[ ]) define([REF_STOPS_RADIAL],) define([REF_STOPS_LINEAR],) define([FILL_SHAPE],[[ paint_t *$1_fill; ]]) define([STROKE_SHAPE],[[ paint_t *$1_stroke; ]]) define([FILL_SHAPE_WITH_PAINT],) define([STROKE_SHAPE_WITH_PAINT],) define([STROKE_WIDTH],) define([GROUP_HIDE],) define([PATH_HIDE],) define([RECT_HIDE],) define([COORD_TRANSLATE],) define([COORD_MATRIX],) define([SHAPE_TRANSLATE],) define([SHAPE_MATRIX],) define([ADD_SYMBOL],) define([SCENE]) define([MADBUTTERFLY],[dnl [#ifndef __$1_H_ #define __$1_H_ typedef struct $1 $1_t; struct $1 { mb_sprite_lsym_t lsym; redraw_man_t *rdman; const int *last_scene; coord_t *root_coord;] $2[]dnl [}; extern $1_t *$1_new(redraw_man_t *rdman, coord_t *parent_coord); extern void $1_free($1_t *obj); #endif /* __$1_H_ */] ]) divert[]dnl