mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
![]() Fill rule is used to select how paths are filled. For both fill rules, wheter or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doens't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. @API Addtions: enum class TVG_EXPORT FillRule { Winding = 0, EvenOdd }; Result Fill::rule(FillRule r) noexcept; FillRule Fill::rule() const noexcept; @Examples: shape->rule(FillRule::EvenOdd); @issue: 97 |
||
---|---|---|
.. | ||
meson.build | ||
thorvg.h | ||
thorvg_capi.h |