Beispiel #1
0
// NewPath is a wrapper around cairo_new_path().
func (v *Context) NewPath() {
	C.cairo_new_path(v.native())
}
Beispiel #2
0
func (self *Surface) NewPath() {
	C.cairo_new_path(self.context)
}
Beispiel #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
}