graphics/bitgdi/inc/T_DataFbsBitGc.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     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 the License "Symbian Foundation License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 #if (!defined __T_DATA_FBS_BIT_GC_H__)
       
    18 #define __T_DATA_FBS_BIT_GC_H__
       
    19 
       
    20 //	User includes
       
    21 #include "T_DataBitmapContext.h"
       
    22 
       
    23 class CT_DataFbsBitGc : public CT_DataBitmapContext
       
    24 	{
       
    25 public:
       
    26 	static CT_DataFbsBitGc*	NewL();
       
    27 	
       
    28 	~CT_DataFbsBitGc();
       
    29 
       
    30 	//	CTPData implementation
       
    31 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    32 
       
    33 	virtual TAny*	GetObject();
       
    34 	virtual void	SetObjectL(TAny* aObject);
       
    35 	virtual void	DisownObjectL();
       
    36 	void			DestroyData();
       
    37 
       
    38 	//	CT_DataGraphicsContext implementation
       
    39 	virtual CGraphicsContext*	GetGraphicsContext() const;
       
    40 
       
    41 	//	CT_DataBitmapContext implementation
       
    42 	virtual CBitmapContext*		GetBitmapContext() const;
       
    43 
       
    44 protected:
       
    45 	CT_DataFbsBitGc();
       
    46 	void	ConstructL();
       
    47 
       
    48 private:
       
    49 	void	DoCmdNewL();
       
    50 	void	DoCmdDestructor();
       
    51 	void	DoCmdActivateL(const TDesC& aSection);
       
    52 	void	DoCmdActivateNoJustAutoUpdateL(const TDesC& aSection);
       
    53 	TBool	DoCmdAlphaBlendBitmapsL(const TDesC& aSection);
       
    54 	void    DoCmdDrawPolyLineNoEndPointL(const TDesC& aSection);
       
    55 	
       
    56 	void    DoCmdCancelClipping(const TDesC& aSection);
       
    57 	void    DoCmdCopySettingsL(const TDesC& aSection);
       
    58 	TBool   DoCmdBitBltL(const TDesC& aSection);
       
    59 	
       
    60 	void	DoCmdDrawTextL(const TDesC& aSection);
       
    61 	void	DoCmdDrawTextVerticalL(const TDesC& aSection);
       
    62 	void	DoCmdUpdateJustificationL(const TDesC& aSection);
       
    63 	void	DoCmdUpdateJustificationVerticalL(const TDesC& aSection);
       
    64 
       
    65 	void    DoCmdFadeArea(const TDesC& aSection);
       
    66 	void    DoCmdIsBrushPatternUsed(const TDesC& aSection);
       
    67 	void    DoCmdIsFontUsed(const TDesC& aSection);
       
    68 	void    DoCmdOrientationsAvailable(const TDesC& aSection);
       
    69 	void    DoCmdRectDrawnTo(const TDesC& aSection);
       
    70 	void    DoCmdResized(const TDesC& aSection);
       
    71     void    DoCmdSetDitherOrigin(const TDesC& aSection);
       
    72     void    DoCmdSetFadeMode(const TDesC& aSection);
       
    73     TBool   DoCmdSetFadingParameters(const TDesC& aSection);
       
    74     void    DoCmdSetOrientation(const TDesC& aSection);
       
    75     void    DoCmdSetShadowMode(const TDesC& aSection);
       
    76     void    DoCmdSetUserDisplayMode(const TDesC& aSection);
       
    77     void    DoCmdShadowArea(const TDesC& aSection);
       
    78     void    DoCmdUseBrushPatternL(const TDesC& aSection);
       
    79     void    DoCmdUseFontL(const TDesC& aSection);
       
    80     void    DoCmdUseFontNoDuplicateL(const TDesC& aSection);
       
    81     void    DoCmdPromptMessageL(const TDesC& aSection);
       
    82 protected:
       
    83 	/** test step reference*/
       
    84 	CFbsBitGc*	iFbsBitGc;
       
    85 	  
       
    86 	};
       
    87 
       
    88 #endif /* __T_DATA_FBS_BIT_GC_H__ */