CairoContext::glyphPath()
(PECL cairo >= 0.1.0)
The glyphPath purpose
说明
面向对象风格
public CairoContext::glyphPath(array $glyphs): void
过程化风格
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().
参数
- $context
A CairoContext object
- $glyphs
Array of glyphs
返回值
没有返回值。
范例
Example #1 面向对象风格
<?php /* ... */ ?>
以上例程的输出类似于:
...
Example #2 过程化风格
<?php /* ... */ ?>
以上例程的输出类似于:
...