CairoContext::fillPreserve
cairo_fill_preserve
(PECL cairo >= 0.1.0)
CairoContext::fillPreserve -- cairo_fill_preserve — Fills and preserve the current path
Descrizione
Stile orientato agli oggetti (method):
Stile procedurale:
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.
Elenco dei parametri
-
context -
A valid CairoContext object created with CairoContext::__construct() or cairo_create()
Valori restituiti
Nessun valore viene restituito.
Esempi
Example #1 Stile orientato agli oggetti
<?php
/* ... */
?>
Il precedente esempio visualizzerĂ qualcosa simile a:
...
Example #2 Stile procedurale
<?php
/* ... */
?>
Il precedente esempio visualizzerĂ qualcosa simile a:
...
Vedere anche:
- CairoContext::setFillRule() - The setFillRule purpose
- CairoContext::fill() - Fills the current path
