schematic-symbols 0.0.99 → 0.0.101
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -9
- package/dist/index.js +2091 -1671
- package/dist/index.js.map +1 -1
- package/drawing/arc.ts +3 -1
- package/drawing/getSvg.ts +32 -19
- package/drawing/modify-symbol/modify-symbol.ts +91 -0
- package/drawing/pathToSvgD.ts +15 -2
- package/drawing/rotateSymbol.ts +35 -19
- package/drawing/svgPathToPoints.ts +1 -0
- package/drawing/utils/makeYUpPositive.ts +46 -0
- package/package.json +1 -1
- package/symbols/ac_voltmeter_horz.ts +2 -2
- package/symbols/ac_voltmeter_vert.ts +5 -23
- package/symbols/avalanche_diode_vert.ts +4 -11
- package/symbols/battery_vert.ts +4 -2
- package/symbols/crystal_horz.ts +2 -2
- package/symbols/diode_right.ts +7 -17
- package/symbols/fuse_horz.ts +1 -1
- package/symbols/ground_horz.ts +4 -4
- package/symbols/ground_vert.ts +3 -30
- package/symbols/schottky_diode_horz.ts +7 -16
package/dist/index.d.ts
CHANGED
@@ -68,15 +68,7 @@ declare function resizeSymbol(symbol: SchSymbol, newSize: {
|
|
68
68
|
|
69
69
|
declare const _default: {
|
70
70
|
ac_voltmeter_horz: undefined;
|
71
|
-
ac_voltmeter_vert:
|
72
|
-
primitives: Primitive[];
|
73
|
-
center: Point;
|
74
|
-
ports: Port[];
|
75
|
-
size: {
|
76
|
-
width: number;
|
77
|
-
height: number;
|
78
|
-
};
|
79
|
-
};
|
71
|
+
ac_voltmeter_vert: undefined;
|
80
72
|
avalanche_diode_horz: undefined;
|
81
73
|
avalanche_diode_vert: undefined;
|
82
74
|
battery_horz: undefined;
|