v2.33
 
ITransform2D Interface Reference

Represents a transform on plane, wich is a 3x3 transformation matrix. More...

Inheritance diagram for ITransform2D:

Public Member Functions

HRESULT AddRotation ([in] Point2D pivot, [in] double angle)
 Adds a rotation to a given angle around the given pivot.
 
HRESULT AddTranslation ([in] Vector2D translation)
 Adds a translation by the given vector.
 
HRESULT CreateTransform3D ([out, retval] ITransform3D **ppTransform3D)
 Constructs a 3D Transform.
 
HRESULT GetCopy ([out, retval] ITransform2D **ppCopy)
 Returns a copy of the transform.
 
HRESULT GetElement ([in] int rowIndex, [in] int columnIndex, [out, retval]double *pValue)
 Returns the component of the transformation matrix.
 
HRESULT SetElement ([in] int rowIndex, [in] int columnIndex, [in]double value)
 Sets the component of the transformation matrix.
 
HRESULT TransformPoint ([in] Point2D *pPoint, [out, retval] Point2D *pResult)
 Returns a transformed 2D point.
 
HRESULT TransformVector ([in] Vector2D *pVector, [out, retval] Vector2D *pResult)
 Returns a transformed 2D vector.
 

Detailed Description

Represents a transform on plane, wich is a 3x3 transformation matrix.