ImageEn, unit iexHelperFunctions

TBitmapHelper.IERotate

TBitmapHelper.IERotate


Declaration

procedure IERotate(Angle: double; AntiAliasMode: TIEAntialiasMode = ierFast; BackgroundColor: TColor = -1);


Description

Calls Rotate to rotate a TBitmap.

Note: You must add the iexHelperFunctions unit to your uses clause


Example

// Rotate the image 90 deg. counter-clockwise
MyBitmap.IERotate(90);
          
// Rotate the image 45 deg. clockwise and fill new areas with black
MyBitmap.IERotate(315, ierFast, clBlack);