protected override void VisitPenRelative(PenRelative item) { ContainsRelative = true; foreach (var rpt in item.Points) { var pt = current.Add(rpt); MoveTo(pt); } }
protected override void VisitPenRelative(PenRelative item) { if (isPenDown) { foreach (var rp in item.Points) { var p = current.Add(rp); segments.Add(new Line(current, p, currentAttribs)); current = p; } } else { if (item.Points.Count > 0) { current = current.Add(item.Points.Last()); } } }
protected override void VisitPenRelative(PenRelative item) { Console.WriteLine("Warning:PR transformation not supported, results may be ugly"); for (int i = 0; i < item.Points.Count; i++) { item.Points[i] = TransformPointRelative(item.Points[i]); } result.Add(item); }
protected abstract void VisitPenRelative(PenRelative item);
protected override void VisitPenRelative(PenRelative item) { Unprocessed(item); }