Calculates rotation matrix

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public static IntPtr cv2DRotationMatrix(
	PointF center,
	double angle,
	double scale,
	IntPtr mapMatrix
)
Visual Basic (Declaration)
Public Shared Function cv2DRotationMatrix ( _
	center As PointF, _
	angle As Double, _
	scale As Double, _
	mapMatrix As IntPtr _
) As IntPtr
Visual C++
public:
static IntPtr cv2DRotationMatrix(
	PointF center, 
	double angle, 
	double scale, 
	IntPtr mapMatrix
)

Parameters

center
Type: System.Drawing..::.PointF
Center of the rotation in the source image.
angle
Type: System..::.Double
The rotation angle in degrees. Positive values mean couter-clockwise rotation (the coordiate origin is assumed at top-left corner).
scale
Type: System..::.Double
Isotropic scale factor
mapMatrix
Type: System..::.IntPtr
Pointer to the destination 2x3 matrix

Return Value

Pointer to the destination 2x3 matrix

See Also