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.
14 // Declaration of the CDirectGdiFont class
15 // which is very similar to the CFbsBitGcFont
19 #ifndef DIRECTGDIFONT_H
20 #define DIRECTGDIFONT_H
33 Font class for use with DirectGDI
35 NONSHARABLE_CLASS(CDirectGdiFont) : public CFbsFont
38 IMPORT_C CDirectGdiFont();
39 IMPORT_C virtual ~CDirectGdiFont();
40 IMPORT_C CBitmapFont* Address() const;
41 IMPORT_C TInt Duplicate(TInt aHandle);
42 IMPORT_C void Reset();
43 IMPORT_C void operator=(const CDirectGdiFont& aFont);
45 TBool iCopy; /**< ETrue if this font is copied from another font.*/
48 #endif /*DIRECTGDIFONT_H*/