update : 2015.11.03
php.shukuma.com

검색:
 
 
Fills and preserve the current path

CairoContext::fillPreserve

cairo_fill_preserve

(PECL cairo >= 0.1.0)

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

설명

객체 기반 형식 (method):

public void CairoContext::fillPreserve ( void )

절차식 형식:

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()

반환값

값을 반환하지 않습니다.

예제

Example #1 객체 기반 형식

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

위 예제의 출력 예시:

...

Example #2 절차식 형식

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

위 예제의 출력 예시:

...

참고