C# Class NewTOAPIA.Drawing.Transform2D

Transform2D is a class used to perform Affine transforms on a matrix. Affine transforms are those which can be mathematically reversed. Examples include translation, scaling, shearing, and the like.
Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Свойство Type Description
fMatrix TOAPI.Types.XFORM

Méthodes publiques

Méthode Description
Combine ( XFORM b ) : bool
GetDPtoLP ( GDIContext hDC ) : bool
Invert ( ) : bool
MapTri ( float px0, float py0, float qx0, float qy0, float rx0, float ry0 ) : bool
MapTri ( float px0, float py0, float qx0, float qy0, float rx0, float ry0, float px1, float py1, float qx1, float qy1, float rx1, float ry1 ) : bool
Rotate ( float angle, float x0, float y0 ) : bool
Scale ( float sx, float sy ) : bool
SetToIdentity ( ) : void
SetTransform ( XFORM xm ) : bool
Transform2D ( ) : System
TransformPoint ( Point aPoint ) : Point
Translate ( float dx, float dy ) : bool

Private Methods

Méthode Description
minmax ( int x0, int x1, int x2, int x3, int &minx, int &maxx ) : void

Method Details

Combine() public méthode

public Combine ( XFORM b ) : bool
b TOAPI.Types.XFORM
Résultat bool

GetDPtoLP() public méthode

public GetDPtoLP ( GDIContext hDC ) : bool
hDC GDIContext
Résultat bool

Invert() public méthode

public Invert ( ) : bool
Résultat bool

MapTri() public méthode

public MapTri ( float px0, float py0, float qx0, float qy0, float rx0, float ry0 ) : bool
px0 float
py0 float
qx0 float
qy0 float
rx0 float
ry0 float
Résultat bool

MapTri() public méthode

public MapTri ( float px0, float py0, float qx0, float qy0, float rx0, float ry0, float px1, float py1, float qx1, float qy1, float rx1, float ry1 ) : bool
px0 float
py0 float
qx0 float
qy0 float
rx0 float
ry0 float
px1 float
py1 float
qx1 float
qy1 float
rx1 float
ry1 float
Résultat bool

Rotate() public méthode

public Rotate ( float angle, float x0, float y0 ) : bool
angle float
x0 float
y0 float
Résultat bool

Scale() public méthode

public Scale ( float sx, float sy ) : bool
sx float
sy float
Résultat bool

SetToIdentity() public méthode

public SetToIdentity ( ) : void
Résultat void

SetTransform() public méthode

public SetTransform ( XFORM xm ) : bool
xm TOAPI.Types.XFORM
Résultat bool

Transform2D() public méthode

public Transform2D ( ) : System
Résultat System

TransformPoint() public méthode

public TransformPoint ( Point aPoint ) : Point
aPoint Point
Résultat Point

Translate() public méthode

public Translate ( float dx, float dy ) : bool
dx float
dy float
Résultat bool

Property Details

fMatrix public_oe property

public XFORM,TOAPI.Types fMatrix
Résultat TOAPI.Types.XFORM