diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2011-02-14 10:46:57 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2011-02-14 10:46:57 +0100 |
commit | ac56c16ab83e6171c6e70454ec77f0e0b0764b38 (patch) | |
tree | 0f36f3d54a75f293d10b1ef815fbcabbbee0e8e5 /share/library/Active | |
parent | baed5ee4bd2dd04e49df650b07278a8ceb900cab (diff) | |
download | logdiag-ac56c16ab83e6171c6e70454ec77f0e0b0764b38.tar.gz logdiag-ac56c16ab83e6171c6e70454ec77f0e0b0764b38.tar.xz logdiag-ac56c16ab83e6171c6e70454ec77f0e0b0764b38.zip |
Update the symbol library.
Diffstat (limited to 'share/library/Active')
-rw-r--r-- | share/library/Active/bipolar.lua | 4 | ||||
-rw-r--r-- | share/library/Active/icon.svg | 2 | ||||
-rw-r--r-- | share/library/Active/igfet.lua | 13 | ||||
-rw-r--r-- | share/library/Active/jfet.lua | 19 |
4 files changed, 27 insertions, 11 deletions
diff --git a/share/library/Active/bipolar.lua b/share/library/Active/bipolar.lua index f08983f..5a5fc14 100644 --- a/share/library/Active/bipolar.lua +++ b/share/library/Active/bipolar.lua @@ -40,8 +40,8 @@ local render_npn = function (cr) render (cr) cr.save () - cr.translate (0, -0.5) - cr.rotate (math.atan2 (-2, -1.5)) + cr.translate (0, 0.5) + cr.rotate (math.atan2 (-2, 1.5)) cr.move_to (-0.4, 0.8) cr.line_to (0, 1.4) diff --git a/share/library/Active/icon.svg b/share/library/Active/icon.svg index 66f74ec..802c7a4 100644 --- a/share/library/Active/icon.svg +++ b/share/library/Active/icon.svg @@ -46,7 +46,7 @@ id="path3770" style="fill:none;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> <path - d="m 82,31 15,0 -5,15" + d="M 78,92 93,92 88,77" id="path3772" style="fill:none;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> </g> diff --git a/share/library/Active/igfet.lua b/share/library/Active/igfet.lua index 4479269..58268f8 100644 --- a/share/library/Active/igfet.lua +++ b/share/library/Active/igfet.lua @@ -20,8 +20,7 @@ local terminals = {{-2, 1}, {2, 1}, {2, 0}, {2, -1}} -- Rendering local render = function (cr) -- The terminals - cr.move_to (-2, 1) - cr.line_to (-0.3, 1) + cr.move_to (-0.3, 1) cr.line_to (-0.3, -1) cr.move_to (0, 1) @@ -49,6 +48,11 @@ end local render_igfet_n = function (cr) render (cr) + -- The left-side terminal + cr.move_to (-2, 1) + cr.line_to (-0.3, 1) + + -- The arrow cr.move_to (0.9, -0.4) cr.line_to (0.4, 0) cr.line_to (0.9, 0.4) @@ -59,6 +63,11 @@ end local render_igfet_p = function (cr) render (cr) + -- The left-side terminal + cr.move_to (-2, -1) + cr.line_to (-0.3, -1) + + -- The arrow cr.move_to (0.4, -0.4) cr.line_to (0.9, 0) cr.line_to (0.4, 0.4) diff --git a/share/library/Active/jfet.lua b/share/library/Active/jfet.lua index 30c0eb9..51e81f6 100644 --- a/share/library/Active/jfet.lua +++ b/share/library/Active/jfet.lua @@ -20,9 +20,6 @@ local terminals = {{-2, 1}, {2, 1}, {2, -1}} -- Rendering local render = function (cr) -- The terminals - cr.move_to (-2, 1) - cr.line_to (0, 1) - cr.move_to (0, 1) cr.line_to (2, 1) @@ -39,6 +36,11 @@ end local render_jfet_n = function (cr) render (cr) + -- The left-side terminal + cr.move_to (-2, 1) + cr.line_to (0, 1) + + -- The arrow cr.move_to (-1, 0.6) cr.line_to (-0.5, 1) cr.line_to (-1, 1.4) @@ -49,9 +51,14 @@ end local render_jfet_p = function (cr) render (cr) - cr.move_to (-0.4, 0.6) - cr.line_to (-1, 1) - cr.line_to (-0.4, 1.4) + -- The left-side terminal + cr.move_to (-2, -1) + cr.line_to (0, -1) + + -- The arrow + cr.move_to (-0.4, -0.6) + cr.line_to (-1, -1) + cr.line_to (-0.4, -1.4) cr.stroke () end |