示例#1
0
文件: cairo.go 项目: raichu/gotk3
// PushGroupWithContent is a wrapper around cairo_push_group_with_content().
func (v *Context) PushGroupWithContent(content Content) {
	C.cairo_push_group_with_content(v.native(), C.cairo_content_t(content))
}
示例#2
0
func (self *Surface) PushGroupWithContent(content Content) {
	C.cairo_push_group_with_content(self.context, C.cairo_content_t(content))
}
示例#3
0
//PushGroupWithContent is similar to PushGroup except for additionally setting
//the content of the group.
//
//See the documentation for PushGroup for more information.
//
//Originally cairo_push_group_with_content.
func (c *Context) PushGroupWithContent(content Content) *Context {
	C.cairo_push_group_with_content(c.c, content.c())
	return c
}