search for: start_width

Displaying 5 results from an estimated 5 matches for "start_width".

Did you mean: stage_width
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
...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 %08x", stroke->sta...
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
...HECK_CLASS_CAST ((klass), SWFDEC_TYPE_STROKE_PATTERN, SwfdecStrokePatternClass)) -#define SWFDEC_STROKE_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, s...
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
...(%u colors)", gradient->radial ? "radial" : "linear", gradient->gradient->n_gradients); - } else if (SWFDEC_IS_STROKE (pattern)) { - SwfdecStroke *line = SWFDEC_STROKE (pattern); - return g_strdup_printf ("line (width %u, color #%08X)", line->start_width, line->start_color); } else { return g_strdup_printf ("%s", G_OBJECT_TYPE_NAME (pattern)); } diff --git a/libswfdec/swfdec_pattern.h b/libswfdec/swfdec_pattern.h index 6a0d2c7..cc63645 100644 --- a/libswfdec/swfdec_pattern.h +++ b/libswfdec/swfdec_pattern.h @@ -58,8 +58,8 @@...
2007 Oct 11
0
10 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/swfdec_buffer.c libswfdec/swfdec_movie_as_drawing.c test/image test/sound
...or MovieClip, Button and TextField * objects. If it only works for MovieClip objects, fix this. */ +static SwfdecDraw * +swfdec_stroke_copy (SwfdecDraw *draw) +{ + SwfdecStroke *sstroke = SWFDEC_STROKE (draw); + SwfdecStroke *dstroke = g_object_new (SWFDEC_TYPE_STROKE, NULL); + + dstroke->start_width = sstroke->start_width; + dstroke->start_color = sstroke->start_color; + if (sstroke->pattern) + dstroke->pattern = g_object_ref (sstroke->pattern); + dstroke->start_cap = sstroke->start_cap; + dstroke->end_cap = sstroke->end_cap; + dstroke->join = sstroke-&...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...>start_transform.yx, pattern->start_transform.yy, - pattern->start_transform.x0, pattern->start_transform.y0); - } - } else if (SWFDEC_IS_STROKE (walk->data)) { - SwfdecStroke *line = walk->data; - g_print ("line (width %u, color #%08X)\n", line->start_width, line->start_color); - } else { - g_print ("not filled\n"); - } - if (verbose) { - dump_path (&SWFDEC_DRAW (walk->data)->path); - } - } -} - -static void -dump_text_field (SwfdecTextField *text) -{ - g_print (" %s\n", text->input ? text-&...