[cairo] API Shakeup: cairo_mask

Bill Spitzak spitzak at d2.com
Wed Feb 16 12:46:16 PST 2005



Carl Worth wrote:
> On Tue, 15 Feb 2005 22:35:47 -0500, Carl Worth wrote:
> 
>>	/* Paint using the provided surface as a masking shape. */
>>	void
>>	cairo_mask_alpha (cairo_t *cr, double alpha);
> 
> 
> After explaining these new operators to Ian, it became pretty clear to
> me that this operation is more closely associated to cairo_paint than
> it is to cairo_mask. So, I now propose:
> 
> 	/* Paint using the provided surface as a masking shape. */
> 	void
> 	cairo_paint_alpha (cairo_t *cr, double alpha);

Even better.



More information about the cairo mailing list