PHP Velho Oeste 2024

CairoContext::glyphPath

cairo_glyph_path

(PECL cairo >= 0.1.0)

CairoContext::glyphPath -- cairo_glyph_pathThe glyphPath purpose

Descrição

Estilo orientado à objeto

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

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

Parâmetros

context

A CairoContext object

glyphs

Array of glyphs

Valor Retornado

Não há valor retornado.

Exemplos

Exemplo #1 Estilo orientado à objeto

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

O exemplo acima irá imprimir algo similar à:

...

Exemplo #2 Estilo procedural

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

O exemplo acima irá imprimir algo similar à:

...

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top