-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBmpUtils.h
More file actions
53 lines (40 loc) · 1.14 KB
/
BmpUtils.h
File metadata and controls
53 lines (40 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* ====================================================================
* File: BmpUtils.h
* Created: 03/31/11
* Author: Sun Jinbo
* Copyright (c): Tieto, All rights reserved
* ==================================================================== */
#ifndef C_BMPUTILS_H
#define C_BMPUTILS_H
// INCLUDE FILES
#include <e32base.h>
#include <e32std.h>
// FORWARD DECLARATIONS
// CLASS DECLARATION
/**
* CBmpUtils class
*
* @since S60 5.0
*/
class CBmpUtils : public CBase
{
public: // Constructor and destructor
static CBmpUtils* NewL( const TDesC& aFileName, TInt aFrom, TInt aTo );
virtual ~CBmpUtils();
public: // New functions
void SetSize( TInt aIndex, TSize aSize );
void SetSizeAndRotation( TInt aIndex, TSize aSize, TInt aAngle );
CFbsBitmap* Bitmap( TInt aIndex ) const;
protected: // Default destructor
CBmpUtils( TInt aFrom, TInt aTo );
void ConstructL( const TDesC& aFileName );
private: // New function
void LoadBitmapL ();
protected: // Data members
TInt iFrom;
TInt iTo;
HBufC* iFileName; // Own
RPointerArray<CFbsBitmap> iBitmapArray;
};
#endif // C_BMPUTILS_H
// End of File