CairoContext
PHP Manual

CairoContext::glyphPath

cairo_glyph_path

(PECL cairo >= 0.1.0)

CairoContext::glyphPath -- cairo_glyph_pathThe glyphPath purpose

说明

面向对象风格

public void CairoContext::glyphPath ( array $glyphs )

过程化风格

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

参数

context

A CairoContext object

glyphs

Array of glyphs

返回值

没有返回值。

范例

Example #1 面向对象风格

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

以上例程的输出类似于:

...

Example #2 过程化风格

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

以上例程的输出类似于:

...


CairoContext
PHP Manual