php man page for cairo_fill_extents

Query: cairo_fill_extents

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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)
Related Man Pages
cairo_append_path(3) - php
cairo_close_path(3) - php
cairo_copy_path_flat(3) - php
cairo_fill_extents(3) - php
cairo_fill_preserve(3) - php
Similar Topics in the Unix Linux Community
Command to output ones (like zero-fill), with progress indicator