OSDN Git Service

Once more, Allow building with either giflib 4.2 or 5.0.
[swfed/swfed.git] / src / swf_morph_shape_with_style.h
1 /*
2   +----------------------------------------------------------------------+
3   | Author: yoya@awm.jp                                                  |
4   +----------------------------------------------------------------------+
5 */
6
7 #ifndef __SWF_MORPH_SHAPE_WITH_STYLE_H__
8 #define __SWF_MORPH_SHAPE_WITH_STYLE_H__
9
10 #include "swf_styles.h"
11 #include "swf_shape_record.h"
12 #include "swf_styles_count.h"
13
14 typedef struct swf_morph_shape_with_style_ {
15     swf_styles_t       styles;
16     swf_shape_record_t shape_records;
17     // char align;
18     swf_styles_count_t styles_count;
19     swf_shape_record_t shape_records_morph;
20
21     // for offset_morph calculation
22     long offset_of_end_edges;
23 } swf_morph_shape_with_style_t;
24
25 extern int swf_morph_shape_with_style_parse(bitstream_t *bs,
26                                             swf_morph_shape_with_style_t *morph_shape_with_style,
27                                             swf_tag_t *tag);
28 extern int swf_morph_shape_with_style_build(bitstream_t *bs,
29                                             swf_morph_shape_with_style_t *morph_shape_with_style,
30                                             swf_tag_t *tag);
31 extern int swf_morph_shape_with_style_print(swf_morph_shape_with_style_t *morph_shape_with_style,
32                                             int indent_depth,
33                                             swf_tag_t *tag);
34 extern int swf_morph_shape_with_style_delete(swf_morph_shape_with_style_t *morph_shape_with_style);
35
36 #endif /* __SWF_MORPH_SHAPE_WITH_STYLE_H__ */