ImageProcessor::TEffectSpotLight Class Reference

#include <imageprocessor/imageprocessoreffect.h>

Link against: imageprocessor.lib

class ImageProcessor::TEffectSpotLight : public ImageProcessor::TEffect

Inherits from

Detailed Description

The class provides functions to create a spotlight on an image.

Member Function Documentation

SetSpotLightOrientationL ( const TPoint &, TUint32, TReal32 )

IMPORT_C voidSetSpotLightOrientationL(const TPoint &aPosition,
TUint32aRadius,
TReal32aTransitionSize
)

Specifies the current spotlight orientation.

Parameters
aPositionThe center of the spotlight circle.
aRadiusThe radius of the spotlight circle in pixels. Range (0) - (65535 - 1024).
aTransitionSizeThe size of the transition region given in fraction of the radius. Range (0) - (1.0).
Leave Codes
KErrNotReadyThe effect is not active.
KErrArgumentThe level is not in the acceptable range.

SpotLightOrientationL ( TPoint &, TUint32 &, TReal32 & )

IMPORT_C voidSpotLightOrientationL(TPoint &aPosition,
TUint32 &aRadius,
TReal32 &aTransitionSize
)const

Gets the current spotlight orientation.

Parameters
aPositionThe center of the spotlight circle.
aRadiusThe radius of the spotlight circle in pixels.
aTransitionSizeThe size of the transition region given in fraction of the radius.
Leave Codes
KErrNotReadyThe effect is not active.