#include <imageprocessor/imageprocessoreffect.h>
Link against: imageprocessor.lib
| class ImageProcessor::TEffectSpotLight : public ImageProcessor::TEffect |
| Public Member Functions | |
|---|---|
| IMPORT_C void | SetSpotLightOrientationL(const TPoint &, TUint32, TReal32) |
| IMPORT_C void | SpotLightOrientationL(TPoint &, TUint32 &, TReal32 &) |
| Inherited Enumerations | |
|---|---|
| ImageProcessor::TEffect:TEffectInputType | |
The class provides functions to create a spotlight on an image.
| IMPORT_C void | SetSpotLightOrientationL | ( | const TPoint & | aPosition, |
| TUint32 | aRadius, | |||
| TReal32 | aTransitionSize | |||
| ) | ||||
Specifies the current spotlight orientation.
| Parameters | |
|---|---|
| aPosition | The center of the spotlight circle. |
| aRadius | The radius of the spotlight circle in pixels. Range (0) - (65535 - 1024). |
| aTransitionSize | The size of the transition region given in fraction of the radius. Range (0) - (1.0). |
| Leave Codes | |
|---|---|
| KErrNotReady | The effect is not active. |
| KErrArgument | The level is not in the acceptable range. |
| IMPORT_C void | SpotLightOrientationL | ( | TPoint & | aPosition, |
| TUint32 & | aRadius, | |||
| TReal32 & | aTransitionSize | |||
| ) | const | |||
Gets the current spotlight orientation.
| Parameters | |
|---|---|
| aPosition | The center of the spotlight circle. |
| aRadius | The radius of the spotlight circle in pixels. |
| aTransitionSize | The size of the transition region given in fraction of the radius. |
| Leave Codes | |
|---|---|
| KErrNotReady | The effect is not active. |