(PECL cairo >= 0.1.0)
CairoContext::newPath -- cairo_new_path — The newPath purpose
Object oriented style (method):
Procedural style:
Clears the current path. After this call there will be no path and no current point.
A valid CairoContext object.
没有返回值。
Example #1 Object oriented style
<?php
// [...]
CairoContext::newPath();
?>
Example #2 Procedural style
<?php
// [...]
cairo_new_path($context);
?>