略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoContext::glyphPath

2024-04-18

CairoContext::glyphPath

cairo_glyph_path

(PECL cairo >= 0.1.0)

CairoContext::glyphPath -- cairo_glyph_pathThe 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
/* ... */
?>

以上例程的输出类似于:

...
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/cairocontext.glyphpath.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3