ImageProcessor::TEffectRotation Class Reference
class ImageProcessor::TEffectRotation : public ImageProcessor::TEffect |
The class provides functions to rotate an image through an arbitrary angle.
Inherits from
- ImageProcessor::TEffectRotation
Constructor & Destructor Documentation
TEffectRotation(Plugin::MEffect &, CImageProcessorImpl &)
Member Functions Documentation
AngleL()
Gets the current rotation angle
ScaleModeL()
Gets the current 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.
Parameters
TRotationScaleMode aScaleMode | The rotation scale mode. Range (1) - (3). |
TReal32 aAngle | The rotation amgle. Range (0.0f) - (360.0f). |
Member Enumerations Documentation
Enum TRotationScaleMode
Parameters to control the scale of the image when rotation is applied
Enumerators
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
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.