graphicsdeviceinterface/directgdiadaptation/hwsrc/glyphlutab.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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 //
       
    15 
       
    16 #ifndef GLYPHLUTAB_H_
       
    17 #define GLYPHLUTAB_H_
       
    18 
       
    19 /**
       
    20 @file
       
    21 @internalComponent
       
    22 */
       
    23 
       
    24 /**
       
    25 Outline colour index used to get percentage of outline colour. This is used to get the final colour from the lookup table.
       
    26 */
       
    27 const TInt KOutlineColorIndex = 0;
       
    28 
       
    29 /**
       
    30 Shadow colour index used to get percentage of shadow colour. This is used to get the final colour from the lookup table.
       
    31 */
       
    32 const TInt KShadowColorIndex = 1;
       
    33 
       
    34 /**
       
    35 Fill colour index used to get percentage of fill colour. This is used to get the final colour from the lookup table.
       
    36 */
       
    37 const TInt KFillColorIndex = 2;
       
    38 
       
    39 /**
       
    40 Background colour index used to get percentage of background colour. This is used to get the final colour from the lookup table.
       
    41 */
       
    42 const TInt KBackgroundColorIndex = 3;
       
    43 
       
    44 /**
       
    45 Lookup table used for outline and shadow fonts.
       
    46 */
       
    47 GLREF_D const TInt FourColorBlendLookup[256][4];
       
    48 
       
    49 /**
       
    50 The structure of a compound font.
       
    51 */
       
    52 struct TCompoundFont
       
    53 	{
       
    54 	TInt iOutline;
       
    55 	TInt iShadow;
       
    56 	TInt iFill;
       
    57 	TInt iBackground;
       
    58 	};
       
    59 
       
    60 #endif