[cairo] API Shakeup: cairo_mask

Carl Worth cworth at cworth.org
Wed Feb 16 11:44:22 PST 2005


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);

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050216/e5f9f79c/attachment.pgp


More information about the cairo mailing list