First public contribution.
1 // Copyright (c) 2009-2010 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.
16 #ifndef TFBSGLYPHDATAOUTLINESHADOW_H
17 #define TFBSGLYPHDATAOUTLINESHADOW_H
19 #include "test/TGraphicsHarness.h"
23 Enumeration for the attributes to be set in fontspec and gc.
24 See CTFbsGlyphDataOutlineAndShadow::ConstructL()
26 enum TFontEffectsFlags
33 Test class which checks that glyph data extensions
34 RFbsGlyphDataIterator processes and returns correct error if outline-and-shadow
37 This test must be run with a rasterizer which supports EFourColourBlendGlyphBitmap (e.g. iType)
38 otherwise the test will fail.
42 class CTFbsGlyphDataOutlineAndShadow : public CTGraphicsBase
45 CTFbsGlyphDataOutlineAndShadow(CTestStep* aStep);
46 ~CTFbsGlyphDataOutlineAndShadow();
49 virtual void RunTestCaseL(TInt aCurTestCase);
53 CFbsTypefaceStore* iTs;
57 class CTFbsGlyphDataOutlineAndShadowStep : public CTGraphicsStep
60 CTFbsGlyphDataOutlineAndShadowStep();
63 virtual CTGraphicsBase* CreateTestL();
66 _LIT(KTFbsGlyphDataOutlineAndShadowStep,"TFbsGlyphDataOutlineAndShadow");
69 #endif /* TFBSGLYPHDATAOUTLINESHADOW_H */