Update the symbol library.
This commit is contained in:
parent
baed5ee4bd
commit
ac56c16ab8
@ -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)
|
||||
|
@ -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>
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@ -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)
|
||||
|
@ -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
|
||||
|
@ -40,11 +40,12 @@ end
|
||||
local render_polar = function (cr)
|
||||
render (cr)
|
||||
|
||||
cr.move_to (0.6, -1)
|
||||
cr.line_to (1.4, -1)
|
||||
-- The plus sign
|
||||
cr.move_to (-0.6, -1)
|
||||
cr.line_to (-1.4, -1)
|
||||
|
||||
cr.move_to (1, -1.4)
|
||||
cr.line_to (1, -0.6)
|
||||
cr.move_to (-1, -1.4)
|
||||
cr.line_to (-1, -0.6)
|
||||
|
||||
cr.stroke ()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user