diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-05-09 15:32:57 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-05-09 15:54:13 +0200 |
commit | 08334be905edf5f557250e5946bd61391823da27 (patch) | |
tree | 418ba5fdb6eece5b4126b8b5b60caabaf704c8fa /src/cairo-meta-surface-private.h | |
parent | 674cba89fe6165d3dc9986c3d5f083867498e6c1 (diff) |
[cairo-meta-surface] Add _cairo_meta_surface_get_path()
Which generates the path for each cairo operation. If there's any paint,
mask, or intersect-clip-path operations in the meta-surface, UNSUPPORTED
is returned.
Strokes are currently tesselated to traps, then traps converted to path.
Should be made to use stroke_to_path() when we implement that.
Diffstat (limited to 'src/cairo-meta-surface-private.h')
-rw-r--r-- | src/cairo-meta-surface-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-meta-surface-private.h b/src/cairo-meta-surface-private.h index 80d8b79f..35957f70 100644 --- a/src/cairo-meta-surface-private.h +++ b/src/cairo-meta-surface-private.h @@ -159,6 +159,10 @@ _cairo_meta_surface_create (cairo_content_t content, int width_pixels, int height_pixels); +cairo_private cairo_int_status_t +_cairo_meta_surface_get_path (cairo_surface_t *surface, + cairo_path_fixed_t *path); + cairo_private cairo_status_t _cairo_meta_surface_replay (cairo_surface_t *surface, cairo_surface_t *target); |