Learn R Programming

RGtk2 (version 2.20.31)

cairoSetFillRule: cairoSetFillRule

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 cairoFill and cairoClip. See CairoFillRule for details on the semantics of each available fill rule.

Usage

cairoSetFillRule(cr, fill.rule)

Arguments

cr
fill.rule
[CairoFillRule] a fill rule, specified as a CairoFillRule

Details

The default fill rule is CAIRO_FILL_RULE_WINDING.