diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-03 18:26:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-03 18:26:50 +0100 |
commit | 6003ab77e1ebefadb97338de0e7da4a76d973b1a (patch) | |
tree | e375335dac3abfdd3e75cb18a317824556de84f6 /src/cairo-type3-glyph-surface.c | |
parent | 2a9903dbbfeb3fe843f0d618d15674b37a29f3a9 (diff) | |
download | cairo-6003ab77e1ebefadb97338de0e7da4a76d973b1a.tar.gz |
Export meta-surface
The meta-surface is a vital tool to record a trace of drawing commands
in-memory. As such it is used throughout cairo.
The value of such a surface is immediately obvious and should be
applicable for many applications. The first such case is by
cairo-test-trace which wants to record the entire graph of drawing commands
that affect a surface in the event of a failure.
Diffstat (limited to 'src/cairo-type3-glyph-surface.c')
-rw-r--r-- | src/cairo-type3-glyph-surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-type3-glyph-surface.c b/src/cairo-type3-glyph-surface.c index 104da53d8..6e7259609 100644 --- a/src/cairo-type3-glyph-surface.c +++ b/src/cairo-type3-glyph-surface.c @@ -425,8 +425,8 @@ _cairo_type3_glyph_surface_analyze_glyph (void *abstract_surface, goto cleanup; } - status = _cairo_meta_surface_replay (scaled_glyph->meta_surface, - &surface->base); + status = cairo_meta_surface_replay (scaled_glyph->meta_surface, + &surface->base); if (unlikely (status)) goto cleanup; @@ -520,8 +520,8 @@ _cairo_type3_glyph_surface_emit_glyph (void *abstract_surface, _cairo_type3_glyph_surface_set_stream (surface, mem_stream); _cairo_output_stream_printf (surface->stream, "q\n"); - status = _cairo_meta_surface_replay (scaled_glyph->meta_surface, - &surface->base); + status = cairo_meta_surface_replay (scaled_glyph->meta_surface, + &surface->base); status2 = _cairo_pdf_operators_flush (&surface->pdf_operators); if (status == CAIRO_STATUS_SUCCESS) |