C# Class PixelArtUpScaler.Vectorize

显示文件 Open project: michaelrbk/pixelart-vectorizer Class Usage Examples

Public Methods

Method Description
GetOrAddVertex ( int x, int y, EdgeTag>.UndirectedGraph graph ) : Pixel
ReshapePixelCell ( ) : String
VertexSearch ( int x, int y, EdgeTag>.UndirectedGraph graph ) : Pixel
curvesOfEdgesToPoints ( ArrayList newCurvesOfEdges ) : ArrayList

Private Methods

Method Description
AddNewEdge ( Pixel p1, Pixel p2, Color cA, Color cB, EdgeTag>.UndirectedGraph graph ) : void
AngleBetween2Lines ( bool>.TaggedUndirectedEdge edge1, bool>.TaggedUndirectedEdge edge2 ) : double
CreateNewCurves ( ) : String
CreateShapes ( ) : String
CurveSize ( EdgeTag>.TaggedUndirectedEdge edge ) : int
DrawNewGraphEdges ( ) : String
HasEdges ( int x1, int y1, int x2, int y2, EdgeTag>.UndirectedGraph graph ) : bool
ImageToGraph ( Bitmap b ) : String
PixelColorIs ( int x, int y, EdgeTag>.UndirectedGraph g ) : Color
SolveAmbiguities ( ) : String
getFirstPixel ( ArrayList curve ) : Pixel
getLastPixel ( ArrayList curve ) : Pixel

Method Details

GetOrAddVertex() public static method

public static GetOrAddVertex ( int x, int y, EdgeTag>.UndirectedGraph graph ) : Pixel
x int
y int
graph EdgeTag>.UndirectedGraph
return Pixel

ReshapePixelCell() public method

public ReshapePixelCell ( ) : String
return String

VertexSearch() public static method

public static VertexSearch ( int x, int y, EdgeTag>.UndirectedGraph graph ) : Pixel
x int
y int
graph EdgeTag>.UndirectedGraph
return Pixel

curvesOfEdgesToPoints() public method

public curvesOfEdgesToPoints ( ArrayList newCurvesOfEdges ) : ArrayList
newCurvesOfEdges System.Collections.ArrayList
return System.Collections.ArrayList