CairoContext::fillPreserve

cairo_fill_preserve

(PECL cairo >= 0.1.0)

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

Beskrivelse

Object oriented style (method):

public void CairoContext::fillPreserve ( void )

Procedural style:

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.

Parametre

context

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

Returnerings Værdier

No value is returned.

Eksempler

Eksempel #1 Object oriented style

<?php
/* ... */
?>

The above example will output something similar to:

...

Eksempel #2 Procedural style

<?php
/* ... */
?>

The above example will output something similar to:

...

Se også

add a note add a note

User Contributed Notes

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