[cairo] [PATCH 15/39] [OpenVG] do not register intersect_clip_path since it is empty

tardyp at gmail.com tardyp at gmail.com
Fri Jul 10 10:02:17 PDT 2009


From: Øyvind Kolås <pippin at gimp.org>

---
 src/cairo-openvg-surface.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/cairo-openvg-surface.c b/src/cairo-openvg-surface.c
index 11687ee..a9e419d 100644
--- a/src/cairo-openvg-surface.c
+++ b/src/cairo-openvg-surface.c
@@ -71,6 +71,7 @@ _cairo_openvg_surface_clone_similar (void *asurface,
     return CAIRO_STATUS_SUCCESS;
 }
 
+#if 0
 static cairo_int_status_t
 _cairo_openvg_surface_intersect_clip_path (void *asurface,
                                         cairo_path_fixed_t *path,
@@ -78,8 +79,10 @@ _cairo_openvg_surface_intersect_clip_path (void *asurface,
                                         double toleance,
                                         cairo_antialias_t antialias)
 {
-    return CAIRO_STATUS_SUCCESS;
+  printf ("intersect clip path\n");
+  return CAIRO_STATUS_SUCCESS;
 }
+#endif
 
 static cairo_int_status_t
 _cairo_openvg_surface_get_extents (void *asurface,
@@ -740,7 +743,7 @@ cairo_openvg_surface_backend = {
     NULL, /* copy_page */
     NULL, /* show_page */
     NULL, /* set_clip_egion */
-    _cairo_openvg_surface_intersect_clip_path,
+    NULL, /*_cairo_openvg_surface_intersect_clip_path,*/
     _cairo_openvg_surface_get_extents,
     NULL, /* old_show_glyphs */
     NULL, /* get_font_options */
-- 
1.6.0.4



More information about the cairo mailing list