C# Класс PixelFarm.Agg.VertexHelper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ArrangeOrientationsAll() публичный статический Метод

public static ArrangeOrientationsAll ( VertexStore myvxs, bool closewise ) : void
myvxs VertexStore
closewise bool
Результат void

FlipX() публичный статический Метод

public static FlipX ( VertexStore vxs, double x1, double x2 ) : void
vxs VertexStore
x1 double
x2 double
Результат void

FlipY() публичный статический Метод

public static FlipY ( VertexStore vxs, double y1, double y2 ) : void
vxs VertexStore
y1 double
y2 double
Результат void

InvertPolygon() публичный статический Метод

public static InvertPolygon ( VertexStore myvxs, int start ) : void
myvxs VertexStore
start int
Результат void

IsEmpty() публичный статический Метод

public static IsEmpty ( VertexCmd c ) : bool
c VertexCmd
Результат bool

IsEndFigure() публичный статический Метод

public static IsEndFigure ( VertexCmd c ) : bool
c VertexCmd
Результат bool

IsMoveTo() публичный статический Метод

public static IsMoveTo ( VertexCmd c ) : bool
c VertexCmd
Результат bool

IsNextPoly() публичный статический Метод

public static IsNextPoly ( VertexCmd c ) : bool
c VertexCmd
Результат bool

IsVertextCommand() публичный статический Метод

public static IsVertextCommand ( VertexCmd c ) : bool
c VertexCmd
Результат bool

ShortenPath() публичный статический Метод

public static ShortenPath ( VertexDistanceList vertexDistanceList, double s, bool closed ) : void
vertexDistanceList VertexDistanceList
s double
closed bool
Результат void