This function performs a rotation and / or translation of an 8-bit greyscale,
24- or 32-bit image, using a 3rd order (cubic) B-Spline.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIBITMAP RotateEx( FIBITMAP dib, double angle, double x_shift, double y_shift, double x_origin, double y_origin, bool use_mask ) |
Visual Basic (Declaration) |
---|
Public Shared Function RotateEx ( _ dib As FIBITMAP, _ angle As Double, _ x_shift As Double, _ y_shift As Double, _ x_origin As Double, _ y_origin As Double, _ use_mask As Boolean _ ) As FIBITMAP |
Visual C++ |
---|
public: static FIBITMAP RotateEx( FIBITMAP dib, double angle, double x_shift, double y_shift, double x_origin, double y_origin, bool use_mask ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- angle
- Type: System..::.Double
The angle of rotation.
- x_shift
- Type: System..::.Double
Horizontal image translation.
- y_shift
- Type: System..::.Double
Vertical image translation.
- x_origin
- Type: System..::.Double
Rotation center x-coordinate.
- y_origin
- Type: System..::.Double
Rotation center y-coordinate.
- use_mask
- Type: System..::.Boolean
When true the irrelevant part of the image is set to a black color, otherwise, a mirroring technique is used to fill irrelevant pixels.