ImageProcessor::TEffectRotation Class Reference
#include
<imageprocessor/imageprocessoreffect.h>
Link against: imageprocessor.lib
class ImageProcessor::TEffectRotation : public ImageProcessor::TEffect |
Inherits from
- ImageProcessor::TEffectRotation
Detailed Description
The class provides functions to rotate an image through an arbitrary angle.
Member Enumeration Documentation
Enum TRotationScaleMode
Parameters to control the scale of the image when rotation is applied
Enumerator | Value | Description |
---|
ERotationScaleModeIgnore | |
The image is not scaled when rotation is applied, which is the default mode
|
ERotationScaleModeFitInside | |
The image will be rotated, and scaled to fit inside the margins of the original image
|
ERotationScaleModeFitOutside | |
The image will be rotated, and scaled to fully enclose the margins of the original image
|
Member Function Documentation
AngleL ( )
Gets the current rotation angle
Returns: The rotation angle
ScaleModeL ( )
Gets the current rotation scale mode
Returns: The rotation scale mode
SetRotationL ( TRotationScaleMode, TReal32 )
Specifies the rotation scale mode and angle for the current rotation effect
-
leave
- KErrNotReady The effect is not active.
-
leave
- KErrArgument The level is not in the TRotationScaleMode enumeration or angle is not in the acceptable range.
Parameter | Description | aScaleMode | The rotation scale mode. Range (1) - (3). |
aAngle | The rotation amgle. Range (0.0f) - (360.0f). |