Query: cairo_font_face_status
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CAIRO_FONT_FACE_STATUS(3) 1 CAIRO_FONT_FACE_STATUS(3) CairoFontFace::status - Check for CairoFontFace errors Object oriented style (method):SYNOPSISpublic int CairoFontFace::status (void )DESCRIPTIONProcedural style: int cairo_font_face_status (CairoFontFace $fontface) Checks whether an error has previously occurred for this font facePARAMETERSo $fontface - A valid CairoFontFace objectRETURN VALUESCAIRO_STATUS_SUCCESS or another error such as CAIRO_STATUS_NO_MEMORY.EXAMPLESExample #1 Object oriented style <?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 ?> The above example will output something similar to: int(0) Example #2 Procedural style <?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 ?> The above example will output something similar to: int(0)SEE ALSOClassname::Method. PHP Documentation Group CAIRO_FONT_FACE_STATUS(3)
Related Man Pages |
---|
lua-oocairo-fontface(3) - debian |
lua-oocairo-scaledfont(3) - debian |
cairo_set_font_face(3) - php |
cairo_copy_path(3) - php |
cairo_clip_rectangle_list(3) - php |
Similar Topics in the Unix Linux Community |
---|
Dashboard style tool(s)? |
substr of a file |
Object Detection in Video Streams Using Staggered Sampling |
Bbcode css |