search for: cairo_fil

Displaying 11 results from an estimated 11 matches for "cairo_fil".

Did you mean: cairo_fill
2007 Oct 27
1
libswfdec/swfdec_text_field_movie.c
libswfdec/swfdec_text_field_movie.c | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 27e0f570ff653063b78efc89a604236e7fe03ece Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Sat Oct 27 17:14:06 2007 +0300 Init TextField's native properties when TextField is created from a tag diff --git a/libswfdec/swfdec_text_field_movie.c
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
...dec/swfdec_morph_movie.c b/libswfdec/swfdec_morph_movie.c index 46ebd30..34b4d68 100644 --- a/libswfdec/swfdec_morph_movie.c +++ b/libswfdec/swfdec_morph_movie.c @@ -50,8 +50,6 @@ swfdec_morph_movie_render (SwfdecMovie * cairo_set_operator (cr, CAIRO_OPERATOR_OVER); cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD); - cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND); - cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND); for (i = 0; i < shape->vecs->len; i++) { SwfdecShapeVec *vec = &g_array_index (shape->vecs, SwfdecShapeVec, i); diff --git a/libswfdec/swfdec_shape.c b/li...
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
...- cairo_rectangle (cr, limit.x0, limit.y0, limit.x1, limit.y1); - cairo_clip (cr); - - if (text->background) { - cairo_rectangle (cr, limit.x0, limit.y0, limit.x1, limit.y1); - color = swfdec_color_apply_transform (background_color, trans); - swfdec_color_set_source (cr, color); - cairo_fill (cr); - } - - if (text->border) { - cairo_rectangle (cr, SWFDEC_GRAPHIC (text)->extents.x0, - SWFDEC_GRAPHIC (text)->extents.y0, SWFDEC_GRAPHIC (text)->extents.x1, - SWFDEC_GRAPHIC (text)->extents.y1); - color = swfdec_color_apply_transform (border_color, trans); - swfdec...
2007 Nov 01
0
2 commits - libswfdec/swfdec_text_field_movie.c test/image
...it.x0, limit.y0, limit.x1 - limit.x0, limit.y1 - limit.y0); color = swfdec_color_apply_transform (text_movie->background_color, trans); - swfdec_color_set_source (cr, color); + // always use full alpha + swfdec_color_set_source (cr, (color & 0xffffff) + (255 << 24)); cairo_fill (cr); } @@ -604,7 +605,8 @@ swfdec_text_field_movie_render (SwfdecMovie *movie, cairo_t *cr, movie->original_extents.y1 - movie->original_extents.y0 - SWFDEC_DOUBLE_TO_TWIPS (1)); color = swfdec_color_apply_transform (text_movie->border_color, trans); - swfdec_color_set_s...
2007 Dec 05
0
4 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_policy_loader.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_format.c
...lways diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index 1f88654..db37d98 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -807,8 +807,6 @@ swfdec_text_field_movie_render (SwfdecMovie *movie, cairo_t *cr, cairo_fill (cr); } - cairo_move_to (cr, x, y); - skipped = 0; do { if (++linenum < MIN (text_movie->scroll, text_movie->scroll_max)) @@ -833,21 +831,18 @@ swfdec_text_field_movie_render (SwfdecMovie *movie, cairo_t *cr, x + layout->offset_x + rect.x + rect.width &lt...
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...filter (pattern, image->filter); cairo_set_source (cr, pattern); cairo_pattern_destroy (pattern); - if (SWFDEC_COLOR_A (color) < 255) { - cairo_save (cr); - cairo_clip (cr); - cairo_paint_with_alpha (cr, SWFDEC_COLOR_A (color) / 255.); - cairo_restore (cr); - } else { - cairo_fill (cr); - } + cairo_fill (cr); } static void diff-tree fa335acfbd3526f57dfb66c68e59334a79d90901 (from 251f13c696e0c8c8eb10534d0ed9407d7fd26d19) Author: Benjamin Otte <otte@gnome.org> Date: Sun Feb 4 14:29:48 2007 +0100 update SwfdecColor format from RGBA to ARGB This make...
2007 Nov 01
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie.c test/image
...ackground) { - cairo_rectangle (cr, limit.x0, limit.y0, limit.x1, limit.y1); + cairo_rectangle (cr, limit.x0, limit.y0, limit.x1 - limit.x0, limit.y1 - limit.y0); color = swfdec_color_apply_transform (text_movie->background_color, trans); swfdec_color_set_source (cr, color); cairo_fill (cr); } if (text->border) { - cairo_rectangle (cr, movie->original_extents.x0, - movie->original_extents.y0, movie->original_extents.x1, - movie->original_extents.y1); + cairo_rectangle (cr, movie->original_extents.x0 + SWFDEC_DOUBLE_TO_TWIPS (1), + movie->origin...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...filter (pattern, image->filter); cairo_set_source (cr, pattern); cairo_pattern_destroy (pattern); - if (SWFDEC_COLOR_A (color) < 255) { - cairo_save (cr); - cairo_clip (cr); - cairo_paint_with_alpha (cr, SWFDEC_COLOR_A (color) / 255.); - cairo_restore (cr); - } else { - cairo_fill (cr); - } + cairo_fill (cr); } static void diff-tree fa335acfbd3526f57dfb66c68e59334a79d90901 (from 251f13c696e0c8c8eb10534d0ed9407d7fd26d19) Author: Benjamin Otte <otte@gnome.org> Date: Sun Feb 4 14:29:48 2007 +0100 update SwfdecColor format from RGBA to ARGB This make...
2007 Oct 14
0
10 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...SWFDEC_GRAPHIC (text)->extents.y0, SWFDEC_GRAPHIC (text)->extents.x1, - SWFDEC_GRAPHIC (text)->extents.y1); + cairo_rectangle (cr, limit.x0, limit.y0, limit.x1, limit.y1); color = swfdec_color_apply_transform (background_color, trans); swfdec_color_set_source (cr, color); cairo_fill (cr); @@ -284,20 +285,17 @@ swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, inval); y = SWFDEC_GRAPHIC (text)->extents.y0 + 1; - y_min = MAX (SWFDEC_GRAPHIC (text)->extents.y0, inval->y0); - y_max = MIN (SWFDEC_GRAPHIC (text)->extents.y1, inval->y1); -...
2007 Mar 02
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_js_video.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h
...C_TWIPS_SCALE_FACTOR, SWFDEC_TWIPS_SCALE_FACTOR); - if (surface != NULL) { - cairo_set_source_surface (cr, surface, 0.0, 0.0); - cairo_paint (cr); - } else { - cairo_set_source_rgb (cr, 0, 0, 0); - cairo_rectangle (cr, 0, 0, movie->video->width, movie->video->height); - cairo_fill (cr); - } + cairo_set_source_surface (cr, movie->image, 0.0, 0.0); + cairo_paint (cr); } static void @@ -65,8 +57,8 @@ swfdec_video_movie_unset_input (SwfdecVi if (movie->input == NULL) return; - if (movie->input->finalize) - movie->input->finalize (movie-&gt...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...pango_attr_iterator_destroy (attr_iter); + + swfdec_color_set_source (cr, color); + + cairo_arc (cr, x + layout->offset_x + + pango_layout_get_indent (layout->layout) - + SWFDEC_DOUBLE_TO_TWIPS (BULLET_MARGIN) / 2, + y + rect.height / 2, rect.height / 8, 20, 2 * M_PI); + cairo_fill (cr); + } + + cairo_move_to (cr, x, y); + skipped = 0; do { if (++linenum < text_movie->scroll) diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h index c574279..8d719d3 100644 --- a/libswfdec/swfdec_text_field_movie.h +++ b/libswfde...