search for: cairo_matrix_rot

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

2007 Jul 11
0
libswfdec/swfdec_movie.c
...matrix_get_xscale (&movie->content->transform); e = movie->yscale / swfdec_matrix_get_yscale (&movie->content->transform); cairo_matrix_scale (&movie->matrix, d, e); - d = movie->rotation - swfdec_matrix_get_rotation (&movie->content->transform); - cairo_matrix_rotate (&movie->matrix, d * G_PI / 180); + if (finite (movie->rotation)) { + d = movie->rotation - swfdec_matrix_get_rotation (&movie->content->transform); + cairo_matrix_rotate (&movie->matrix, d * G_PI / 180); + } swfdec_matrix_ensure_invertible (&movie-&g...
2007 Jul 11
0
Branch 'as' - 3 commits - libswfdec/swfdec_bits.c
...matrix_get_xscale (&movie->content->transform); e = movie->yscale / swfdec_matrix_get_yscale (&movie->content->transform); cairo_matrix_scale (&movie->matrix, d, e); - d = movie->rotation - swfdec_matrix_get_rotation (&movie->content->transform); - cairo_matrix_rotate (&movie->matrix, d * G_PI / 180); + if (finite (movie->rotation)) { + d = movie->rotation - swfdec_matrix_get_rotation (&movie->content->transform); + cairo_matrix_rotate (&movie->matrix, d * G_PI / 180); + } swfdec_matrix_ensure_invertible (&movie-&g...
2007 Jul 11
0
Branch 'as' - 4 commits - libswfdec/swfdec_color.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c test/trace
.../ swfdec_matrix_get_xscale (&movie->original_transform); e = movie->yscale / swfdec_matrix_get_yscale (&movie->original_transform); cairo_matrix_scale (&movie->matrix, d, e); - d = movie->rotation - swfdec_matrix_get_rotation (&movie->original_transform); - cairo_matrix_rotate (&movie->matrix, d * G_PI / 180); + if (isfinite (movie->rotation)) { + d = movie->rotation - swfdec_matrix_get_rotation (&movie->original_transform); + cairo_matrix_rotate (&movie->matrix, d * G_PI / 180); + } swfdec_matrix_ensure_invertible (&movie-&gt...
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
...h = swfdec_as_value_to_number (cx, &val); + swfdec_as_object_get_variable (o, SWFDEC_AS_STR_r, &val); + r = swfdec_as_value_to_number (cx, &val); + cairo_matrix_init_translate (&input, (x + w) / 2, (y + h) / 2); + cairo_matrix_scale (&input, w, h); + cairo_matrix_rotate (&input, r); + cairo_matrix_multiply (mat, mat, &input); + } else { + SWFDEC_WARNING ("my friend, there's no other matrixType than \"box\""); + } + } else { + cairo_matrix_t input; + swfdec_as_object_get_variable (o, SWFDEC_AS_STR_a, &va...
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
...c_matrix_get_yscale (&movie->original_transform); cairo_matrix_scale (&movie->matrix, d, e); - d = movie->rotation - swfdec_matrix_get_rotation (&movie->content->transform); + d = movie->rotation - swfdec_matrix_get_rotation (&movie->original_transform); cairo_matrix_rotate (&movie->matrix, d * G_PI / 180); swfdec_matrix_ensure_invertible (&movie->matrix, &movie->inverse_matrix); @@ -207,51 +206,6 @@ swfdec_movie_update (SwfdecMovie *movie) } } -/** - * swfdec_movie_set_content: - * @movie: a #SwfdecMovie - * @content: #SwfdecContent...