A helper method that creates a standard rotation matrix with the specified values.
public static Matrix CreateRotateMatrix(
float angle,
AnnPoint origin,
AnnUnitConverter unitConverter
)
Public Shared Function CreateRotateMatrix( _
ByVal angle As Single, _
ByVal origin As Leadtools.Annotations.AnnPoint, _
ByVal unitConverter As Leadtools.Annotations.AnnUnitConverter _
) As Matrix
public:
static Matrix^ CreateRotateMatrix(
float angle,
Leadtools.Annotations.AnnPoint origin,
Leadtools.Annotations.AnnUnitConverter^ unitConverter
)
angle
The angle (extent) of the rotation in degrees.
origin
An AnnPoint structure that represents the center of the rotation.
unitConverter
An AnnUnitConverter object that can be used to convert the origin point from one unit to another (usually to pixels).
The System.Drawing.Drawing2D.Matrix that this method creates.
This method is intended to be used by derived annotation objects that implement non-automatic transformation. For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations (Deprecated)
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET