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 void SetStampLevelL ( TInt aSmoothnessLevel,
TInt aThresholdLevel
)

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 aSmoothnessLevel The smoothness level. Range (0) - (6), where 0.0 implies no adjustment.
TInt aThresholdLevel The threshold level. Range (0) - (255), where 0.0 implies no adjustment.

SmoothnessLevelL()

IMPORT_C TInt SmoothnessLevelL ( ) const

Gets the smoothness level for the current stamp effect

ThresholdLevelL()

IMPORT_C TInt ThresholdLevelL ( ) const

Gets the threshold level for the current stamp effect