ImageProcessor::TEffectStamp Class Reference

class ImageProcessor::TEffectStamp : public ImageProcessor::TEffect

The class provides functions to apply a rubber stamp effect. Result is a black/white image.

Inherits from

Constructor & Destructor Documentation

TEffectStamp(Plugin::MEffect &, CImageProcessorImpl &)

TEffectStamp(Plugin::MEffect &aEffect,
CImageProcessorImpl &aImageProcessorImpl
)[private]

Parameters

Plugin::MEffect & aEffect
CImageProcessorImpl & aImageProcessorImpl

Member Functions Documentation

SetStampLevelL(TInt, TInt)

IMPORT_C voidSetStampLevelL(TIntaSmoothnessLevel,
TIntaThresholdLevel
)

Specifies the smoothness and threshold level for the current stamp effect

leave
KErrNotReady The effect is not active.
leave
KErrArgument The smoothness or threshold level is not in the acceptable range.

Parameters

TInt aSmoothnessLevelThe smoothness level. Range (0) - (6), where 0.0 implies no adjustment.
TInt aThresholdLevelThe threshold level. Range (0) - (255), where 0.0 implies no adjustment.

SmoothnessLevelL()

IMPORT_C TIntSmoothnessLevelL()const

Gets the smoothness level for the current stamp effect

ThresholdLevelL()

IMPORT_C TIntThresholdLevelL()const

Gets the threshold level for the current stamp effect