©
本文档使用 PHP中文网手册 发布
(PECL cairo >= 0.1.0)
CairoContext::fillPreserve -- cairo_fill_preserve — Fills and preserve the current path
面向对象风格 (method):
过程化风格:
$context
)A drawing operator that fills the current path according to the current CairoFillRule, (each sub-path is implicitly closed before being filled). Unlike CairoContext::fill() , CairoContext::fillPreserve() (Procedural cairo_fill() , cairo_fill_preserve() , respectively) preserves the path within the Context.
context
A valid CairoContext object created with CairoContext::__construct() or cairo_create()
没有返回值。
Example #1 面向对象风格
<?php
?>
以上例程的输出类似于:
...
Example #2 过程化风格
<?php
?>
以上例程的输出类似于:
...