[cairo] API Shakeup: cairo_begin_group, cairo_end_group, cairo_get_group

Øyvind Kolås islewind at gmail.com
Wed Feb 16 04:36:05 PST 2005


On Tue, 15 Feb 2005 22:41:59 -0500, Carl Worth <cworth at cworth.org> wrote:

Would patching the proposed API as follows have any strange
consequences except the ability to easier reuse a group? I haven't
thought this through completely, but I think adding another stack of
states to the cairo context needs
a lot of thinking through.

-         void
+         cairo_pattern_t *
         cairo_begin_group (cairo_t *cr);

+       /* sets the current group */ 
+       void
+       cairo_set_group (cairo_t *cr, cairo_pattern_t *pattern);
 
         void
         cairo_begin_group_with_format (cairo_t *cr, cairo_format_t format);
 
 
         void
         cairo_end_group (cairo_t *cr);
 
         /* Get the most recently completed group. */
 
         cairo_pattern_t *
         cairo_get_group (cairo_t *cr);

 
-- 
Software patents hinder progress | http://swpat.ffii.org/ 
Web :  http://pippin.gimp.org/



More information about the cairo mailing list