Update contrib.
1 // Copyright (c) 2007-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.
19 @internalComponent - Internal Symbian test code
22 #ifndef __TBITBLTMASKEDBASE_H__
23 #define __TBITBLTMASKEDBASE_H__
25 #include "tbitbltbase.h"
40 Base class for BitBltMasked() family tests.
42 class CTBitBltMaskedBase : public CTBitBltBase
46 ~CTBitBltMaskedBase();
50 void TestPositioningBaseL(const TDesC& aTestName, TBitBltFuncType aFunc);
51 void TestInvalidParametersBaseL(const TDesC& /*aTestName*/, TBitBltFuncType aFunc);
52 void TestSourceBitmapCloningBaseL(const TDesC& aTestName, TBitBltFuncType aFunc);
53 void TestMaskCloningBaseL(const TDesC& aTestName, TBitBltFuncType aFunc);
56 TInt WriteTargetOutput(TPtrC aTestCaseName);
57 void CreateBitmapsL(TUidPixelFormat aPixelFormat);
61 void BeginMaskIteration();
62 TBool NextMaskIteration();
65 CFbsBitmap* iNotInitialisedMask;
66 CFbsBitmap* iZeroSizeMask;
71 CFbsBitmap* iCompressedMaskL8;
72 CFbsBitmap* iBlackWhiteBitmap;
75 TUidPixelFormat iMaskPixelFormat;
77 CFbsBitmap* iCurrentMask1;
78 CFbsBitmap* iCurrentMask2;