PHP 7.1.0 Release Candidate 4 Released



(PECL cairo >= 0.1.0)

CairoContext::fillPreserve -- cairo_fill_preserveFills and preserve the current path


Estilo orientado à objeto (method):

public void CairoContext::fillPreserve ( void )

Estilo procedural:

void cairo_fill_preserve ( CairoContext $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.



A valid CairoContext object created with CairoContext::__construct() or cairo_create()

Valor Retornado

Não há valor retornado.


Exemplo #1 Estilo orientado à objeto

/* ... */

O exemplo acima irá imprimir algo similar à:


Exemplo #2 Estilo procedural

/* ... */

O exemplo acima irá imprimir algo similar à:


Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top