sl@0: // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: //
sl@0: 
sl@0: /**
sl@0:  @file
sl@0:  @test
sl@0:  @internalComponent - Internal Symbian test code 
sl@0: */
sl@0: 
sl@0: #ifndef __GRAPHICSPERFORMANCEULSHADOWDRAWING_H__
sl@0: #define __GRAPHICSPERFORMANCEULSHADOWDRAWING_H__
sl@0: 
sl@0: #include "te_graphicsperformanceSuiteStepBase.h"
sl@0: #include <w32std.h>
sl@0: #include <biditext.h>
sl@0: #include <test/ttmsgraphicsstep.h>
sl@0: 
sl@0: /**
sl@0: 	Class CTOutlineShadowDrawing defined to test the performance with 
sl@0: 	Shadow and Outline effects.
sl@0: */
sl@0: class CTOutlineShadowDrawing : public CTe_graphicsperformanceSuiteStepBase
sl@0: 	{
sl@0: public:
sl@0: 	CTOutlineShadowDrawing();
sl@0: 	~CTOutlineShadowDrawing();
sl@0: 	
sl@0: private:
sl@0: 	void DoDrawTextOutlineShadowL(const TDesC& aFontFace, TInt aRotation, const TRgb& aOutlinePenColor, TBool aIsShadowOn, TBool aIsOutlineOn, TInt aDispModeIndex);
sl@0: 	void DoDrawVerticalTextOutlineShadowL(const TDesC& aFontFace, TInt aRotation, const TRgb& aOutlinePenColor, TBool aIsShadowOn, TBool aIsOutlineOn, TInt aDispModeIndex);
sl@0: 	void DoGetAPIsOutlineandShadowFontsL(const TDesC& aFontFace, TInt aRotation, TBool aShadowFlag, TBool aOutlineFlag);
sl@0: 	HBufC* GenerateTestCaseLC(const TDesC& aTestDesc, TBool aIsShadowOn, TBool aIsOutlineOn, TInt aOrientation, const TRgb& aPenColor);	
sl@0: 	// From CStepStep
sl@0: 	virtual TVerdict doTestStepPreambleL();
sl@0: 	virtual TVerdict doTestStepL();
sl@0: 
sl@0: private:	
sl@0: 	CBitmapDevice* iDev;
sl@0: 	CFbsBitGc::TGraphicsOrientation	iRotation;	
sl@0: 	};
sl@0: 
sl@0: _LIT(KTOutlineShadowDrawing,"toutlineshadowdrawing");
sl@0: 
sl@0: #endif