C# Class PixelFarm.Agg.VertexHelper

ファイルを表示 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
ArrangeOrientationsAll ( VertexStore myvxs, bool closewise ) : void
FlipX ( VertexStore vxs, double x1, double x2 ) : void
FlipY ( VertexStore vxs, double y1, double y2 ) : void
InvertPolygon ( VertexStore myvxs, int start ) : void
IsEmpty ( VertexCmd c ) : bool
IsEndFigure ( VertexCmd c ) : bool
IsMoveTo ( VertexCmd c ) : bool
IsNextPoly ( VertexCmd c ) : bool
IsVertextCommand ( VertexCmd c ) : bool
ShortenPath ( VertexDistanceList vertexDistanceList, double s, bool closed ) : void

Private Methods

Method Description
ArrangeOrientations ( VertexStore myvxs, int start, bool closewise ) : int
ArrangePolygonOrientation ( VertexStore myvxs, int start, bool clockwise ) : int
InvertPolygon ( VertexStore myvxs, int start, int end ) : void
IsCW ( VertexStore myvxs, int start, int end ) : bool

Method Details

ArrangeOrientationsAll() public static method

public static ArrangeOrientationsAll ( VertexStore myvxs, bool closewise ) : void
myvxs VertexStore
closewise bool
return void

FlipX() public static method

public static FlipX ( VertexStore vxs, double x1, double x2 ) : void
vxs VertexStore
x1 double
x2 double
return void

FlipY() public static method

public static FlipY ( VertexStore vxs, double y1, double y2 ) : void
vxs VertexStore
y1 double
y2 double
return void

InvertPolygon() public static method

public static InvertPolygon ( VertexStore myvxs, int start ) : void
myvxs VertexStore
start int
return void

IsEmpty() public static method

public static IsEmpty ( VertexCmd c ) : bool
c VertexCmd
return bool

IsEndFigure() public static method

public static IsEndFigure ( VertexCmd c ) : bool
c VertexCmd
return bool

IsMoveTo() public static method

public static IsMoveTo ( VertexCmd c ) : bool
c VertexCmd
return bool

IsNextPoly() public static method

public static IsNextPoly ( VertexCmd c ) : bool
c VertexCmd
return bool

IsVertextCommand() public static method

public static IsVertextCommand ( VertexCmd c ) : bool
c VertexCmd
return bool

ShortenPath() public static method

public static ShortenPath ( VertexDistanceList vertexDistanceList, double s, bool closed ) : void
vertexDistanceList VertexDistanceList
s double
closed bool
return void