Displaying 5 results from an estimated 5 matches for "paint_style_typ".
Did you mean:
paint_style_type
2007 Apr 16
0
7 commits - libswfdec/swfdec_codec_gst.c libswfdec/swfdec_font.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_shape.c libswfdec/swfdec_shape.h libswfdec/swfdec_sprite.c
...mat.y0 /= 256.0;
@@ -289,16 +292,22 @@ swfdec_pattern_do_parse (SwfdecSwfDecode
}
SWFDEC_COLOR_PATTERN (pattern)->end_color = SWFDEC_COLOR_PATTERN (pattern)->start_color;
SWFDEC_LOG (" color %08x", SWFDEC_COLOR_PATTERN (pattern)->start_color);
- } else if (paint_style_type == 0x10 || paint_style_type == 0x12) {
+ } else if (paint_style_type == 0x10 || paint_style_type == 0x12 || paint_style_type == 0x13) {
+ SwfdecGradientPattern *gradient;
pattern = g_object_new (SWFDEC_TYPE_GRADIENT_PATTERN, NULL);
+ gradient = SWFDEC_GRADIENT_PATTERN (pattern);
s...
2007 Aug 24
0
9 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_keys.h libswfdec/swfdec_pattern.c libswfdec/swfdec_player.c test/trace
...5 2007 +0200
comment why we use the NONE extend pattern
diff --git a/libswfdec/swfdec_pattern.c b/libswfdec/swfdec_pattern.c
index 82963bc..ae74a93 100644
--- a/libswfdec/swfdec_pattern.c
+++ b/libswfdec/swfdec_pattern.c
@@ -335,7 +335,12 @@ swfdec_pattern_do_parse (SwfdecSwfDecode
if (paint_style_type == 0x40 || paint_style_type == 0x42) {
SWFDEC_IMAGE_PATTERN (pattern)->extend = CAIRO_EXTEND_REPEAT;
} else {
+#if 0
+ /* not implemented yet in cairo */
+ SWFDEC_IMAGE_PATTERN (pattern)->extend = CAIRO_EXTEND_PAD;
+#else
SWFDEC_IMAGE_PATTERN (pattern)->extend = CAIRO_EXTEND_NO...
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
...G_END_DECLS
#endif
diff --git a/libswfdec/swfdec_pattern.c b/libswfdec/swfdec_pattern.c
index 49db137..d641556 100644
--- a/libswfdec/swfdec_pattern.c
+++ b/libswfdec/swfdec_pattern.c
@@ -262,7 +262,7 @@ swfdec_pattern_do_parse (SwfdecBits *bits, SwfdecSwfDecoder *dec, gboolean rgba)
} else if (paint_style_type == 0x10 || paint_style_type == 0x12 || paint_style_type == 0x13) {
SwfdecGradientPattern *gradient;
guint i, interpolation;
- pattern = g_object_new (SWFDEC_TYPE_GRADIENT_PATTERN, NULL);
+ pattern = SWFDEC_PATTERN (swfdec_gradient_pattern_new ());
gradient = SWFDEC_GRADIENT_PA...
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
...decColorTransform *trans, guint ratio)
{
- unsigned int i;
+ guint i;
cairo_pattern_t *pattern;
SwfdecColor color;
double offset;
@@ -417,7 +417,7 @@ swfdec_gradient_pattern_init (SwfdecGrad
SwfdecPattern *
swfdec_pattern_parse (SwfdecSwfDecoder *dec, gboolean rgba)
{
- unsigned int paint_style_type;
+ guint paint_style_type;
SwfdecBits *bits;
SwfdecPattern *pattern;
@@ -503,7 +503,7 @@ swfdec_pattern_parse (SwfdecSwfDecoder *
SwfdecPattern *
swfdec_pattern_parse_morph (SwfdecSwfDecoder *dec)
{
- unsigned int paint_style_type;
+ guint paint_style_type;
SwfdecBits *bits;
Sw...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...decColorTransform *trans, guint ratio)
{
- unsigned int i;
+ guint i;
cairo_pattern_t *pattern;
SwfdecColor color;
double offset;
@@ -417,7 +417,7 @@ swfdec_gradient_pattern_init (SwfdecGrad
SwfdecPattern *
swfdec_pattern_parse (SwfdecSwfDecoder *dec, gboolean rgba)
{
- unsigned int paint_style_type;
+ guint paint_style_type;
SwfdecBits *bits;
SwfdecPattern *pattern;
@@ -503,7 +503,7 @@ swfdec_pattern_parse (SwfdecSwfDecoder *
SwfdecPattern *
swfdec_pattern_parse_morph (SwfdecSwfDecoder *dec)
{
- unsigned int paint_style_type;
+ guint paint_style_type;
SwfdecBits *bits;
Sw...