Ejemplo n.º 1
0
 /// <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));
 }
Ejemplo n.º 2
0
        /// <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));
        }
Ejemplo n.º 3
0
 /// <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));
 }
Ejemplo n.º 4
0
 /// <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));
 }
Ejemplo n.º 5
0
 /// <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));
 }