コード例 #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
}