C# Class PixelFarm.Agg.VertexHelper

Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static ArrangeOrientationsAll ( VertexStore myvxs, bool closewise ) : void
myvxs VertexStore
closewise bool
Résultat void

FlipX() public static méthode

public static FlipX ( VertexStore vxs, double x1, double x2 ) : void
vxs VertexStore
x1 double
x2 double
Résultat void

FlipY() public static méthode

public static FlipY ( VertexStore vxs, double y1, double y2 ) : void
vxs VertexStore
y1 double
y2 double
Résultat void

InvertPolygon() public static méthode

public static InvertPolygon ( VertexStore myvxs, int start ) : void
myvxs VertexStore
start int
Résultat void

IsEmpty() public static méthode

public static IsEmpty ( VertexCmd c ) : bool
c VertexCmd
Résultat bool

IsEndFigure() public static méthode

public static IsEndFigure ( VertexCmd c ) : bool
c VertexCmd
Résultat bool

IsMoveTo() public static méthode

public static IsMoveTo ( VertexCmd c ) : bool
c VertexCmd
Résultat bool

IsNextPoly() public static méthode

public static IsNextPoly ( VertexCmd c ) : bool
c VertexCmd
Résultat bool

IsVertextCommand() public static méthode

public static IsVertextCommand ( VertexCmd c ) : bool
c VertexCmd
Résultat bool

ShortenPath() public static méthode

public static ShortenPath ( VertexDistanceList vertexDistanceList, double s, bool closed ) : void
vertexDistanceList VertexDistanceList
s double
closed bool
Résultat void