imaging/imagingfws/BitmapTransform/src/BitmapTransformsMain.h
changeset 0 5752a19fdefe
equal deleted inserted replaced
-1:000000000000 0:5752a19fdefe
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This is the public client API for the BitmapTransforms library
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __BITMAPTRANSFORMSMAIN_H__
       
    19 #define __BITMAPTRANSFORMSMAIN_H__
       
    20 
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /**
       
    25 @panic	ENoSourceBitmap is raised when the src bitmap supplied to one of the api's
       
    26 		has not been created (i.e. it has a null handle)
       
    27 		ENoDestinationBitmap is raised when the destination bitmap supplied to one 
       
    28 		of the api's has not been properly created
       
    29 		EBitmapHasZeroDimension is raised when a bitmap has zero dimension
       
    30 */
       
    31 
       
    32 enum TBitmapTransformsPanic
       
    33 	{
       
    34 	ENoSourceBitmap,
       
    35 	ENoDestinationBitmap,
       
    36 	EBitmapHasZeroDimension,
       
    37 	EBadArgumentScale,
       
    38 	EBadArgumentRotate,
       
    39 	ENullArgument,
       
    40 	EBadInvariant
       
    41 	};
       
    42 
       
    43 
       
    44 /**
       
    45 
       
    46 The function panic raises a panic from within the BitmapTransforms library
       
    47 @param The argument is a member of the enumeration TBitmapTransformsPanic
       
    48 @panic The panics raised by this function are:
       
    49 	ENoSourceBitmap,
       
    50 	ENoDestinationBitmap,
       
    51 	EBitmapHasZeroDimension and are described in the enumeration
       
    52 
       
    53 */
       
    54 
       
    55 
       
    56 GLDEF_C void Panic( TBitmapTransformsPanic aError);
       
    57 
       
    58 #endif
       
    59