GoLang CairoContext::fillPreserve

request it (215)
GoLang replacement for PHP's CairoContext::fillPreserve [edit | history]

Do you know a GoLang replacement for PHP's CairoContext::fillPreserve? Write it!

PHP CairoContext::fillPreserve

PHP original manual for CairoContext::fillPreserve [ show | php.net ]



(PECL cairo >= 0.1.0)

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


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.



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

Return Values

No value is returned.


Example #1 Object oriented style

/* ... */

The above example will output something similar to:


Example #2 Procedural style

/* ... */

The above example will output something similar to:


See Also