First public contribution.
1 // Copyright (c) 2007-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 @internalComponent - Internal Symbian test code
22 #ifndef __TGENERALDRAWING_H__
23 #define __TGENERALDRAWING_H__
25 #include "tdirectgdi_test_step_base.h"
29 Class for testing the general drawing functionality in DirectGdi vs BitGdi. Drawing to default context,
30 reseted context and using various draw modes are tested.
32 class CTGeneralDrawing : public CTDirectGdiStepBase
40 void TestDrawToDefaultContextL();
41 void TestDrawToResetContextL();
42 void TestSetDrawMode();
43 void TestSetDrawModeInvalidParametersL();
45 void TestInternalDrawingPositionDrawRect();
46 void TestDrawShapesIrregularPenSizeL(const TSize& aPenSize);
47 void TestDrawShapesChangingOriginL();
48 void DrawToClosedActiveTargetL();
51 virtual TVerdict doTestStepPreambleL();
52 virtual TVerdict doTestStepL();
54 // from CTDirectGdiStepBase
59 _LIT(KTDirectGdiGeneralDrawingStep,"TDirectGDIGeneralDrawing");