search for: get_rectangle

Displaying 5 results from an estimated 5 matches for "get_rectangle".

2007 Nov 20
0
7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/image
...e/clip-change.c b/test/image/clip-change.c new file mode 100644 index 0000000..9e7da16 --- /dev/null +++ b/test/image/clip-change.c @@ -0,0 +1,75 @@ +/* gcc `pkg-config --libs --cflags libming` clip-change.c -o clip-change && ./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_drawL...
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
...ipt[100]; + unsigned int i; + + for (i = 0; i < sizeof (events) / sizeof (events[0]); i++) { + sprintf (script, "trace (\"place %s: \" + this);", events[i]); + SWFDisplayItem_addAction (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_drawL...
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
...nsigned int i; + + for (i = 0; i < sizeof (button_events) / sizeof (button_events[0]); i++) { + sprintf (script, "trace (\"button %s: \" + this);", button_events[i]); + SWFButton_addAction (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_drawL...
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
...mask-and-clip.c -o mask-and-clip && ./mask-and-clip + */ + +#include <ming.h> + +enum { + FIRST_MOVIE_CLIP_ALL, + SECOND_MOVIE_CLIP_ALL, + THIRD_MOVIE_SWAP_DEPTH, + THIRD_MOVIE_MASK, + N_FLAGS +}; +#define FLAG_SET(var, flag) ((var) & (1 << (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); + SWFS...
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
...nsigned int i; + + for (i = 0; i < sizeof (button_events) / sizeof (button_events[0]); i++) { + sprintf (script, "trace (\"button %s: \" + this);", button_events[i]); + SWFButton_addAction (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_drawL...