summaryrefslogtreecommitdiff
path: root/test/dash-caps-joins-ref.png
diff options
context:
space:
mode:
authorJeff Muizelaar <jrmuizel@uwaterloo.ca>2007-02-19 16:06:57 -0500
committerJeff Muizelaar <jrmuizel@uwaterloo.ca>2007-02-19 16:06:57 -0500
commitafd5f92195335a88d7c1ff181a1bd03ca01b424f (patch)
treed7371e5e9960f3443c440f46045415575267c9e4 /test/dash-caps-joins-ref.png
parent78ae474d96b48ccba3d18dc26c416ebd6daab502 (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.pngbin4680 -> 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
index ec1f2f7d..15a06798 100644
--- a/test/dash-caps-joins-ref.png
+++ b/test/dash-caps-joins-ref.png
Binary files differ