CairoFontFace::statuscairo_font_face_statusCheck for CairoFontFace errors DescriptionObject oriented style (method):
public int CairoFontFace::status
( void
)
Procedural style:
int cairo_font_face_status
( CairoFontFace
$fontface
)Checks whether an error has previously occurred for this font face Parameters
Return ValuesCAIRO_STATUS_SUCCESS or another error such as CAIRO_STATUS_NO_MEMORY. Examples
Example #1 Object oriented style
<?php The above example will output something similar to: int(0)
Example #2 Procedural style
<?php The above example will output something similar to: int(0) See Also
|