// SetFillRule is a wrapper around cairo_set_fill_rule(). func (v *Context) SetFillRule(fillRule FillRule) { C.cairo_set_fill_rule(v.native(), C.cairo_fill_rule_t(fillRule)) }
func (self *Surface) SetFillRule(fill_rule FillRule) { C.cairo_set_fill_rule(self.context, C.cairo_fill_rule_t(fill_rule)) }
//SetFillRule sets the fill rule on c. //The fill rule is used to determine which regions are inside or outside //a complex, potentially self-intersecting, path. // //The fill rule affects Fill and Clip. // //Originally cairo_set_fill_rule. func (c *Context) SetFillRule(f fillRule) *Context { C.cairo_set_fill_rule(c.c, f.c()) return c }