downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Cairo::statusToString> <Cairo::availableFonts
[edit] Last updated: Fri, 17 May 2013

view this page in

Cairo::availableSurfaces

cairo_available_surfaces

(PECL cairo >= 0.1.0)

Cairo::availableSurfaces -- cairo_available_surfacesRécupère toutes les surfaces disponibles

Description

Style orienté objet (méthode) :

public static array Cairo::availableSurfaces ( void )

Style procédural :

array cairo_available_surfaces ( void )

Retourne un tableau contenant toutes les surfaces disponibles.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Un tableau contenant la liste de toutes les surfaces disponibles.

Exemples

Exemple #1 Style orienté objet

<?php

var_dump
(Cairo::availableSurfaces());

?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

array(6) {
  [0]=>
  string(5) "IMAGE"
  [1]=>
  string(3) "PNG"
  [2]=>
  string(3) "PDF"
  [3]=>
  string(2) "PS"
  [4]=>
  string(3) "SVG"
  [5]=>
  string(5) "WIN32"
}

Exemple #2 Style procédural

<?php

var_dump
(cairo_available_surfaces());

?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

array(6) {
  [0]=>
  string(5) "IMAGE"
  [1]=>
  string(3) "PNG"
  [2]=>
  string(3) "PDF"
  [3]=>
  string(2) "PS"
  [4]=>
  string(3) "SVG"
  [5]=>
  string(5) "WIN32"
}

Voir aussi



add a note add a note User Contributed Notes Cairo::availableSurfaces - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites