graphicsapitest/graphicssvs/bitgdi/inc/T_DataFbsBitGc.h
changeset 103 2717213c588a
parent 98 bf7481649c98
child 116 171fae344dd4
child 121 d72fc2aace31
child 187 9f66f99ee56f
equal deleted inserted replaced
98:bf7481649c98 103:2717213c588a
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if (!defined __T_DATA_FBS_BIT_GC_H__)
       
    20 #define __T_DATA_FBS_BIT_GC_H__
       
    21 
       
    22 //	User includes
       
    23 #include "T_DataBitmapContext.h"
       
    24 
       
    25 class CT_DataFbsBitGc : public CT_DataBitmapContext
       
    26 	{
       
    27 public:
       
    28 	static CT_DataFbsBitGc*	NewL();
       
    29 	
       
    30 	~CT_DataFbsBitGc();
       
    31 
       
    32 	//	CTPData implementation
       
    33 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    34 
       
    35 	virtual TAny*	GetObject();
       
    36 	virtual void	SetObjectL(TAny* aObject);
       
    37 	virtual void	DisownObjectL();
       
    38 	void			DestroyData();
       
    39 
       
    40 	//	CT_DataGraphicsContext implementation
       
    41 	virtual CGraphicsContext*	GetGraphicsContext() const;
       
    42 
       
    43 	//	CT_DataBitmapContext implementation
       
    44 	virtual CBitmapContext*		GetBitmapContext() const;
       
    45 
       
    46 protected:
       
    47 	CT_DataFbsBitGc();
       
    48 	void	ConstructL();
       
    49 
       
    50 private:
       
    51 	void	DoCmdNewL();
       
    52 	void	DoCmdDestructor();
       
    53 	void	DoCmdActivateL(const TDesC& aSection);
       
    54 	void	DoCmdActivateNoJustAutoUpdateL(const TDesC& aSection);
       
    55 	TBool	DoCmdAlphaBlendBitmapsL(const TDesC& aSection);
       
    56 	void    DoCmdDrawPolyLineNoEndPointL(const TDesC& aSection);
       
    57 	
       
    58 	void    DoCmdCancelClipping(const TDesC& aSection);
       
    59 	void    DoCmdCopySettingsL(const TDesC& aSection);
       
    60 	TBool   DoCmdBitBltL(const TDesC& aSection);
       
    61 	
       
    62 	void	DoCmdDrawTextL(const TDesC& aSection);
       
    63 	void	DoCmdDrawTextVerticalL(const TDesC& aSection);
       
    64 	void	DoCmdUpdateJustificationL(const TDesC& aSection);
       
    65 	void	DoCmdUpdateJustificationVerticalL(const TDesC& aSection);
       
    66 
       
    67 	void    DoCmdFadeArea(const TDesC& aSection);
       
    68 	void    DoCmdIsBrushPatternUsed(const TDesC& aSection);
       
    69 	void    DoCmdIsFontUsed(const TDesC& aSection);
       
    70 	void    DoCmdOrientationsAvailable(const TDesC& aSection);
       
    71 	void    DoCmdRectDrawnTo(const TDesC& aSection);
       
    72 	void    DoCmdResized(const TDesC& aSection);
       
    73     void    DoCmdSetDitherOrigin(const TDesC& aSection);
       
    74     void    DoCmdSetFadeMode(const TDesC& aSection);
       
    75     TBool   DoCmdSetFadingParameters(const TDesC& aSection);
       
    76     void    DoCmdSetOrientation(const TDesC& aSection);
       
    77     void    DoCmdSetShadowMode(const TDesC& aSection);
       
    78     void    DoCmdSetUserDisplayMode(const TDesC& aSection);
       
    79     void    DoCmdShadowArea(const TDesC& aSection);
       
    80     void    DoCmdUseBrushPatternL(const TDesC& aSection);
       
    81     void    DoCmdUseFontL(const TDesC& aSection);
       
    82     void    DoCmdUseFontNoDuplicateL(const TDesC& aSection);
       
    83     void    DoCmdPromptMessageL(const TDesC& aSection);
       
    84 protected:
       
    85 	/** test step reference*/
       
    86 	CFbsBitGc*	iFbsBitGc;
       
    87 	  
       
    88 	};
       
    89 
       
    90 #endif /* __T_DATA_FBS_BIT_GC_H__ */