Пример #1
0
// 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
}