graphics/gdi/inc/T_DataBitmapContext.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 
       
    18 /**
       
    19 @test
       
    20 @internalComponent
       
    21 
       
    22 This contains CT_DataBitmapContext
       
    23 */
       
    24 
       
    25 #if (!defined __T_DATA_BITMAP_CONTEXT_H__)
       
    26 #define __T_DATA_BITMAP_CONTEXT_H__
       
    27 
       
    28 //	User includes
       
    29 #include "T_DataGraphicsContext.h"
       
    30 
       
    31 class CT_DataBitmapContext : public CT_DataGraphicsContext
       
    32 	{
       
    33 public:
       
    34 	virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    35 
       
    36 protected:
       
    37 	CT_DataBitmapContext();
       
    38 	virtual CBitmapContext*	GetBitmapContext() const = 0;
       
    39 
       
    40 	void	DoCmdAlphaBlendBitmapsL(const TDesC& aSection);
       
    41 	void	DoCmdBitBltL(const TDesC& aSection);
       
    42 	void	DoCmdBitBltMaskedL(const TDesC& aSection);
       
    43 	void	DoCmdClear(const TDesC& aSection);
       
    44 	void	DoCmdCopyRect(const TDesC& aSection);
       
    45 	void	DoCmdSetFaded(const TDesC& aSection);
       
    46 	void	DoCmdSetFadingParameters(const TDesC& aSection);
       
    47 	};
       
    48 
       
    49 #endif /* __T_DATA_BITMAP_CONTEXT_H__ */