search for: end_width

Displaying 3 results from an estimated 3 matches for "end_width".

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
...KE_PATTERN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWFDEC_TYPE_STROKE_PATTERN, SwfdecStrokePatternClass)) - -struct _SwfdecStrokePattern -{ - SwfdecPattern pattern; - - guint start_width; /* width of line */ - SwfdecColor start_color; /* color to paint with */ - guint end_width; /* width of line */ - SwfdecColor end_color; /* color to paint with */ -}; - -struct _SwfdecStrokePatternClass -{ - SwfdecPatternClass pattern_class; -}; - -G_DEFINE_TYPE (SwfdecStrokePattern, swfdec_stroke_pattern, SWFDEC_TYPE_PATTERN); - -static void -swfdec_pattern_append_path_snapped (cai...
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
...Mon Apr 16 10:39:14 2007 +0200 fix some debug messages diff --git a/libswfdec/swfdec_stroke.c b/libswfdec/swfdec_stroke.c index 893380d..bec454b 100644 --- a/libswfdec/swfdec_stroke.c +++ b/libswfdec/swfdec_stroke.c @@ -152,7 +152,7 @@ swfdec_stroke_parse (SwfdecSwfDecoder *d stroke->end_width = stroke->start_width; stroke->start_color = swfdec_bits_get_color (bits); stroke->end_color = stroke->start_color; - SWFDEC_LOG ("new stroke stroke: width %u color %08x", stroke->start_width, stroke->start_color); + SWFDEC_LOG ("new stroke: width %u color %...
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
...SwfdecStroke * -swfdec_stroke_parse (SwfdecSwfDecoder *dec, gboolean rgba) +swfdec_stroke_parse (SwfdecSwfDecoder *dec) { SwfdecBits *bits = &dec->b; SwfdecStroke *stroke = g_object_new (SWFDEC_TYPE_STROKE, NULL); stroke->start_width = swfdec_bits_get_u16 (bits); stroke->end_width = stroke->start_width; - if (rgba) { - stroke->start_color = swfdec_bits_get_rgba (bits); - } else { - stroke->start_color = swfdec_bits_get_color (bits); - } + stroke->start_color = swfdec_bits_get_color (bits); + stroke->end_color = stroke->start_color; + SWFDEC_LOG...