diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-23 22:37:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-23 22:37:58 +0000 |
commit | 511d523f9c0456937f392cab51c70f0dcf6ae1bc (patch) | |
tree | 2575821a91e042c74a61c3cb6387cc769e0a0b87 /Build/source/utils/asymptote/base | |
parent | 5db9b67730d1ad8391da2e18faa01062b64d1da0 (diff) |
asy 2.41 sources
git-svn-id: svn://tug.org/texlive/trunk@43590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/base')
-rw-r--r-- | Build/source/utils/asymptote/base/geometry.asy | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/base/geometry.asy b/Build/source/utils/asymptote/base/geometry.asy index 580c49e2e69..2bc062f3560 100644 --- a/Build/source/utils/asymptote/base/geometry.asy +++ b/Build/source/utils/asymptote/base/geometry.asy @@ -1295,7 +1295,7 @@ void perpendicularmark(picture pic = currentpicture, point z, {/*<asyxml></code><documentation>Draw a perpendicular symbol at z aligned in the direction align relative to the path z--z + dir. dir(45 + n * 90), where n in N*, are common values for 'align'.</documentation></function></asyxml>*/ - p = squarecap + p; + p = squarecap + miterjoin + p; if(size == 0) size = perpfactor * 3mm + sqrt(1 + linewidth(p)) - 1; frame apic; pair d1 = size * align * unit(dir) * dir(-45); @@ -1354,8 +1354,6 @@ void markrightangle(picture pic = currentpicture, point A, point O, pair dir = Ap - Op; real a1 = degrees(dir); pair align = rotate(-a1) * unit(dir(Op--Ap, Op--Bp)); - if (margin == NoMargin) - margin = TrueMargin(linewidth(currentpen)/2, linewidth(currentpen)/2); perpendicularmark(pic = pic, z = O, align = align, dir = dir, size = size, p = p, margin = margin, filltype = filltype); |