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

search for in the

CairoFontOptions> <CairoFontFace::getType
[edit] Last updated: Fri, 23 Mar 2012

view this page in

CairoFontFace::status

cairo_font_face_status

(PECL cairo >= 0.1.0)

CairoFontFace::status -- cairo_font_face_statusCheck for CairoFontFace errors

Opis

Styl obiektowy (method):

public int CairoFontFace::status ( void )

Styl proceduralny:

int cairo_font_face_status ( CairoFontFace $fontface )

Checks whether an error has previously occurred for this font face

Parametry

fontface

A valid CairoFontFace object

Zwracane wartości

CAIRO_STATUS_SUCCESS or another error such as CAIRO_STATUS_NO_MEMORY.

Przykłady

Przykład #1 Styl obiektowy

<?php

// Creates the font face
$fontface = new CairoToyFontFace('sans-serif');

// Get the font face status
var_dump($fontface->status()); // should be the value of CAIRO_STATUS_SUCCESS

?>

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

int(0)

Przykład #2 Styl proceduralny

<?php

// Creates the font face
$fontface = new CairoToyFontFace('sans-serif');

// Get the font face status
var_dump(cairo_font_face_status($fontface)); // should be the value of CAIRO_STATUS_SUCCESS

?>

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

int(0)

Zobacz też:

  • Classname::Method()



add a note add a note User Contributed Notes CairoFontFace::status
There are no user contributed notes for this page.

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