ImageProcessor::TEffectSketch Class Reference

#include <imageprocessor/imageprocessoreffect.h>

Link against: imageprocessor.lib

class ImageProcessor::TEffectSketch : public ImageProcessor::TEffect

Inherits from

Detailed Description

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

Member Enumeration Documentation

Enum TSketchMode

Parameters to control the sketch mode.

EnumeratorValueDescription
ESketchModeGray

Sketch the image in gray, which is the default mode

ESketchColor

Sketch the image in color.

Member Function 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.
ParameterDescription
aLevelThe sketch mode, ESketchModeGray or ESketchColor.

SketchModeL ( )

IMPORT_C TSketchModeSketchModeL()const

Get the current sketch mode

Returns: The sketch mode