CVtImageRotator Class Reference
class CVtImageRotator : public CActive
|
Image rotator.
videosource.lib
Constructor & Destructor Documentation
CVtImageRotator()
CVtImageRotator
|
(
|
)
|
[private]
|
CVtImageRotator(MVtImageRotatorObserver &, TPriority)
C++ constructor.
-
Exceptions
-
In
|
error situation leaves with one of the system wide error codes.
|
~CVtImageRotator()
IMPORT_C
|
~CVtImageRotator
|
(
|
)
|
|
Member Functions Documentation
Activate()
void
|
Activate
|
(
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second phase constructor.
-
Exceptions
-
In
|
error situation leaves with one of the system wide error codes.
|
CreateRotatorL(const TRotationAngle &)
Creates new instance of rotator implementation if needed.
-
Exceptions
-
In
|
error situation leaves with one of the system wide error codes.
|
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
DoRotate()
void
|
DoRotate
|
(
|
)
|
[private]
|
Rotate method called by the StaticScale.
NewL(MVtImageRotatorObserver &, TPriority)
Creates new instance of
CVtImageRotator
.
-
Exceptions
-
In
|
error situation leaves with one of the system wide error codes.
|
Rotate(const CVtImage &, CVtImage &, const TRotationAngle &)
Parameters
const
CVtImage
& aSource
|
Source image that will be rotated.
|
CVtImage
& aTarget
|
Target image that will hold the rotated image.
|
const
TRotationAngle
& aAngle
|
Rotation angle.
|
RotateL(const CVtImage &, CVtImage &, const TRotationAngle &)
Rotates image to given angle.
-
Exceptions
-
In
|
error situation leaves with one of the system wide error codes.
|
Parameters
const
CVtImage
& aSource
|
Source image that will be rotated.
|
CVtImage
& aTarget
|
Target image that will hold the rotated image.
|
const
TRotationAngle
& aAngle
|
Rotation angle.
|
RunL()
void
|
RunL
|
(
|
)
|
[private, virtual]
|
Signal(TInt)
void
|
Signal
|
(
|
TInt
|
aError
|
)
|
[private]
|
Signals this instance AO with given error code.
Parameters
TInt
aError
|
Signalling error code.
|
StaticRotate(TAny *)
TInt
|
StaticRotate
|
(
|
TAny
*
|
aPtr
|
)
|
[private, static]
|
Member Enumerations Documentation
Enum TPanics
An enumeration within the
CVtImageRotator
namespace. It provides a set of panic codes that may happen during rotation process.
Enumerators
EBusy = 1
|
RotateL()
is called while previous rotation process has not yet been finished.
|
Enum TRotationAngle
An enumeration within the
CVtImageRotator
namespace. It provides a set of supported rotation and mirror angles.
Enumerators
ERotationNone = -1
|
Uninitialized place holder. Giving this rotation angle to
RotateL()
will make
RotateL()
leave with error code KErrNotSupported.
|
E90DegreesClockwise
|
Rotates image 90 degrees in a clockwise direction.
|
E180DegreesClockwise
|
Rotates image 180 degrees in a clockwise direction. (flip & mirror)
|
E270DegreesClockwise
|
Rotates image 270 degrees in a clockwise direction.
|
EMirrorHorizontalAxis
|
Mirrors the bitmap around the horizontal axis.
|
EFlipVerticalAxis
|
Flips the image around the vertical axis.
|
Member Data Documentation
CAsyncCallBack * iAsyncCallBack
TBool
iCancelled
TBool
|
iCancelled
|
[private]
|
MVtImageRotatorObserver & iObserver
CVtImageRotatorImpl * iRotatorImpl
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.