CreateShapes() private method

private CreateShapes ( ) : String
return String
Exemplo n.º 1
0
        private void vetorizarPixelArtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Vectorize grafo = new Vectorize();


            String c = "";

            c = grafo.ImageToGraph(OriImg);
            c = grafo.SolveAmbiguities();
            c = grafo.ReshapePixelCell();
            c = grafo.DrawNewGraphEdges();
            c = grafo.CreateNewCurves();
            //System.Diagnostics.Process.Start(grafo.ImageToGraph(OriImg));
            //System.Diagnostics.Process.Start(grafo.SolveAmbiguities());
            //System.Diagnostics.Process.Start(grafo.ReshapePixelCell());
            //System.Diagnostics.Process.Start(grafo.DrawNewGraphEdges());
            //System.Diagnostics.Process.Start(grafo.DrawNewCurves());
            System.Diagnostics.Process.Start(grafo.CreateShapes());
            grafo = null;
        }
Exemplo n.º 2
0
        private void vetorizarPixelArtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Vectorize grafo = new Vectorize();

            String c = "";
            c = grafo.ImageToGraph(OriImg);
            c = grafo.SolveAmbiguities();
            c = grafo.ReshapePixelCell();
            c = grafo.DrawNewGraphEdges();
            c = grafo.CreateNewCurves();
            //System.Diagnostics.Process.Start(grafo.ImageToGraph(OriImg));
            //System.Diagnostics.Process.Start(grafo.SolveAmbiguities());
            //System.Diagnostics.Process.Start(grafo.ReshapePixelCell());
            //System.Diagnostics.Process.Start(grafo.DrawNewGraphEdges());
            //System.Diagnostics.Process.Start(grafo.DrawNewCurves());
            System.Diagnostics.Process.Start(grafo.CreateShapes());
            grafo = null;
        }