diff options
| author | Jeff Muizelaar <jrmuizel@uwaterloo.ca> | 2007-02-19 16:06:57 -0500 |
|---|---|---|
| committer | Jeff Muizelaar <jrmuizel@uwaterloo.ca> | 2007-02-19 16:06:57 -0500 |
| commit | afd5f92195335a88d7c1ff181a1bd03ca01b424f (patch) | |
| tree | d7371e5e9960f3443c440f46045415575267c9e4 /test/dash-caps-joins-ref.png | |
| parent | 78ae474d96b48ccba3d18dc26c416ebd6daab502 (diff) | |
Fix several issues with dashed stroking code, particularly 'leaky-dash'
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.
Diffstat (limited to 'test/dash-caps-joins-ref.png')
| -rw-r--r-- | test/dash-caps-joins-ref.png | bin | 4680 -> 4718 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/dash-caps-joins-ref.png b/test/dash-caps-joins-ref.png Binary files differindex ec1f2f7d..15a06798 100644 --- a/test/dash-caps-joins-ref.png +++ b/test/dash-caps-joins-ref.png |
