Displaying 4 results from an estimated 4 matches for "draw_x".
Did you mean:
draw_y
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
...lor, &alpha);
@@ -53,9 +91,9 @@ swfdec_sprite_movie_beginFill (SwfdecAsC
alpha = SWFDEC_COLOR_COMBINE (0, 0, 0, 255);
}
color = color | alpha;
- movie->draw_fill = SWFDEC_DRAW (swfdec_pattern_new_color (color));
- swfdec_path_move_to (&movie->draw_fill->path, movie->draw_x, movie->draw_y);
- movie->draws = g_slist_append (movie->draws, movie->draw_fill);
+ draw = SWFDEC_DRAW (swfdec_pattern_new_color (color));
+ swfdec_path_move_to (&draw->path, movie->draw_x, movie->draw_y);
+ swfdec_sprite_movie_end_fill (movie, draw);
}
SWFDEC_AS_N...
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
...} else {
- alpha = SWFDEC_COLOR_COMBINE (0, 0, 0, 255);
+ if (argc <= 1) {
+ alpha = 255;
}
- color = color | alpha;
+ color = SWFDEC_COLOR_FROM_COLOR_ALPHA (color, alpha);
draw = SWFDEC_DRAW (swfdec_pattern_new_color (color));
swfdec_path_move_to (&draw->path, movie->draw_x, movie->draw_y);
swfdec_sprite_movie_end_fill (movie, draw);
}
+static inline guint
+swfdec_sprite_movie_gradient_fill_get_length (SwfdecAsObject *o)
+{
+ int length;
+ SwfdecAsValue val;
+
+ swfdec_as_object_get_variable (o, SWFDEC_AS_STR_length, &val);
+ length = swfdec_as_value_...
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
...lculate extents */
- SWFDEC_MOVIE_INVALID_CONTENTS, /* trigger an invalidation */
SWFDEC_MOVIE_INVALID_MATRIX /* matrix is invalid, recalculate */
} SwfdecMovieCacheState;
@@ -136,6 +135,10 @@ struct _SwfdecMovie {
SwfdecDraw * draw_line; /* current line style or NULL */
int draw_x; /* current x position for drawing */
int draw_y; /* current y position for drawing */
+
+ /* invalidatation state */
+ gboolean invalidate_last; /* TRUE if this movie's previous contents are already invalidated */
+ gboolean invalidate_next; /* TRUE if this movie should be inva...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...ec_movie_mouse_release;
+ movie_class->mouse_move = swfdec_movie_mouse_move;
}
void
diff --git a/libswfdec/swfdec_movie.h b/libswfdec/swfdec_movie.h
index 56c3038..678a0da 100644
--- a/libswfdec/swfdec_movie.h
+++ b/libswfdec/swfdec_movie.h
@@ -158,8 +158,6 @@ struct _SwfdecMovie {
int draw_x; /* current x position for drawing */
int draw_y; /* current y position for drawing */
- /* event handling */
- guint receive_events; /* "refcount", >0 to receive events */
/* leftover unimplemented variables from the Actionscript spec */
#if 0
int droptarg...