Cairo::availableFonts
cairo_available_fonts
(PECL cairo >= 0.1.0)
Cairo::availableFonts -- cairo_available_fonts — Retrieves the availables font types
Descrierea
Stil obiect-orientat:
public static array Cairo::availableFonts
( void
)
Stil procedural:
array cairo_available_fonts
( void
)
Returns an array with the available font backends
Parametri
Această funcție nu are parametri.
Valorile întoarse
A list-type array with all available font backends.
Exemple
Example #1 Stil obiect-orientat
<?php
/* Object Oriented Style */
var_dump(Cairo::availableFonts());
?>
Exemplul de mai sus va afișa ceva similar cu:
array(2) {
[0]=>
string(5) "WIN32"
[1]=>
string(4) "USER"
}
Example #2 Stil procedural
<?php
/* Procedural style */
var_dump(cairo_available_fonts());
?>
Exemplul de mai sus va afișa ceva similar cu:
array(2) {
[0]=>
string(5) "WIN32"
[1]=>
string(4) "USER"
}
There are no user contributed notes for this page.
