예제 #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
파일: surface.go 프로젝트: ungerik/go-cairo
func (self *Surface) NewPath() {
	C.cairo_new_path(self.context)
}
예제 #3
0
파일: cairo.go 프로젝트: jimmyfrasche/cairo
//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
}