Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cairo_fill_extents(3) [php 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)

Check Out this Related Man Page

CAIRO_FILL_PRESERVE(3)							 1						    CAIRO_FILL_PRESERVE(3)

CairoContext::fillPreserve - Fills and preserve the current path

       Object oriented style (method):

SYNOPSIS
public void CairoContext::fillPreserve (void ) DESCRIPTION
Procedural style: void cairo_fill_preserve (CairoContext $context) A drawing operator that fills the current path according to the current CairoFillRule, (each sub-path is implicitly closed before being filled). Unlike CairoContext::fill, CairoContext::fillPreserve (Procedural cairo_fill(3), cairo_fill_preserve(3), respectively) preserves the path within the Context. PARAMETERS
o $context - A valid CairoContext object created with CairoContext::__construct or cairo_create(3) RETURN VALUES
No value is returned. 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::setFillRule, CairoContext::fill. PHP Documentation Group CAIRO_FILL_PRESERVE(3)
Man Page