Exemplo n.º 1
0
    public void LoadXML(string svgdata, MegaShape shape, bool clear, int start)
    {
        MegaXMLReader xml = new MegaXMLReader();
        MegaXMLNode node = xml.read(svgdata);

        if ( !clear )
            shape.splines.Clear();

        shape.selcurve = start;
        splineindex = start;
        ParseXML(node, shape);
    }
Exemplo n.º 2
0
    public void LoadXML(string svgdata, MegaShape shape, bool clear, int start)
    {
        MegaXMLReader xml  = new MegaXMLReader();
        MegaXMLNode   node = xml.read(svgdata);

        if (!clear)
        {
            shape.splines.Clear();
        }

        shape.selcurve = start;
        splineindex    = start;
        ParseXML(node, shape);
    }
Exemplo n.º 3
0
	public void LoadXMLTags(string sxldata)	//, float scale, bool cspeed, string name, float smoothness)
	{
		osmnodes.Clear();
		osmways.Clear();
		tags.Clear();

		MegaXMLReader xml = new MegaXMLReader();
		MegaXMLNode node = xml.read(sxldata);

		ParseXML(node);
	}