Пример #1
0
// 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
}