mirror of
https://github.com/brl/mutter.git
synced 2025-02-05 08:04:10 +00:00
![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.0 KiB
616x209px
3.0 KiB
616x209px
![](/isa/mutter/raw/commit/a34f4f46b69c89c57cd786c63b7faf20da63b5d0/doc/reference/cogl/fill-rule-even-odd.png)