os/graphics/graphicsdeviceinterface/directgdi/inc/directgdifont.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Declaration of the CDirectGdiFont class
    15 // which is very similar to the CFbsBitGcFont
    16 // 
    17 //
    18 
    19 #ifndef DIRECTGDIFONT_H
    20 #define DIRECTGDIFONT_H
    21 
    22 /**
    23 @file
    24 @internalTechnology
    25 */
    26 
    27 #include <e32std.h>
    28 #include <fbs.h>
    29 
    30 class CBitmapFont;
    31 
    32 /**
    33 Font class for use with DirectGDI
    34 */
    35 NONSHARABLE_CLASS(CDirectGdiFont) : public CFbsFont
    36 	{
    37 public:
    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);
    44 protected:
    45 	TBool iCopy;	/**< ETrue if this font is copied from another font.*/
    46 	};
    47 
    48 #endif /*DIRECTGDIFONT_H*/