From 8e074e591cfa8acc01b2b420562aefa82961d81f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 10 Aug 2009 17:46:53 -0400 Subject: [PATCH] Use noncyclic unitcircle in Circ.asy's source(). This avoids the filling of cyclic paths in TwoTerminal.draw(). --- asymptote/Circ.asy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.26.2