diff options
author | Norbert Preining <norbert@preining.info> | 2021-11-01 03:02:12 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-11-01 03:02:12 +0000 |
commit | b27d5ecc7cba92635475b78660b083793d93a3e7 (patch) | |
tree | 19a78e0cdc4b9270d4ce8ab2d2b492dd332c7f2a /graphics/pgf/contrib/circuitikz/tex/pgfcirctripoles.tex | |
parent | 7d4662184ed36e01faf1fbe7b6e19567a331da2f (diff) |
CTAN sync 202111010302
Diffstat (limited to 'graphics/pgf/contrib/circuitikz/tex/pgfcirctripoles.tex')
-rw-r--r-- | graphics/pgf/contrib/circuitikz/tex/pgfcirctripoles.tex | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/graphics/pgf/contrib/circuitikz/tex/pgfcirctripoles.tex b/graphics/pgf/contrib/circuitikz/tex/pgfcirctripoles.tex index 2dd2eee9a9..6f07d6042f 100644 --- a/graphics/pgf/contrib/circuitikz/tex/pgfcirctripoles.tex +++ b/graphics/pgf/contrib/circuitikz/tex/pgfcirctripoles.tex @@ -4403,6 +4403,10 @@ \northeast \pgf@y=-\ctikzvalof{tripoles/#1/gate height}\pgf@y } + \anchor{nobase}{ + \left + \pgf@x=\ctikzvalof{tripoles/#1/gate width}\pgf@x + } } { % add the circle if requested (before everything else, so we can fill it) @@ -4485,18 +4489,20 @@ \pgfnode{trarrow}{\@@anchor}{}{}{\pgfusepath{stroke}} \endpgfscope %draw gate - \ifpgf@circuit@trans@ntype - \pgfpathmoveto{\pgfpoint - {\ctikzvalof{tripoles/#1/gate width}\pgf@circ@res@left} - {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@down}} - \pgfpathlineto{\pgfpoint{\pgf@circ@res@left-\pgfhorizontaltransformationadjustment*.5*\pgflinewidth}% - {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@down}} - \else - \pgfpathmoveto{\pgfpoint - {\ctikzvalof{tripoles/#1/gate width}\pgf@circ@res@left} - {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@up}} - \pgfpathlineto{\pgfpoint{\pgf@circ@res@left-\pgfhorizontaltransformationadjustment*.5*\pgflinewidth}% - {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@up}} + \ifpgf@circuit@bpt@drawgate + \ifpgf@circuit@trans@ntype + \pgfpathmoveto{\pgfpoint + {\ctikzvalof{tripoles/#1/gate width}\pgf@circ@res@left} + {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@down}} + \pgfpathlineto{\pgfpoint{\pgf@circ@res@left-\pgfhorizontaltransformationadjustment*.5*\pgflinewidth}% + {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@down}} + \else + \pgfpathmoveto{\pgfpoint + {\ctikzvalof{tripoles/#1/gate width}\pgf@circ@res@left} + {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@up}} + \pgfpathlineto{\pgfpoint{\pgf@circ@res@left-\pgfhorizontaltransformationadjustment*.5*\pgflinewidth}% + {\ctikzvalof{tripoles/#1/conn height}\pgf@circ@res@up}} + \fi \fi \pgfusepath{draw} } |