// SetOperator is a wrapper around cairo_set_operator(). func (v *Context) SetOperator(op Operator) { C.cairo_set_operator(v.native(), C.cairo_operator_t(op)) }
func (self *Surface) SetOperator(operator Operator) { C.cairo_set_operator(self.context, C.cairo_operator_t(operator)) }
//SetOperator sets the compositing operator used for all drawing operations. // //Originally cairo_set_operator. func (c *Context) SetOperator(op operator) *Context { C.cairo_set_operator(c.c, op.c()) return c }