diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-16 17:27:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-16 17:27:26 +0000 |
commit | fbb7e835bffb3653af5165cbcc62aef0df8bfe93 (patch) | |
tree | 556994e281f2760742f38823577c476dbcb84122 /Master/texmf-dist/asymptote/geometry.asy | |
parent | df88f83b1126c57b3ca9b0371071f36caba3fbbf (diff) |
asymptote 2.41 for TL17
git-svn-id: svn://tug.org/texlive/trunk@43843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/geometry.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/geometry.asy | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Master/texmf-dist/asymptote/geometry.asy b/Master/texmf-dist/asymptote/geometry.asy index 580c49e2e69..2bc062f3560 100644 --- a/Master/texmf-dist/asymptote/geometry.asy +++ b/Master/texmf-dist/asymptote/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); |