[cairo] how to increase a new operator in cairo

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Mon Nov 30 07:04:39 PST 2009


On Mon, 30 Nov 2009, Liang Wang wrote:

> We want to increase a new operator for ROP operation "AND".
> Could you tell me how to do it.

Does IN or DEST_IN not work for your needs?  How do you define AND 
anyway?

To add another operator you'd first need to get it into pixman, so 
have a look at how pixman implements its operators.  Adding support in 
cairo after pixman supports it is only a little bit of code after 
that.

Cheers,

Joonas


More information about the cairo mailing list