[cairo] [PATCH 21/39] [OpenVG] Added some FIXME's and comments about future development.

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


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

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

diff --git a/src/cairo-openvg-surface.c b/src/cairo-openvg-surface.c
index f5ecf1a..f4d1614 100644
--- a/src/cairo-openvg-surface.c
+++ b/src/cairo-openvg-surface.c
@@ -434,6 +434,8 @@ _cairo_openvg_setup_radial_source (cairo_openvg_surface_t *vgsurface,
 
   setup_paint_matrix ((cairo_pattern_t*) rpat);
 
+  /* FIXME: copy/adapt fixes from SVG backend to add inner radius */
+
   return _cairo_openvg_setup_gradient_stops (vgsurface,
                                             (cairo_gradient_pattern_t *) rpat);
 }
@@ -489,12 +491,12 @@ _cairo_openvg_setup_surface_source (cairo_openvg_surface_t  *vgsurface,
     int i;
     for (i=0; i<image->width * image->height; i++)
       {
-#if 1
+#if 1 /* ShivaVG (I wonder which one is correct) */
         data[4*i+0] = image->data[4*i+2];
         data[4*i+1] = image->data[4*i+1];
         data[4*i+2] = image->data[4*i+0];
         data[4*i+3] = image->data[4*i+3];
-#else
+#else /* Amanith */
         data[4*i+0] = image->data[4*i+3];
         data[4*i+1] = image->data[4*i+0];
         data[4*i+2] = image->data[4*i+1];
-- 
1.6.0.4



More information about the cairo mailing list