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

Parameters
aSmoothnessLevelThe smoothness level. Range (0) - (6), where 0.0 implies no adjustment.
aThresholdLevelThe threshold level. Range (0) - (255), where 0.0 implies no adjustment.
Leave Codes
KErrNotReadyThe effect is not active.
KErrArgumentThe smoothness or threshold level is not in the acceptable range.

SmoothnessLevelL ( )

IMPORT_C TIntSmoothnessLevelL()const

Gets the smoothness level for the current stamp effect

Return Value
The smoothness level

ThresholdLevelL ( )

IMPORT_C TIntThresholdLevelL()const

Gets the threshold level for the current stamp effect

Return Value
The threshold level