Inheritance: SVGTransformable, ISVGDrawable
 public void Add(SVGPolylineElement polylineElement)
 {
     SetFirstPoint(polylineElement.listPoints[0]);
     listObject.Add(new SVGGPolyLine(polylineElement.listPoints));
 }
Exemple #2
0
    public void Add(SVGPolylineElement polylineElement)
    {
        SetFirstPoint(polylineElement.listPoints[0]);
        SetLastPoint(polylineElement.listPoints[polylineElement.listPoints.Count - 1]);

        listType.Add(SVGPathElementType.Polyline);
        listObject.Add(polylineElement);
    }
Exemple #3
0
    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);
    }
 public void Add(SVGPolylineElement polylineElement)
 {
     SetFirstPoint(polylineElement.listPoints[0]);
     listObject.Add(new SVGGPolyLine(polylineElement.listPoints));
 }