CairoContext::fillPreserve

(PECL cairo >= 0.1.0)
Fills and preserve the current path
public void CairoContext::fillPreserve ( void )

Object oriented style (method):

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.

Parameters:
context

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

Returns:

No value is returned.

Examples:
Object oriented style
<?php
/* ... */
?>

The above example will output something similar to:

...
Procedural style
<?php
/* ... */
?>

The above example will output something similar to:

...
See also:

CairoContext::setFillRule() -

CairoContext::fill() -

doc_php
2016-02-24 15:58:56
Comments
Leave a Comment

Please login to continue.