diff options
author | Olivier Andrieu <oliv__a@users.sourceforge.net> | 2004-03-23 10:33:32 +0000 |
---|---|---|
committer | Olivier Andrieu <oliv__a@users.sourceforge.net> | 2004-03-23 10:33:32 +0000 |
commit | 3cd25474937c1ae2dbd17d28aaa5c7868f3902ef (patch) | |
tree | 51c4392941b086d9ca86d45a3e726eda62c77241 /src/cairo-ps-surface.c | |
parent | e576aeb222b5f7378cb01fd6df05e6daf43094dd (diff) |
Implement _set_clip_region by delegating it to the image backend.
Add a stub.
Add missing (?) cairo_init_clip
Diffstat (limited to 'src/cairo-ps-surface.c')
-rw-r--r-- | src/cairo-ps-surface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index 72d8ee6ce..82364556a 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -398,8 +398,9 @@ static cairo_int_status_t _cairo_ps_surface_set_clip_region (void *abstract_surface, pixman_region16_t *region) { - /* FIXME: I don't really understand this backend. */ - return CAIRO_STATUS_SUCCESS; + cairo_ps_surface_t *surface = abstract_surface; + + return _cairo_image_surface_set_clip_region (surface->image, region); } |