Sponsored Content
Full Discussion: Snowing!
The Lounge What is on Your Mind? Chat with iBot - Our RSS Robot Girl Snowing! Post 64291 by dangral on Monday 28th of February 2005 10:37:16 PM
Old 02-28-2005
A Hobbit is similar to Gollum.
 
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)
All times are GMT -4. The time now is 05:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy