Example #1
0
// 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))
}
Example #2
0
func (self *Surface) SetOperator(operator Operator) {
	C.cairo_set_operator(self.context, C.cairo_operator_t(operator))
}
Example #3
0
func (o operator) c() C.cairo_operator_t {
	return C.cairo_operator_t(o)
}