PHP Doku:: Fills and preserve the current path - cairocontext.fillpreserve.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungCairoThe CairoContext classCairoContext::fillPreserve -- cairo_fill_preserve

Ein Service von Reinhard Neidl - Webprogrammierung.

The CairoContext class

<<CairoContext::fillExtents -- cairo_fill_extents

CairoContext::fontExtents -- cairo_font_extents>>

CairoContext::fillPreserve

cairo_fill_preserve

(PECL cairo >= 0.1.0)

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

Beschreibung

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.

Parameter-Liste

context

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

Rückgabewerte

Es wird kein Wert zurückgegeben.

Beispiele

Beispiel #1 Object oriented style

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

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

...

Beispiel #2 Procedural style

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

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

...

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)