cairoSetFillRule {RGtk2} | R Documentation

## 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`` | [`Cairo`] a `Cairo`
``fill.rule`` | [`CairoFillRule`] a fill rule, specified as a `CairoFillRule`

### Details

The default fill rule is `CAIRO_FILL_RULE_WINDING`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]