CairoContext::glyphPath

cairo_glyph_path

(PECL cairo >= 0.1.0)

CairoContext::glyphPath -- cairo_glyph_pathThe glyphPath purpose

Descrierea

Stil obiect-orientat

public CairoContext::glyphPath ( array $glyphs ) : void

Stil procedural

cairo_glyph_path ( CairoContext $context , array $glyphs ) : void

Adds closed paths for the glyphs to the current path. The generated path if filled, achieves an effect similar to that of CairoContext::showGlyphs().

Parametri

context

A CairoContext object

glyphs

Array of glyphs

Valorile întoarse

Nu este întoarsă nici o valoare.

Exemple

Example #1 Stil obiect-orientat

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

Exemplul de mai sus va afișa ceva similar cu:

...

Example #2 Stil procedural

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

Exemplul de mai sus va afișa ceva similar cu:

...