First public contribution.
1 // Copyright (c) 2008-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef TEXTENDEDBITMAP_H
17 #define TEXTENDEDBITMAP_H
20 #include <graphics/fbsrasterizerclearcache.h>
22 /** Class used for positive creation and scanline tests of extended bitmaps.
24 class CTExtendedBitmap : public CTFbsBase
27 CTExtendedBitmap(CTestStep* aStep);
32 virtual void RunFbsTestL(TInt aCurTestCase);
36 void CreateExtendedBitmapL();
37 void CreateLargeExtendedBitmapL();
38 void CreateUsingInitializerL();
39 void ScanLineL(TBool aUseDuplicateBitmap);
40 void TestGetPixelL(TBool aUseDuplicateBitmap);
41 static void ClearRasterizerCache(TAny* aPtr);
42 void TestGetVerticalScanLineL(TBool aUseDuplicateBitmap);
45 TBool iRasterizerAvailable;
47 MFbsRasterizerClearCache* iRasterizerClearCache;
51 class CTExtendedBitmapStep : public CTGraphicsStep
54 CTExtendedBitmapStep();
58 virtual CTGraphicsBase* CreateTestL();
61 _LIT(KTExtendedBitmapStep,"TExtendedBitmap");
63 #endif // TEXTENDEDBITMAP_H