common/tools/ats/smoketest/graphics/bitgdi/inc/T_DataPolygonFiller.h
changeset 833 6ffc235847d0
child 872 17498133d9ad
equal deleted inserted replaced
832:9b2bf01d4d36 833:6ffc235847d0
       
     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 #ifndef T_DATAPOLYGONFILLER_H_
       
    18 #define T_DATAPOLYGONFILLER_H_
       
    19 
       
    20 
       
    21 #include "DataWrapperBase.h"
       
    22 
       
    23 
       
    24 class CT_DataPolygonFiller : public CDataWrapperBase
       
    25 	{
       
    26 public:
       
    27 	static CT_DataPolygonFiller* NewL();
       
    28 
       
    29 	~CT_DataPolygonFiller();
       
    30 
       
    31 	virtual TAny*	GetObject();
       
    32 	virtual void	SetObjectL(TAny* aAny);
       
    33 	virtual void	DisownObjectL();
       
    34 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt);
       
    35 	//void RunL(CActive* aActive, TInt aIndex); 
       
    36 	
       
    37 protected:
       
    38 	CT_DataPolygonFiller();
       
    39     void ConstructL();
       
    40 	
       
    41 private:
       
    42 	void DestroyData();
       
    43 	void DoCmdnewL();
       
    44 	void DoCmdConstructL(const TDesC& aSection);
       
    45 	void DoCmdReset();
       
    46 	void DoCmdGetNextPixelRun(const TDesC& aSection);
       
    47 	void DoCmdGetNextPixelRunOnSpecifiedScanLine(const TDesC& aSection);
       
    48 	void DoCmdDestructor();
       
    49 private:
       
    50 	CPolygonFiller* iPolygonFiller;
       
    51 	CArrayFix<TPoint>*	iPointsArray;
       
    52 	TPoint* iPoints;
       
    53 	};
       
    54 
       
    55 #endif /*T_DATAPOLYGONFILLER_H_*/