This function rotates a 1-, 8-bit greyscale or a 24-, 32-bit color image by means of 3 shears.
1-bit images rotation is limited to integer multiple of 90°.
null is returned for other values.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIBITMAP Rotate( FIBITMAP dib, double angle ) |
Visual Basic (Declaration) |
---|
Public Shared Function Rotate ( _ dib As FIBITMAP, _ angle As Double _ ) As FIBITMAP |
Visual C++ |
---|
public: static FIBITMAP Rotate( FIBITMAP dib, double angle ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- angle
- Type: System..::.Double
The angle of rotation.