![Neil Roberts](/assets/img/avatar_default.png)
This adds two new API calls- cogl_path_set_fill_rule and cogl_path_get_fill_rule. This allows modifying the fill rule of the current path. In addition to the previous default fill rule of 'even-odd' it now supports the 'non-zero' rule. The fill rule is a property of the path (not the Cogl context) so creating a new path or preserving a path with cogl_path_get_handle affects the fill rule.
3.1 KiB
615x208px
3.1 KiB
615x208px
![](/brl/mutter/raw/commit/0216f0b2810f6c3f7db2b7ad615a9e259ab7059f/doc/reference/cogl/fill-rule-non-zero.png)