©
This document uses PHP Chinese website manual Release
(PECL cairo >= 0.1.0)
CairoContext::newPath -- cairo_new_path — The newPath purpose
面向对象风格 (method):
过程化风格:
$context
)Clears the current path. After this call there will be no path and no current point.
context
A valid CairoContext object.
没有返回值。
Example #1 面向对象风格
<?php
// [...]
CairoContext :: newPath ();
?>
Example #2 过程化风格
<?php
// [...]
cairo_new_path ( $context );
?>