상속: SVGTransformable, ISVGDrawable
예제 #1
0
 public void Add(SVGPolylineElement polylineElement)
 {
     SetFirstPoint(polylineElement.listPoints[0]);
     listObject.Add(new SVGGPolyLine(polylineElement.listPoints));
 }
예제 #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);
    }
예제 #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);
    }
예제 #4
0
 public void Add(SVGPolylineElement polylineElement)
 {
     SetFirstPoint(polylineElement.listPoints[0]);
     listObject.Add(new SVGGPolyLine(polylineElement.listPoints));
 }