예제 #1
0
파일: cairo.go 프로젝트: raichu/gotk3
// CopyPage is a wrapper around cairo_copy_page().
func (v *Context) CopyPage() {
	C.cairo_copy_page(v.native())
}
예제 #2
0
파일: surface.go 프로젝트: ungerik/go-cairo
func (self *Surface) CopyPage() {
	C.cairo_copy_page(self.context)
}
예제 #3
0
파일: cairo.go 프로젝트: jimmyfrasche/cairo
//CopyPage emits the current page for backends that support multiple pages,
//but doesn't clear it, so, the contents of the current page will be retained
//for the next page too.
//
//Use ShowPage if you want to get an empty page after the emission.
//
//This is a convenience function that simply calls CopyPage on c's target.
//
//Originally cairo_copy_page.
func (c *Context) CopyPage() *Context {
	C.cairo_copy_page(c.c)
	return c
}