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
/* ... */
?>

上例的輸出類似於:

...

add a note add a note

User Contributed Notes

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