Displaying 3 results from an estimated 3 matches for "draw_fill".
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
...e->miter_limit;
+ dstroke->no_vscale = sstroke->no_vscale;
+ dstroke->no_hscale = sstroke->no_hscale;
+
+ return SWFDEC_DRAW (dstroke);
+}
+
+static void
+swfdec_sprite_movie_end_fill (SwfdecMovie *movie, SwfdecDraw *new)
+{
+ /* FIXME: need to cairo_close_path()? */
+ movie->draw_fill = new;
+ if (new == NULL)
+ return;
+
+ movie->draws = g_slist_append (movie->draws, new);
+
+ /* need to begin a new line segment to ensure proper stacking order */
+ if (movie->draw_line) {
+ movie->draw_line = swfdec_stroke_copy (movie->draw_line);
+ movie->draws =...
2007 Nov 12
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_decoder.c libswfdec/swfdec_decoder.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_image.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_image_decoder.h
.../* FIXME: could it be that shape drawing (SwfdecGraphicMovie etc) uses these same objects? */
+ SwfdecImage * image; /* image loaded via loadMovie */
SwfdecRect draw_extents; /* extents of the items in the following list */
GSList * draws; /* all the items to draw */
SwfdecDraw * draw_fill; /* current fill style or NULL */
commit 3cc0c51d81610bcbf081bc9e68b0319d91b7da07
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Nov 12 14:08:49 2007 +0100
create an ImageDecoder for images
diff --git a/libswfdec/swfdec_decoder.c b/libswfdec/swfdec_decoder.c
index 96648e3....
2007 Dec 03
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_gradient_pattern.c libswfdec/swfdec_gradient_pattern.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_pattern.c
...;
+ SwfdecMovie *movie;
+ SwfdecDraw *draw;
+ SwfdecAsObject *colors, *alphas, *ratios, *matrix;
+ const char *s;
+ gboolean radial;
+ int i, len;
+
+ SWFDEC_AS_CHECK (SWFDEC_TYPE_MOVIE, &movie, "|sOOOO", &s, &colors, &alphas, &ratios, &matrix);
+ movie->draw_fill = NULL;
+
+ if (colors == NULL || alphas == NULL || ratios == NULL || matrix == NULL) {
+ SWFDEC_ERROR ("could not convert one of the parameters to an object");
+ return;
+ }
+ if (s == SWFDEC_AS_STR_linear) {
+ radial = FALSE;
+ } else if (s == SWFDEC_AS_STR_radial) {
+...