Update contrib.
1 // Copyright (c) 1997-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 #include <test/ttmsgraphicsstep.h>
39 const TInt KFailureSectionNameBufferLength = 64;
41 class TestGdi : public CTTMSGraphicsStep
45 IMPORT_C void Construct(CBitmapDevice* aDevice,CFbsBitGc* aContext,TDes& aFailureSection);
46 IMPORT_C void ConstructL(CBitmapDevice* aDevice,CFbsBitGc* aContext,TDes& aFailureSection);
47 IMPORT_C TBool Test();
50 void CheckL(TBool aValue);
52 void ScanAreaL(TInt aX,TInt aY,TInt aLength,TInt aHeight,TRgb aColor);
54 void CheckPlotL(const TPoint& aPoint);
55 void CheckRectInsideL(const TRect& aRect);
56 void CheckRectOutsideL(const TRect& aRect);
57 void CheckQuadInsideL(const TRect& aRect);
58 void CheckQuadOutsideL(const TRect& aRect);
59 void CheckMaskedResultsL(CFbsBitmap* aBgBmp,CFbsBitmap* aSrcBmp,CFbsBitmap* aMaskBmp,TRect& aTarRect,TBool aInvertMask,TBool aAlphaBlend=EFalse,TBool aSemiTransparentMask=EFalse);
69 void DoPolygonArrayL();
79 void DoDrawBitmapMaskedL(TBool aColorMask);
80 void DoBltCompressedL();
81 void DoDrawBitmapSemiTransparentMaskedL();
82 void FillBitmap(CFbsBitmap* aBitmap, TRgb aRgb);
83 TVerdict doTestStepL(){return TestStepResult();};
84 void DoBoxTextVertical();
99 TRect iOffScreenRects[8];