public void Parse(String txt) { switch (txt) { case "~": break; case "NonLogic": case "N": Value = PinShape.NonLogic; break; case "Inverted": case "I": Value = PinShape.Inverted; break; case "Clock": case "C": Value = PinShape.Clock; break; case "InvertedClock": case "IC": Value = PinShape.InvertedClock; break; case "InputLow": case "L": Value = PinShape.InputLow; break; case "ClockLow": case "CL": Value = PinShape.ClockLow; break; case "OutputLow": case "V": Value = PinShape.OutputLow; break; case "FallingEdge": case "F": Value = PinShape.FallingEdge; break; case "Line": case "": Value = PinShape.Line; break; default: throw new Exception("KicadPinShape parse error."); } }
public static void BeginOutputAttribute(int id, PinShape shape) { imnodesNative.imnodes_BeginOutputAttribute(id, shape); }
public static void BeginOutputAttribute(int id) { PinShape shape = PinShape._CircleFilled; imnodesNative.imnodes_BeginOutputAttribute(id, shape); }
public KicadLibPinShape(PinShape fill) { Value = fill; }
public static extern void imnodes_BeginOutputAttribute(int id, PinShape shape);