graphicstools/gdi_tools/fontcomp/GDSFCOMP.H
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 1997-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 //
       
    15 
       
    16 #if !defined(__GDSFCOMP_H__)
       
    17 #define __GDSFCOMP_H__
       
    18 #if !defined(__FONTCOMP_H__)
       
    19 #include "FONTCOMP.H"
       
    20 #endif
       
    21 /**
       
    22 @internalComponent
       
    23 */
       
    24 const char BlankPixel = '.';
       
    25 const char SetPixel = '*';
       
    26 
       
    27 class GdsFontCompiler : public FontCompiler
       
    28 /**
       
    29 @internalComponent
       
    30 */
       
    31 	{
       
    32 public:
       
    33 	int WriteFont();
       
    34 protected:
       
    35 	int WriteHeader();
       
    36 	void WriteFooter();
       
    37 	void WriteCharData(int);
       
    38 	void WriteBlankLines(int,int);
       
    39 	void WriteFormattedData(char*,int=0);
       
    40 	void WriteFormattedData(int,int=0);
       
    41 	void WriteNewLine();
       
    42 	};
       
    43 #endif