Esempio n. 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))
}
Esempio n. 2
0
func (self *Surface) SetOperator(operator Operator) {
	C.cairo_set_operator(self.context, C.cairo_operator_t(operator))
}
Esempio n. 3
0
//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
}