PHP Velho Oeste 2024

Cairo::availableFonts

cairo_available_fonts

(PECL cairo >= 0.1.0)

Cairo::availableFonts -- cairo_available_fontsRetrieves the availables font types

Descrição

Estilo orientado à objeto:

public static Cairo::availableFonts ( void ) : array

Estilo procedural:

cairo_available_fonts ( void ) : array

Returns an array with the available font backends

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

A list-type array with all available font backends.

Exemplos

Exemplo #1 Estilo orientado à objeto

<?php

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

?>

O exemplo acima irá imprimir algo similar à:

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

Exemplo #2 Estilo procedural

<?php

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

?>

O exemplo acima irá imprimir algo similar à:

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

Veja Também

add a note add a note

User Contributed Notes

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