Displaying 2 results from an estimated 2 matches for "swfdec_stroke_parse_extend".
Did you mean:
swfdec_stroke_parse_extended
2007 Apr 16
0
7 commits - libswfdec/swfdec_codec_gst.c libswfdec/swfdec_font.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_shape.c libswfdec/swfdec_shape.h libswfdec/swfdec_sprite.c
...cale_strokes = swfdec_bits_getbit (bits);
+ has_noscale_strokes = swfdec_bits_getbit (bits);
+ SWFDEC_LOG (" has scaling strokes: %d", has_scale_strokes);
+ SWFDEC_LOG (" has non-scaling strokes: %d", has_noscale_strokes);
- swfdec_shape_add_styles (s, shape, parse_rgba, swfdec_stroke_parse_extended);
+ swfdec_shape_add_styles (s, shape, swfdec_pattern_parse_rgba, swfdec_stroke_parse_extended);
- swfdec_shape_get_recs (s, shape);
+ swfdec_shape_get_recs (s, shape, swfdec_pattern_parse_rgba, swfdec_stroke_parse_extended);
return SWFDEC_STATUS_OK;
}
-#endif
/* The shape creation...
2007 Apr 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_font.c libswfdec/swfdec_loadertarget.c libswfdec/swfdec_movie.h libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_player.c
...+swfdec_stroke_do_parse_extended (SwfdecBits *bits, gboolean morph,
+ SwfdecPattern *fill_styles, guint n_fill_styles)
+{
+ SwfdecStroke *stroke = g_object_new (SWFDEC_TYPE_STROKE, NULL);
+
+ SWFDEC_ERROR ("FIXME: implement");
+ return SWFDEC_PATTERN (stroke);
+}
+
+SwfdecPattern *
+swfdec_stroke_parse_extended (SwfdecSwfDecoder *dec, SwfdecPattern *fill_styles,
+ guint n_fill_styles)
+{
+ g_return_val_if_fail (SWFDEC_IS_SWF_DECODER (dec), NULL);
+ g_return_val_if_fail (n_fill_styles == 0 || fill_styles != NULL, NULL);
+
+ return swfdec_stroke_do_parse_extended (&dec->b, FALSE, fill_styles,...