ImageProcessor::TEffectRgbColorAdjust Class Reference

class ImageProcessor::TEffectRgbColorAdjust : public ImageProcessor::TEffect

The class provides functions to adjust the RGB color composition of an image

Inherits from

Constructor & Destructor Documentation

TEffectRgbColorAdjust(Plugin::MEffect &, CImageProcessorImpl &)

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

Parameters

Plugin::MEffect & aEffect
CImageProcessorImpl & aImageProcessorImpl

Member Functions Documentation

BlueLevelL()

IMPORT_C TReal32 BlueLevelL ( ) const

Gets the current blue level of RgbColorAdjust effect

GreenLevelL()

IMPORT_C TReal32 GreenLevelL ( ) const

Gets the current green level of RgbColorAdjust effect

RedLevelL()

IMPORT_C TReal32 RedLevelL ( ) const

Gets the current red level of RgbColorAdjust effect

SetRGBLevelL(TReal32, TReal32, TReal32)

IMPORT_C void SetRGBLevelL ( TReal32 aRedLevel,
TReal32 aGreenLevel,
TReal32 aBlueLevel
)

Specifies the red, green and blue level for the current RgbColorAdjust effect

leave
KErrNotReady The effect is not active.
leave
KErrArgument The red level, or green level, or blue level is not in the acceptable range.

Parameters

TReal32 aRedLevel The red channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.
TReal32 aGreenLevel The green channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.
TReal32 aBlueLevel The blue channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.