Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cairo_available_fonts(3) [php man page]

CAIRO_AVAILABLE_FONTS(3)						 1						  CAIRO_AVAILABLE_FONTS(3)

Cairo::availableFonts - Retrieves the availables font types

       Object oriented style:

SYNOPSIS
publicstatic array Cairo::availableFonts (void ) DESCRIPTION
Procedural style: array cairo_available_fonts (void ) Returns an array with the available font backends PARAMETERS
This function has no parameters. RETURN VALUES
A list-type array with all available font backends. EXAMPLES
Example #1 Object oriented style <?php /* Object Oriented Style */ var_dump(Cairo::availableFonts()); ?> The above example will output something similar to: array(2) { [0]=> string(5) "WIN32" [1]=> string(4) "USER" } Example #2 Procedural style <?php /* Procedural style */ var_dump(cairo_available_fonts()); ?> The above example will output something similar to: array(2) { [0]=> string(5) "WIN32" [1]=> string(4) "USER" } SEE ALSO
Cairo::availableSurfaces. PHP Documentation Group CAIRO_AVAILABLE_FONTS(3)

Check Out this Related Man Page

CAIRO_FILL_EXTENTS(3)							 1						     CAIRO_FILL_EXTENTS(3)

CairoContext::fillExtents - Computes the filled area

       Object oriented style (method):

SYNOPSIS
public array CairoContext::fillExtents (void ) DESCRIPTION
Procedural style: array cairo_fill_extents (CairoContext $context) Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a CairoContext::fill opera- tion given the current path and fill parameters. If the current path is empty, returns an empty rectangle (0,0,0,0). Surface dimensions and clipping are not taken into account. Contrast with CairoContext::pathExtents, which is similar, but returns non-zero extents for some paths with no inked area, (such as a sim- ple line segment). Note that CairoContext::fillExtents must necessarily do more work to compute the precise inked areas in light of the fill rule, so Cairo- Context::pathExtents may be more desirable for sake of performance if the non-inked path extents are desired. PARAMETERS
o $context - A valid CairoContext object created with CairoContext::__construct or cairo_create(3) RETURN VALUES
An array with the coordinates of the afected area EXAMPLES
Example #1 Object oriented style <?php /* ... */ ?> The above example will output something similar to: Example #2 Procedural style <?php /* ... */ ?> The above example will output something similar to: SEE ALSO
CairoContext::fill, CairoContext::setFillRule, CairoContext::fillPreserve. PHP Documentation Group CAIRO_FILL_EXTENTS(3)
Man Page