/// <summary> /// Draw trace from pad to pad /// </summary> public PointF DrawTrace(Components.Pad pad, Components.Pad to, double width = 0.15) { return(DrawTrace(pad.Location, to.Location, pad.Net, pad.Owner.Front, width)); }
/// <summary> /// Drawe a trace from pad with delta /// </summary> public PointF DrawTrace(Components.Pad from, SizeF size, double width = 0.15) { var dest = from.Location + size; return(DrawTrace(from, dest, width)); }
/// <summary> /// Start new trace from pad /// </summary> /// <returns></returns> public PointF SetTraceStart(Components.Pad pad, double width = 0.15) { return(SetTraceStart(pad.Location, pad.Net, pad.Owner.Front, width)); }
/// <summary> /// Drawe a trace from pad with delta /// </summary> public PointF DrawTrace(Components.Pad from, double dX, double dY, double width = 0.15) { return(DrawTrace(from, new SizeF((float)dX, (float)(dY)), width)); }
/// <summary> /// Continue trace to a pad. This will adjust the net on the pad /// </summary> /// <param name="to">Pad to advance to</param> /// <returns>Next point</returns> public PointF ContinueTrace(Components.Pad to) { to.Net = lastNet; return(DrawTrace(lastPoint, to.Location, lastNet, lastFront, lastWidth)); }