Update contrib.
1 // Copyright (c) 2006-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 __GRAPHICSPERFORMANCEULSHADOWDRAWING_H__
23 #define __GRAPHICSPERFORMANCEULSHADOWDRAWING_H__
25 #include "te_graphicsperformanceSuiteStepBase.h"
28 #include <test/ttmsgraphicsstep.h>
31 Class CTOutlineShadowDrawing defined to test the performance with
32 Shadow and Outline effects.
34 class CTOutlineShadowDrawing : public CTe_graphicsperformanceSuiteStepBase
37 CTOutlineShadowDrawing();
38 ~CTOutlineShadowDrawing();
41 void DoDrawTextOutlineShadowL(const TDesC& aFontFace, TInt aRotation, const TRgb& aOutlinePenColor, TBool aIsShadowOn, TBool aIsOutlineOn, TInt aDispModeIndex);
42 void DoDrawVerticalTextOutlineShadowL(const TDesC& aFontFace, TInt aRotation, const TRgb& aOutlinePenColor, TBool aIsShadowOn, TBool aIsOutlineOn, TInt aDispModeIndex);
43 void DoGetAPIsOutlineandShadowFontsL(const TDesC& aFontFace, TInt aRotation, TBool aShadowFlag, TBool aOutlineFlag);
44 HBufC* GenerateTestCaseLC(const TDesC& aTestDesc, TBool aIsShadowOn, TBool aIsOutlineOn, TInt aOrientation, const TRgb& aPenColor);
46 virtual TVerdict doTestStepPreambleL();
47 virtual TVerdict doTestStepL();
51 CFbsBitGc::TGraphicsOrientation iRotation;
54 _LIT(KTOutlineShadowDrawing,"toutlineshadowdrawing");