示例#1
0
文件: cairo.go 项目: raichu/gotk3
// NewPath is a wrapper around cairo_new_path().
func (v *Context) NewPath() {
	C.cairo_new_path(v.native())
}
示例#2
0
func (self *Surface) NewPath() {
	C.cairo_new_path(self.context)
}
示例#3
0
//NewPath clears the current path and, by extension, the current point.
//
//Originally cairo_new_path.
func (c *Context) NewPath() *Context {
	C.cairo_new_path(c.c)
	return c
}