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 /test/get-clip.c | |
parent | 2a9903dbbfeb3fe843f0d618d15674b37a29f3a9 (diff) |
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 'test/get-clip.c')
-rw-r--r-- | test/get-clip.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/get-clip.c b/test/get-clip.c index 1a07f0128..c7414b4ac 100644 --- a/test/get-clip.c +++ b/test/get-clip.c @@ -132,10 +132,15 @@ draw (cairo_t *cr, int width, int height) uses_clip_rects = TRUE; break; case CAIRO_SURFACE_TYPE_QUARTZ: + case CAIRO_SURFACE_TYPE_QUARTZ_IMAGE: case CAIRO_SURFACE_TYPE_PDF: case CAIRO_SURFACE_TYPE_PS: case CAIRO_SURFACE_TYPE_SVG: case CAIRO_SURFACE_TYPE_OS2: + case CAIRO_SURFACE_TYPE_WIN32_PRINTING: + case CAIRO_SURFACE_TYPE_SCRIPT: + case CAIRO_SURFACE_TYPE_QT: + case CAIRO_SURFACE_TYPE_META: default: uses_clip_rects = FALSE; break; |