ImageProcessor::TEffectBorder Class Reference
class ImageProcessor::TEffectBorder : public ImageProcessor::TEffect
|
The class provides functions to insert a border to an image. The border file can be input as File, Buffer or Bitmap.
Inherits from
-
ImageProcessor::TEffectBorder
Constructor & Destructor Documentation
TEffectBorder(Plugin::MEffect &, CImageProcessorImpl &)
Member Functions Documentation
SetInputL(const TDesC &)
IMPORT_C void
|
SetInputL
|
(
|
const
TDesC
&
|
aFilename
|
)
|
|
Specifies the input file for the current Border effect.
-
leave
-
KErrNotReady The effect is not active.
-
leave
-
KErrArgument The file name is not correct.
Parameters
const
TDesC
& aFilename
|
The file name of the border image.
|
SetInputL(const TDesC8 &)
IMPORT_C void
|
SetInputL
|
(
|
const
TDesC8
&
|
aBuffer
|
)
|
|
Specifies the input buffer for the current Border effect.
-
leave
-
KErrNotReady The effect is not active.
-
leave
-
KErrArgument The buffer is empty.
Parameters
const
TDesC8
& aBuffer
|
The pointer to the buffer of the border image.
|
SetInputL(const CFbsBitmap &)
IMPORT_C void
|
SetInputL
|
(
|
const
CFbsBitmap
&
|
aBitmap
|
)
|
|
Specifies the input bitmap for the current Border effect.
-
leave
-
KErrNotReady The effect is not active.
-
leave
-
KErrArgument The bitmap is empty, or the bitmap has an unsupported display mode.
Parameters
const
CFbsBitmap
& aBitmap
|
The pointer to the bitmap of the border image. The bitmap must have a display mode of EColor16MA.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.