C# Class PixelFarm.Agg.Transform.Affine

Inheritance: ICoordTransformer
Datei anzeigen Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
IdentityMatrix Affine
sx double

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

CreateInvert() public method

public CreateInvert ( ) : Affine
return Affine

CreateTranslation() public method

public CreateTranslation ( double x, double y ) : Affine
x double
y double
return Affine

GetScale() public method

public GetScale ( ) : double
return double

InverseTransform() public method

public InverseTransform ( double &x, double &y ) : void
x double
y double
return void

IsIdentity() public method

public IsIdentity ( ) : bool
return bool

IsNotDegenerated() public method

public IsNotDegenerated ( double epsilon ) : bool
epsilon double
return bool

NewMatix() public static method

public static NewMatix ( ) : Affine
return Affine

NewMatix() public static method

public static NewMatix ( AffinePlan creationPlan ) : Affine
creationPlan AffinePlan
return Affine

NewRotation() public static method

public static NewRotation ( double angRad ) : Affine
angRad double
return Affine

NewScaling() public static method

public static NewScaling ( double scale ) : Affine
scale double
return Affine

NewScaling() public static method

public static NewScaling ( double x, double y ) : Affine
x double
y double
return Affine

NewSkewing() public static method

public static NewSkewing ( double x, double y ) : Affine
x double
y double
return Affine

NewTranslation() public static method

public static NewTranslation ( System.Vector2 offset ) : Affine
offset System.Vector2
return Affine

NewTranslation() public static method

public static NewTranslation ( double x, double y ) : Affine
x double
y double
return Affine

Transform() public method

public Transform ( double &x, double &y ) : void
x double
y double
return void

TransformToVxs() public method

we do NOT store vxs, return original outputVxs
public TransformToVxs ( VertexStore src, VertexStore outputVxs ) : VertexStore
src VertexStore
outputVxs VertexStore
return VertexStore

TransformToVxs() public method

we do NOT store vxs, return original outputVxs
public TransformToVxs ( VertexStoreSnap src, VertexStore outputVxs ) : VertexStore
src VertexStoreSnap
outputVxs VertexStore
return VertexStore

TranslateToVxs() public static method

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
return VertexStore

operator() public static method

public static operator ( ) : Affine
return Affine

Property Details

IdentityMatrix public_oe static_oe property

public static Affine,PixelFarm.Agg.Transform IdentityMatrix
return Affine

sx public_oe property

public double sx
return double