C# Класс PixelFarm.Agg.Transform.Affine

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

Открытые свойства

Свойство Тип Описание
IdentityMatrix Affine
sx double

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

Метод Описание
CreateInvert ( ) : Affine
CreateTranslation ( double x, double y ) : Affine
GetScale ( ) : double
InverseTransform ( double &x, double &y ) : void
IsIdentity ( ) : bool
IsNotDegenerated ( double epsilon ) : bool
NewMatix ( ) : Affine
NewMatix ( AffinePlan creationPlan ) : Affine
NewRotation ( double angRad ) : Affine
NewScaling ( double scale ) : Affine
NewScaling ( double x, double y ) : Affine
NewSkewing ( double x, double y ) : Affine
NewTranslation ( System.Vector2 offset ) : Affine
NewTranslation ( double x, double y ) : Affine
Transform ( double &x, double &y ) : void
TransformToVxs ( VertexStore src, VertexStore outputVxs ) : VertexStore

we do NOT store vxs, return original outputVxs

TransformToVxs ( VertexStoreSnap src, VertexStore outputVxs ) : VertexStore

we do NOT store vxs, return original outputVxs

TranslateToVxs ( VertexStore src, double dx, double dy, VertexStore outputVxs ) : VertexStore

we do NOT store vxs, return original outputVxs

operator ( ) : Affine

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

Метод Описание
Affine ( Affine copyFrom ) : System
Affine ( Affine a, Affine b ) : System
Affine ( Affine copyFrom, AffinePlan creationPlan ) : System
Affine ( AffinePlan creationPlans ) : System
Affine ( double m ) : System
Affine ( double v0_sx, double v1_shy, double v2_shx, double v3_sy, double v4_tx, double v5_ty ) : System
CalculateDeterminantReciprocal ( ) : double
MultiplyMatrix ( double &sx, double &sy, double &shx, double &shy, double &tx, double &ty, Affine m ) : void
NewIdentity ( ) : Affine
is_equal_eps ( double v1, double v2 ) : bool

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

CreateInvert() публичный Метод

public CreateInvert ( ) : Affine
Результат Affine

CreateTranslation() публичный Метод

public CreateTranslation ( double x, double y ) : Affine
x double
y double
Результат Affine

GetScale() публичный Метод

public GetScale ( ) : double
Результат double

InverseTransform() публичный Метод

public InverseTransform ( double &x, double &y ) : void
x double
y double
Результат void

IsIdentity() публичный Метод

public IsIdentity ( ) : bool
Результат bool

IsNotDegenerated() публичный Метод

public IsNotDegenerated ( double epsilon ) : bool
epsilon double
Результат bool

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

public static NewMatix ( ) : Affine
Результат Affine

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

public static NewMatix ( AffinePlan creationPlan ) : Affine
creationPlan AffinePlan
Результат Affine

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

public static NewRotation ( double angRad ) : Affine
angRad double
Результат Affine

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

public static NewScaling ( double scale ) : Affine
scale double
Результат Affine

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

public static NewScaling ( double x, double y ) : Affine
x double
y double
Результат Affine

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

public static NewSkewing ( double x, double y ) : Affine
x double
y double
Результат Affine

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

public static NewTranslation ( System.Vector2 offset ) : Affine
offset System.Vector2
Результат Affine

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

public static NewTranslation ( double x, double y ) : Affine
x double
y double
Результат Affine

Transform() публичный Метод

public Transform ( double &x, double &y ) : void
x double
y double
Результат void

TransformToVxs() публичный Метод

we do NOT store vxs, return original outputVxs
public TransformToVxs ( VertexStore src, VertexStore outputVxs ) : VertexStore
src VertexStore
outputVxs VertexStore
Результат VertexStore

TransformToVxs() публичный Метод

we do NOT store vxs, return original outputVxs
public TransformToVxs ( VertexStoreSnap src, VertexStore outputVxs ) : VertexStore
src VertexStoreSnap
outputVxs VertexStore
Результат VertexStore

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

we do NOT store vxs, return original outputVxs
public static TranslateToVxs ( VertexStore src, double dx, double dy, VertexStore outputVxs ) : VertexStore
src VertexStore
dx double
dy double
outputVxs VertexStore
Результат VertexStore

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

public static operator ( ) : Affine
Результат Affine

Описание свойств

IdentityMatrix публичное статическое свойство

public static Affine,PixelFarm.Agg.Transform IdentityMatrix
Результат Affine

sx публичное свойство

public double sx
Результат double