#include <imageprocessor/imageprocessoreffect.h>
Link against: imageprocessor.lib
| class ImageProcessor::TEffectBorder : public ImageProcessor::TEffect |
| Public Member Functions | |
|---|---|
| IMPORT_C void | SetInputL(const TDesC &) |
| IMPORT_C void | SetInputL(const TDesC8 &) |
| IMPORT_C void | SetInputL(const CFbsBitmap &) |
| Inherited Enumerations | |
|---|---|
| ImageProcessor::TEffect:TEffectInputType | |
The class provides functions to insert a border to an image. The border file can be input as File, Buffer or Bitmap.
| IMPORT_C void | SetInputL | ( | const TDesC & | aFilename | ) |
Specifies the input file for the current Border effect.
| Parameters | |
|---|---|
| aFilename | The file name of the border image. |
| Leave Codes | |
|---|---|
| KErrNotReady | The effect is not active. |
| KErrArgument | The file name is not correct. |
| IMPORT_C void | SetInputL | ( | const TDesC8 & | aBuffer | ) |
Specifies the input buffer for the current Border effect.
| Parameters | |
|---|---|
| aBuffer | The pointer to the buffer of the border image. |
| Leave Codes | |
|---|---|
| KErrNotReady | The effect is not active. |
| KErrArgument | The buffer is empty. |
| IMPORT_C void | SetInputL | ( | const CFbsBitmap & | aBitmap | ) |
Specifies the input bitmap for the current Border effect.
| Parameters | |
|---|---|
| aBitmap | The pointer to the bitmap of the border image. The bitmap must have a display mode of EColor16MA. |
| Leave Codes | |
|---|---|
| KErrNotReady | The effect is not active. |
| KErrArgument | The bitmap is empty, or the bitmap has an unsupported display mode. |