[cairo-commit] rcairo/src rb_cairo_pattern.c,1.9,1.10
Kouhei Sutou
commit at pdx.freedesktop.org
Tue May 22 07:24:46 PDT 2007
Committed by: kou
Update of /cvs/cairo/rcairo/src
In directory kemper:/tmp/cvs-serv16993/src
Modified Files:
rb_cairo_pattern.c
Log Message:
* src/rb_cairo_pattern.c (cr_radial_pattern_get_radial_circles):
returned [[x0, y0, r0], [x1, y1, r1]] instead of [x0, y0, r0, x1,
y1, r1].
Index: rb_cairo_pattern.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_pattern.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- rb_cairo_pattern.c 20 May 2007 09:18:49 -0000 1.9
+++ rb_cairo_pattern.c 22 May 2007 14:24:34 -0000 1.10
@@ -426,9 +426,15 @@
&x0, &y0, &r0,
&x1, &y1, &r1);
rb_cairo_check_status (status);
- return rb_ary_new3 (6,
- rb_float_new (x0), rb_float_new (y0), rb_float_new (r0),
- rb_float_new (x1), rb_float_new (y1), rb_float_new (r1));
+ return rb_ary_new3 (2,
+ rb_ary_new3 (3,
+ rb_float_new (x0),
+ rb_float_new (y0),
+ rb_float_new (r0)),
+ rb_ary_new3 (3,
+ rb_float_new (x1),
+ rb_float_new (y1),
+ rb_float_new (r1)));
}
#endif
More information about the cairo-commit
mailing list