// 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)) }
func (o operator) c() C.cairo_operator_t { return C.cairo_operator_t(o) }