php man page for cairofillrule

Query: cairofillrule

OS: php

Section: 3

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

CAIROFILLRULE(3)							 1							  CAIROFILLRULE(3)

The CairoFillRule class

INTRODUCTION
A CairoFillRule is used to select how paths are filled. For both fill rules, whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. (Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.) The default fill rule is CairoFillRule::WINDING.
CLASS SYNOPSIS
CairoFillRule CairoFillRule Constants o const integer$CairoFillRule::WINDING0 o const integer$CairoFillRule::EVEN_ODD1
PREDEFINED CONSTANTS
o CairoFillRule::WINDING -If the path crosses the ray from left-to-right, counts +1. If the path crosses the ray from right to left, counts -1. (Left and right are determined from the perspective of looking along the ray from the starting point.) If the total count is non-zero, the point will be filled. o CairoFillRule::EVEN_ODD -Counts the total number of intersections, without regard to the orientation of the contour. If the total number of intersections is odd, the point will be filled. PHP Documentation Group CAIROFILLRULE(3)
Related Man Pages
sbcylinder(3) - debian
xsetfillrule(3) - hpux
mlib_volumefindmax_s16(3mlib) - sunos
mlib_volumefindmax_u8(3mlib) - opensolaris
vwrays(1) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Don Cragun as Lead Moderator