ImageProcessor::TEffectSpotLight Class Reference
| class ImageProcessor::TEffectSpotLight : public ImageProcessor::TEffect |
The class provides functions to create a spotlight on an image.
Inherits from
- ImageProcessor::TEffectSpotLight
Constructor & Destructor Documentation
TEffectSpotLight(Plugin::MEffect &, CImageProcessorImpl &)
Member Functions Documentation
SetSpotLightOrientationL(const TPoint &, TUint32, TReal32)
| IMPORT_C void | SetSpotLightOrientationL | ( | const TPoint & | aPosition, |
| | TUint32 | aRadius, |
| | TReal32 | aTransitionSize |
| | ) | |
Specifies the current spotlight orientation.
-
leave
- KErrNotReady The effect is not active.
-
leave
- KErrArgument The level is not in the acceptable range.
Parameters
| const TPoint & aPosition | The center of the spotlight circle. |
| TUint32 aRadius | The radius of the spotlight circle in pixels. Range (0) - (65535 - 1024). |
| TReal32 aTransitionSize | The size of the transition region given in fraction of the radius. Range (0) - (1.0). |
SpotLightOrientationL(TPoint &, TUint32 &, TReal32 &)
| IMPORT_C void | SpotLightOrientationL | ( | TPoint & | aPosition, |
| | TUint32 & | aRadius, |
| | TReal32 & | aTransitionSize |
| | ) | const |
Gets the current spotlight orientation.
-
leave
- KErrNotReady The effect is not active.
Parameters
| TPoint & aPosition | The center of the spotlight circle. |
| TUint32 & aRadius | The radius of the spotlight circle in pixels. |
| TReal32 & aTransitionSize | The size of the transition region given in fraction of the radius. |
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.