diff options
Diffstat (limited to 'Build/source/utils/asymptote/drawpath.cc')
-rw-r--r-- | Build/source/utils/asymptote/drawpath.cc | 6 |
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); |