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 voidSetSketchModeL(TSketchModeaLevel)

Set the sketch mode.

leave

KErrNotReady The effect is not active.

leave

KErrArgument The mode is not in the TSketchMode enumeration.

Parameters

TSketchMode aLevelThe sketch mode, ESketchModeGray or ESketchColor.

SketchModeL()

IMPORT_C TSketchModeSketchModeL()const

Get the current sketch mode

The 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.