CairoContext::glyphPath

(PECL cairo >= 0.1.0)
The glyphPath purpose
public void CairoContext::glyphPath ( array $glyphs )

Object oriented style

Procedural style

void cairo_glyph_path ( CairoContext $context , array $glyphs )

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

Parameters:
context

A CairoContext object

glyphs

Array of glyphs

Returns:

No value is returned.

Examples:
Object oriented style
<?php
/* ... */
?>

The above example will output something similar to:

...
Procedural style
<?php
/* ... */
?>

The above example will output something similar to:

...
doc_php
2016-02-24 15:59:00
Comments
Leave a Comment

Please login to continue.