search for: swfshape_drawlineto

Displaying 7 results from an estimated 7 matches for "swfshape_drawlineto".

2007 Nov 20
0
7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/image
...hange && ./clip-change + */ + +#include <ming.h> + +static SWFBlock +get_rectangle (int r, int g, int b) +{ + SWFShape shape; + SWFFillStyle fill; + + shape = newSWFShape (); + fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFBlock) shape; +} + +static void +do_movie (int version, int reverse) +{ + const char *suffixes[4] = { "forward", "backward",...
2007 Jun 20
0
Branch 'as' - 5 commits - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/image
..., +}; + +static SWFDisplayItem +add_rectangle (SWFMovie movie, Type type, int r, int g, int b) +{ + SWFShape shape; + SWFFillStyle fill; + SWFDisplayItem item; + + shape = newSWFShape (); + fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 50, 0); + SWFShape_drawLineTo (shape, 50, 50); + SWFShape_drawLineTo (shape, 0, 50); + SWFShape_drawLineTo (shape, 0, 0); + + switch (type) { + case SHAPE: + item = SWFMovie_add (movie, (SWFBlock) shape); + break; + case MOVIE: + { + SWFMovieClip clip; + clip = newS...
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...include <ming.h> +#include <glib.h> + +static void +add_rectangle (SWFMovieClip clip, int r, int g, int b) +{ + SWFShape shape; + SWFFillStyle fill; + + shape = newSWFShape (); + fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 50, 0); + SWFShape_drawLineTo (shape, 50, 50); + SWFShape_drawLineTo (shape, 0, 50); + SWFShape_drawLineTo (shape, 0, 0); + + SWFMovieClip_add (clip, (SWFBlock) shape); +} + +static void +modify_placement (SWFMovie movie, guint mod) +{ + SWFDisplayItem item; + SWFBlock clip, clip2; +...
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
...n (button, newSWFAction (script), (1 << i)); + } +} + +static SWFCharacter +get_rectangle (int r, int g, int b) +{ + SWFShape shape; + SWFFillStyle fill; + + shape = newSWFShape (); + fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFCharacter) shape; +} + +static void +do_movie (int version) +{ + char name[100]; + SWFMovie movie; + SWFDisplayItem item; + SWFButton button,...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...item, newSWFAction (script), 1 << (10 + i)); + } +} + +static SWFCharacter +get_rectangle (int r, int g, int b) +{ + SWFShape shape; + SWFFillStyle fill; + + shape = newSWFShape (); + fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFCharacter) shape; +} + +static void +do_movie (int version, int menu) +{ + char name[100]; + SWFMovie movie; + SWFDisplayItem item; + SWFButto...
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
...; (flag))) + +static SWFBlock +get_rectangle (int r, int g, int b) +{ + SWFMovieClip clip; + SWFShape shape; + SWFFillStyle fill; + + clip = newSWFMovieClip (); + shape = newSWFShape (); + fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + SWFMovieClip_add (clip, (SWFBlock) shape); + SWFMovieClip_nextFrame (clip); + return (SWFBlock) clip; +} + +static void +do_movie (int version, unsigned in...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...n (button, newSWFAction (script), (1 << i)); + } +} + +static SWFCharacter +get_rectangle (int r, int g, int b) +{ + SWFShape shape; + SWFFillStyle fill; + + shape = newSWFShape (); + fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFCharacter) shape; +} + +static void +do_movie (int version) +{ + char name[100]; + SWFMovie movie; + SWFDisplayItem item; + SWFButton button,...