public void Add(SVGPolylineElement polylineElement) { SetFirstPoint(polylineElement.listPoints[0]); listObject.Add(new SVGGPolyLine(polylineElement.listPoints)); }
public void Add(SVGPolylineElement polylineElement) { SetFirstPoint(polylineElement.listPoints[0]); SetLastPoint(polylineElement.listPoints[polylineElement.listPoints.Count - 1]); listType.Add(SVGPathElementType.Polyline); listObject.Add(polylineElement); }
private void RenderPolylineElement(SVGPolylineElement polylineElement, ISVGPathDraw pathDraw) { int length = polylineElement.listPoints.Count; SVGPoint[] points = new SVGPoint[length]; for(int i = 0; i < length; i++) points[i] = polylineElement.listPoints[i].MatrixTransform(matrixTransform); pathDraw.Polyline(points); }