protected override void VisitPenDown(PenDown item) { isPenDown = true; foreach (var pt in item.Points) { MoveTo(pt); } }
protected override void VisitPenDown(PenDown item) { foreach (var p in item.Points) { if (isPenDown && p.Equals(current)) { Console.WriteLine("Optimized dup"); continue; } isPenDown = true; segments.Add(new Line(current, p, currentAttribs)); current = p; } }
protected override void VisitPenDown(PenDown item) { TrasformPoints(item); }
protected abstract void VisitPenDown(PenDown item);
protected override void VisitPenDown(PenDown item) { Unprocessed(item); }