Cairo::availableFonts

cairo_available_fonts

(PECL cairo >= 0.1.0)

Cairo::availableFonts -- cairo_available_fontsRetrieves the availables font types

Opis

Styl obiektowy:

public static Cairo::availableFonts ( void ) : array

Styl proceduralny:

cairo_available_fonts ( void ) : array

Returns an array with the available font backends

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

A list-type array with all available font backends.

Przykłady

Przykład #1 Styl obiektowy

<?php

/* Object Oriented Style */
var_dump(Cairo::availableFonts());

?>

Powyższy przykład wyświetli coś podobnego do:

array(2) {
  [0]=>
  string(5) "WIN32"
  [1]=>
  string(4) "USER"
}

Przykład #2 Styl proceduralny

<?php

/* Procedural style */
var_dump(cairo_available_fonts());

?>

Powyższy przykład wyświetli coś podobnego do:

array(2) {
  [0]=>
  string(5) "WIN32"
  [1]=>
  string(4) "USER"
}

Zobacz też:

add a note add a note

User Contributed Notes

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