CairoScaledFont
PHP Manual

CairoScaledFont::textExtents

cairo_text_extents

(PECL cairo >= 0.1.0)

CairoScaledFont::textExtents -- cairo_text_extentsThe textExtents purpose

Açıklama

Object oriented style (method):

public array CairoScaledFont::textExtents ( string $text )

Procedural style:

array cairo_text_extents ( CairoContext $context )

Description here.

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.

Değiştirgeler

context

Description...

text

Description...

Dönen Değerler

Description...

Örnekler

Örnek 1 Object oriented style

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

Yukarıdaki örnek şuna benzer bir çıktı üretir:

...

Örnek 2 Procedural style

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

Yukarıdaki örnek şuna benzer bir çıktı üretir:

...

Ayrıca Bakınız


CairoScaledFont
PHP Manual