|
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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.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 BITMTRANSPANIC_H |
|
19 #define BITMTRANSPANIC_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 @publishedAll |
|
32 @released |
|
33 */ |
|
34 |
|
35 enum TBitmapTransformsPanic |
|
36 { |
|
37 /** Invalid source bitmap. */ |
|
38 ENoSourceBitmap, |
|
39 /** Invalid destination bitmap. */ |
|
40 ENoDestinationBitmap, |
|
41 /** The Bitmap has zero dimension. */ |
|
42 EBitmapHasZeroDimension, |
|
43 /** Bad argument for scaling. */ |
|
44 EBadArgumentScale, |
|
45 /** Bad argument for rotation. */ |
|
46 EBadArgumentRotate, |
|
47 /** Null argument provided. */ |
|
48 ENullArgument, |
|
49 /** Bad invariant. */ |
|
50 EBadInvariant |
|
51 }; |
|
52 |
|
53 |
|
54 #endif // BITMTRANSPANIC_H |