CairoContext::fillExtents
CairoContext::fontExtents
CairoContext
PHP Manual

# CairoContext::fillPreserve

# cairo_fill_preserve

(PECL cairo >= 0.1.0)

CairoContext::fillPreserve -- cairo_fill_preserve — Fills 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.

### パラメータ

`context`

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

### 返り値

値を返しません。

### 例

例1 Object oriented style

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

上の例の出力は、 たとえば以下のようになります。

    ...

例2 Procedural style

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

上の例の出力は、 たとえば以下のようになります。

    ...

### 参考

- CairoContext::setFillRule - The setFillRule purpose
- CairoContext::fill - Fills the current path

CairoContext::fillExtents
CairoContext::fontExtents
CairoContext
PHP Manual