summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawpath.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-14 22:52:10 +0000
committerKarl Berry <karl@freefriends.org>2016-03-14 22:52:10 +0000
commit355bf72b81c6931539dd365430e78ebc10bcd0a2 (patch)
treeff9e855fb9eeb6cbc286d58e6cfe07bdb9cdf4ba /Build/source/utils/asymptote/drawpath.cc
parent1cdee1080e0ad8f88624629e00039d9fe89c1b54 (diff)
asy 2.37 sources
git-svn-id: svn://tug.org/texlive/trunk@40025 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/drawpath.cc')
-rw-r--r--Build/source/utils/asymptote/drawpath.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/drawpath.cc b/Build/source/utils/asymptote/drawpath.cc
index 14dd7692812..9e2bce31bde 100644
--- a/Build/source/utils/asymptote/drawpath.cc
+++ b/Build/source/utils/asymptote/drawpath.cc
@@ -133,8 +133,10 @@ bool drawPath::draw(psfile *out)
if (n == 0 || pentype.invisible())
return true;
- pen q = isdashed(pentype) ? adjustdash(pentype,p.arclength(),p.cyclic()) :
- pentype;
+ pen q=isdashed(pentype) ?
+ adjustdash(pentype,
+ p.transformed(inverse(pentype.getTransform())).arclength(),
+ p.cyclic()) : pentype;
penSave(out);
penTranslate(out);