ImageProcessor::TEffectSketch Class Reference

class ImageProcessor::TEffectSketch : public ImageProcessor::TEffect

The class provides functions to create a sketched representation of an image.

Inherits from

Constructor & Destructor Documentation

TEffectSketch(Plugin::MEffect &, CImageProcessorImpl &)

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

Parameters

Plugin::MEffect & aEffect
CImageProcessorImpl & aImageProcessorImpl

Member Functions Documentation

SetSketchModeL(TSketchMode)

IMPORT_C void SetSketchModeL ( TSketchMode aLevel )

Set the sketch mode.

leave
KErrNotReady The effect is not active.
leave
KErrArgument The mode is not in the TSketchMode enumeration.

Parameters

TSketchMode aLevel The sketch mode, ESketchModeGray or ESketchColor.

SketchModeL()

IMPORT_C TSketchMode SketchModeL ( ) const

Get the current sketch mode

Member Enumerations Documentation

Enum TSketchMode

Parameters to control the sketch mode.

Enumerators

ESketchModeGray

Sketch the image in gray, which is the default mode

ESketchColor

Sketch the image in color.