From: W. Trevor King Date: Mon, 10 Aug 2009 21:46:53 +0000 (-0400) Subject: Use noncyclic unitcircle in Circ.asy's source(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e074e591cfa8acc01b2b420562aefa82961d81f;p=course.git Use noncyclic unitcircle in Circ.asy's source(). This avoids the filling of cyclic paths in TwoTerminal.draw(). --- diff --git a/asymptote/Circ.asy b/asymptote/Circ.asy index dae2959..f78507e 100644 --- a/asymptote/Circ.asy +++ b/asymptote/Circ.asy @@ -506,7 +506,7 @@ TwoTerminal source(pair beg, int type, real ang, string name, string val, len = 2ssize; lchar = 0.5ssize; lcharv = 0.5ssize; pLine.push((0,0)--(.5ssize,0)); - pLine.push(shift((ssize,0))*scale(ssize/2)*unitcircle); + pLine.push(shift((ssize,0))*scale(ssize/2)*(E..N..W..S..E)); pLine.push((1.5ssize,0)--(2ssize,0)); if (type == AC) { pLine.push((2ssize/3,0ssize){NE}..{E}((1/3+.5)*ssize,.2ssize)..{SE}(ssize,0)..{E}((2/3+.5)*ssize,-.2ssize)..{NE}(4ssize/3,0));