示例#1
0
// cairo_operator_t cairo_get_operator (cairo_t *cr);
func (self *Surface) GetOperator() Operator {
	return Operator(C.cairo_get_operator(self.context))
}
示例#2
0
文件: cairo.go 项目: raichu/gotk3
// GetOperator is a wrapper around cairo_get_operator().
func (v *Context) GetOperator() Operator {
	c := C.cairo_get_operator(v.native())
	return Operator(c)
}
示例#3
0
//Operator reports the current compositing operator.
//
//Originally cairo_get_operator.
func (c *Context) Operator() operator {
	return operator(C.cairo_get_operator(c.c))
}