search for: swfdecgraphicmovie

Displaying 8 results from an estimated 8 matches for "swfdecgraphicmovie".

Did you mean: swfdec_graphic_movie
2010 Jan 17
1
screenshot of swf file
Hi, Im trying to thumbnail a swf file based on this found at http://www.mail-archive.com/swfdec at lists.freedesktop.org/msg00821.html. #include <stdlib.h> #include <stdio.h> #include <swfdec/swfdec.h> #include <cairo.h> void swfdec_player_save (SwfdecPlayer *player, guint width, guint height, const char *filename) { cairo_surface_t *surface; cairo_t *cr;
2007 Jun 20
1
Branch 'as' - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c
..." +#include "swfdec_edittext.h" +#include "swfdec_movie.h" +#include "swfdec_shape.h" +#include "swfdec_sprite.h" +#include "swfdec_swf_decoder.h" +#include "swfdec_swf_instance.h" +#include "swfdec_text.h" G_DEFINE_TYPE (SwfdecGraphicMovie, swfdec_graphic_movie, SWFDEC_TYPE_MOVIE) @@ -51,6 +60,31 @@ swfdec_graphic_movie_mouse_in (SwfdecMov } static void +swfdec_graphic_movie_replace (SwfdecMovie *movie, SwfdecGraphic *graphic) +{ + SwfdecGraphicMovie *gmovie = SWFDEC_GRAPHIC_MOVIE (movie); + + if (SWFDEC_IS_SHAPE (graphic) ||...
2007 Jun 23
1
Patches to make blocky.swf playable
...ng else statement Create swfdec_movie_duplicate Implement action CloneSprite with swfdec_movie_duplicate Add action RemoveSprite Add new variables to the target Remove movies with the same name when adding new movie We don't handle replacing movies other than SwfdecGraphicMovie yet libswfdec/swfdec_as_context.c | 6 +++ libswfdec/swfdec_as_interpret.c | 61 ++++++++++++++++++++++++++++++++++- libswfdec/swfdec_movie.c | 48 ++++++++++++++++++++++++++++ libswfdec/swfdec_movie.h | 4 ++- libswfdec/swfdec_sprite_movie.c | 3 +- li...
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
...s); movie->draws = NULL; diff --git a/libswfdec/swfdec_movie.h b/libswfdec/swfdec_movie.h index 17a2f3b..380a32a 100644 --- a/libswfdec/swfdec_movie.h +++ b/libswfdec/swfdec_movie.h @@ -134,6 +134,7 @@ struct _SwfdecMovie { /* drawing state */ /* 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 3c...
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...#include "swfdec_player_internal.h" #include "swfdec_shape.h" #include "swfdec_sprite.h" #include "swfdec_swf_decoder.h" #include "swfdec_resource.h" #include "swfdec_text.h" +#include "swfdec_text_field.h" G_DEFINE_TYPE (SwfdecGraphicMovie, swfdec_graphic_movie, SWFDEC_TYPE_MOVIE) @@ -49,6 +50,15 @@ swfdec_graphic_movie_render (SwfdecMovie *movie, cairo_t *cr, swfdec_graphic_render (movie->graphic, cr, trans, inval); } +static void +swfdec_graphic_movie_invalidate (SwfdecMovie *movie, const cairo_matrix_t *matrix, gboolean...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...swfdec_graphic.c +++ b/libswfdec/swfdec_graphic.c @@ -30,12 +30,13 @@ G_DEFINE_ABSTRACT_TYPE (SwfdecGraphic, swfdec_graphic, SWFDEC_TYPE_CHARACTER) static SwfdecMovie * -swfdec_graphic_create_movie (SwfdecGraphic *graphic) +swfdec_graphic_create_movie (SwfdecGraphic *graphic, gsize *size) { SwfdecGraphicMovie *movie = g_object_new (SWFDEC_TYPE_GRAPHIC_MOVIE, NULL); movie->graphic = graphic; g_object_ref (graphic); + *size = sizeof (SwfdecGraphicMovie); return SWFDEC_MOVIE (movie); } diff --git a/libswfdec/swfdec_graphic.h b/libswfdec/swfdec_graphic.h index 1fded88..daa1066 100644 --- a...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...ec/swfdec_graphic_movie.c @@ -29,7 +29,7 @@ #include "swfdec_shape.h" #include "swfdec_sprite.h" #include "swfdec_swf_decoder.h" -#include "swfdec_swf_instance.h" +#include "swfdec_resource.h" #include "swfdec_text.h" G_DEFINE_TYPE (SwfdecGraphicMovie, swfdec_graphic_movie, SWFDEC_TYPE_MOVIE) diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c index f7cef8b..8a3607d 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -39,7 +39,7 @@ #include "swfdec_player_internal.h" #include "swfdec_sprite.h&quo...
2007 Nov 20
0
19 commits - libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_image.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...; /* it's known that this movie will not survive the next iteration */ /* drawing state */ + SwfdecMovie * mask_of; /* movie this movie is a mask of or NULL if none */ + SwfdecMovie * masked_by; /* movie we are masked by or NULL if none */ /* 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 */ commit 9185389f5eb01a2808c56c59f21e0a280907fb8a Author: Benjamin Otte <otte at gnome.org> Date: Mon Nov 19 21:16:13 200...