Displaying 1 result from an estimated 1 matches for "sstroke".
Did you mean:
stroke
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
...drawing.c
+++ b/libswfdec/swfdec_movie_as_drawing.c
@@ -32,12 +32,50 @@
/* FIXME: This whole code assumes it works for 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);
+ dst...