graphicstest/uibench/src/toutlineshadowdrawing.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21 
       
    22 #ifndef __GRAPHICSPERFORMANCEULSHADOWDRAWING_H__
       
    23 #define __GRAPHICSPERFORMANCEULSHADOWDRAWING_H__
       
    24 
       
    25 #include "te_graphicsperformanceSuiteStepBase.h"
       
    26 #include <w32std.h>
       
    27 #include <biditext.h>
       
    28 #include <test/ttmsgraphicsstep.h>
       
    29 
       
    30 /**
       
    31 	Class CTOutlineShadowDrawing defined to test the performance with 
       
    32 	Shadow and Outline effects.
       
    33 */
       
    34 class CTOutlineShadowDrawing : public CTe_graphicsperformanceSuiteStepBase
       
    35 	{
       
    36 public:
       
    37 	CTOutlineShadowDrawing();
       
    38 	~CTOutlineShadowDrawing();
       
    39 	
       
    40 private:
       
    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);	
       
    45 	// From CStepStep
       
    46 	virtual TVerdict doTestStepPreambleL();
       
    47 	virtual TVerdict doTestStepL();
       
    48 
       
    49 private:	
       
    50 	CBitmapDevice* iDev;
       
    51 	CFbsBitGc::TGraphicsOrientation	iRotation;	
       
    52 	};
       
    53 
       
    54 _LIT(KTOutlineShadowDrawing,"toutlineshadowdrawing");
       
    55 
       
    56 #endif