diff options
author | Emmanuel Pacaud <emmanuel.pacaud@free.fr> | 2006-02-13 14:11:36 +0000 |
---|---|---|
committer | Emmanuel Pacaud <emmanuel.pacaud@free.fr> | 2006-02-13 14:11:36 +0000 |
commit | f4270b3dfc5e6905c58adb2f6b5d9a049dc616fa (patch) | |
tree | 2eaac2e17b96f8b123c2214d8ea1a4fee63f47fd | |
parent | 921dcc16f980fcf9a8df4c193720e8ec1e53f1dd (diff) |
convert _cairo_svg_surface_old_show_glyphs to _cairo_svg_surface_show_glyphs.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/cairo-svg-surface.c | 22 |
2 files changed, 13 insertions, 14 deletions
@@ -1,5 +1,10 @@ 2006-02-13 Emmanuel Pacaud <emmanuel.pacaud@free.fr> + * src/cairo-svg-surface.c: convert _cairo_svg_surface_old_show_glyphs + to _cairo_svg_surface_show_glyphs. + +2006-02-13 Emmanuel Pacaud <emmanuel.pacaud@free.fr> + Add mask support and switch to SVG 1.2 for compositing operators. * src/cairo-svg-surface.c (emit_composite_image_pattern): return xml diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c index efbbe18c..5a2c92ff 100644 --- a/src/cairo-svg-surface.c +++ b/src/cairo-svg-surface.c @@ -1119,18 +1119,12 @@ _cairo_svg_surface_stroke (void *abstract_dst, } static cairo_int_status_t -_cairo_svg_surface_old_show_glyphs (cairo_scaled_font_t *scaled_font, - cairo_operator_t op, - cairo_pattern_t *pattern, - void *abstract_surface, - int source_x, - int source_y, - int dest_x, - int dest_y, - unsigned int width, - unsigned int height, - const cairo_glyph_t *glyphs, - int num_glyphs) +_cairo_svg_surface_show_glyphs (void *abstract_surface, + cairo_operator_t op, + cairo_pattern_t *pattern, + const cairo_glyph_t *glyphs, + int num_glyphs, + cairo_scaled_font_t *scaled_font) { cairo_path_fixed_t path; cairo_status_t status; @@ -1242,7 +1236,7 @@ static const cairo_surface_backend_t cairo_svg_surface_backend = { NULL, /* set_clip_region */ _cairo_svg_surface_intersect_clip_path, _cairo_svg_surface_get_extents, - _cairo_svg_surface_old_show_glyphs, + NULL, /* _cairo_svg_surface_old_show_glyphs, */ _cairo_svg_surface_get_font_options, NULL, /* flush */ NULL, /* mark dirty rectangle */ @@ -1252,7 +1246,7 @@ static const cairo_surface_backend_t cairo_svg_surface_backend = { _cairo_svg_surface_mask, _cairo_svg_surface_stroke, _cairo_svg_surface_fill, - NULL /* show_glyphs */ + _cairo_svg_surface_show_glyphs }; static cairo_svg_document_t * |