Displaying 3 results from an estimated 3 matches for "mmovie".
Did you mean:
movie
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
...nts->y0 = ((65535 - ratio) * graphic->extents.y0 + ratio * morph->end_extents.y0) / 65535;
extents->y1 = ((65535 - ratio) * graphic->extents.y1 + ratio * morph->end_extents.y1) / 65535;
+}
+
+static void
+swfdec_morph_movie_set_ratio (SwfdecMovie *movie)
+{
+ SwfdecMorphMovie *mmovie = SWFDEC_MORPH_MOVIE (movie);
- /* update the vectors */
- if (ratio != mmovie->ratio) {
- SwfdecShape *shape = SWFDEC_SHAPE (mmovie->morph);
- GSList *walk;
+ g_slist_foreach (mmovie->draws, (GFunc) g_object_unref, NULL);
+ g_slist_free (mmovie->draws);
+ mmovie->draws...
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
...g.h"
#include "swfdec_draw.h"
+#include "swfdec_player_internal.h"
#include "swfdec_stroke.h"
G_DEFINE_TYPE (SwfdecMorphMovie, swfdec_morph_movie, SWFDEC_TYPE_MOVIE)
@@ -47,10 +48,11 @@ swfdec_morph_movie_set_ratio (SwfdecMovie *movie)
{
SwfdecMorphMovie *mmovie = SWFDEC_MORPH_MOVIE (movie);
+ swfdec_movie_invalidate_next (movie);
g_slist_foreach (mmovie->draws, (GFunc) g_object_unref, NULL);
g_slist_free (mmovie->draws);
mmovie->draws = NULL;
- swfdec_movie_queue_update (movie, SWFDEC_MOVIE_INVALID_CONTENTS);
+ swfdec_movie_queue_up...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...--- a/libswfdec/swfdec_morph_movie.c
+++ b/libswfdec/swfdec_morph_movie.c
@@ -67,7 +67,7 @@ static void
swfdec_morph_movie_update_extents (SwfdecMovie *movie,
SwfdecRect *extents)
{
- guint ratio = movie->content->ratio;
+ guint ratio = movie->original_ratio;
SwfdecMorphMovie *mmovie = SWFDEC_MORPH_MOVIE (movie);
SwfdecMorphShape *morph = mmovie->morph;
SwfdecGraphic *graphic = SWFDEC_GRAPHIC (morph);
@@ -117,9 +117,9 @@ swfdec_morph_movie_render (SwfdecMovie *
if (fill) {
if (SWFDEC_IS_PATTERN (vec->pattern)) {
- swfdec_pattern_paint (vec->pattern,...