mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 00:58:02 +02:00
Adds some state, 'dash_starts_on', to keep track of whether a dashed path starts with dash_on or not. This fixes the 'leaky-dash' bug (#4863) and some other degenerate cases. The new version is, in my opinion, considerably cleaner and more understandable than the old code. Finally, the rewrite changes the behaviour of dashing to add degenerate caps around corners that start at the same place as a dash begins. This matches the behaviour seen in acroread. This rewrite is based on an initial rewrite done by Jeff Smith.
7.7 KiB
184x296px
7.7 KiB
184x296px