(PECL cairo >= 0.1.0)
CairoContext::newPath -- cairo_new_path — The newPath purpose
Stil obiect-orientat (method):
Stil procedural:
Clears the current path. After this call there will be no path and no current point.
context
A valid CairoContext object.
Nu este întoarsă nici o valoare.
Example #1 Stil obiect-orientat
<?php
// [...]
CairoContext::newPath();
?>
Example #2 Stil procedural
<?php
// [...]
cairo_new_path($context);
?>