ImageProcessor::TEffectStamp Class Reference

#include <imageprocessor/imageprocessoreffect.h>

Link against: imageprocessor.lib

class ImageProcessor::TEffectStamp : public ImageProcessor::TEffect

Inherits from

Detailed Description

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

Member Function 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.
ParameterDescription
aSmoothnessLevelThe smoothness level. Range (0) - (6), where 0.0 implies no adjustment.
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

Returns: The smoothness level

ThresholdLevelL ( )

IMPORT_C TIntThresholdLevelL()const

Gets the threshold level for the current stamp effect

Returns: The threshold level