os/graphics/graphicstools/gdi_tools/fontcomp/GDSFCOMP.H
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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