Displaying 3 results from an estimated 3 matches for "shapevec".
Did you mean:
apevec
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
...ecPattern * pattern,
diff --git a/libswfdec/swfdec_shape.c b/libswfdec/swfdec_shape.c
index 3d513cc..eb7161a 100644
--- a/libswfdec/swfdec_shape.c
+++ b/libswfdec/swfdec_shape.c
@@ -313,8 +313,6 @@ swfdec_shape_init (SwfdecShape * shape)
shape->vecs = g_array_new (FALSE, TRUE, sizeof (SwfdecShapeVec));
}
-typedef SwfdecPattern * (* SwfdecPatternFunc) (SwfdecSwfDecoder * s);
-typedef SwfdecStroke * (* SwfdecStrokeFunc) (SwfdecSwfDecoder * s);
static void
swfdec_shape_add_styles (SwfdecSwfDecoder * s, SwfdecShape * shape,
SwfdecPatternFunc parse_fill, SwfdecStrokeFunc parse_stroke)
@@...
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
...njamin Otte <otte@gnome.org>
Date: Mon Apr 16 10:36:55 2007 +0200
end print with a \n
diff --git a/test/dump.c b/test/dump.c
index 96f9328..01e6289 100644
--- a/test/dump.c
+++ b/test/dump.c
@@ -201,7 +201,7 @@ dump_shape (SwfdecShape *shape)
}
} else if (SWFDEC_IS_STROKE (shapevec->pattern)) {
SwfdecStroke *line = SWFDEC_STROKE (shapevec->pattern);
- g_print ("line (width %u, color #%08X)", line->start_width, line->start_color);
+ g_print ("line (width %u, color #%08X)\n", line->start_width, line->start_color);
} el...
2007 Jul 01
1
implementing MovieClip drawing API
Hi,
I would like to implement MovieClip.{moveTo,lineTo,lineStyle}. I
initially thought I could place an SwfdecShape inside an
SwfdecSpriteMovie created by createEmptyMovieClip then call
swfdec_shape_ counterparts when MovieClip.{moveTo,lineTo,lineStyle}
were called. It wasn't as easy as I had thought. All the functions are
highly tied to swf bitstream, even adding an SwfdecShapeMovie to