Method Cairo.Context()->set_fill_rule()


Method set_fill_rule

void set_fill_rule(int fill_rule)

Description

Set the current fill rule within the cairo context. The fill rule is used to determine which regions are inside or outside a complex (potentially self-intersecting) path. The current fill rule affects both fill() and clip().

The default fill rule is FILL_RULE_WINDING.

Parameter fill_rule

a fill rule