fontservices/freetypefontrasteriser/freetype2/include/freetype/internal/services/svmm.h
author Shabe Razvi <shaber@symbian.org>
Wed, 21 Apr 2010 10:38:57 +0100
changeset 18 67f6b0d39020
permissions -rw-r--r--
Apply Bug 1543 - freetype.dll cannot be built
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     1
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     2
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     3
/*  svmm.h                                                                 */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     4
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     5
/*    The FreeType Multiple Masters and GX var services (specification).   */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     6
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     7
/*  Copyright 2003, 2004 by                                                */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     9
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    10
/*  This file is part of the FreeType project, and may only be used,       */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    11
/*  modified, and distributed under the terms of the FreeType project      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    12
/*  license, FTL.TXT.  By continuing to use, modify, or distribute     */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    13
/*  this file you indicate that you have read the license and              */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    14
/*  understand and accept it fully.                                        */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    15
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    16
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    17
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    18
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    19
#ifndef __SVMM_H__
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    20
#define __SVMM_H__
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    21
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    22
#include FT_INTERNAL_SERVICE_H
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    23
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    24
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    25
FT_BEGIN_HEADER
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    26
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    27
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    28
  /*
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    29
   *  A service used to manage multiple-masters data in a given face.
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    30
   *
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    31
   *  See the related APIs in `ftmm.h' (FT_MULTIPLE_MASTERS_H).
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    32
   *
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    33
   */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    34
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    35
#define FT_SERVICE_ID_MULTI_MASTERS  "multi-masters"
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    36
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    37
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    38
  typedef FT_Error
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    39
  (*FT_Get_MM_Func)( FT_Face           face,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    40
                     FT_Multi_Master*  master );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    41
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    42
  typedef FT_Error
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    43
  (*FT_Get_MM_Var_Func)( FT_Face      face,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    44
                         FT_MM_Var*  *master );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    45
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    46
  typedef FT_Error
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    47
  (*FT_Set_MM_Design_Func)( FT_Face   face,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    48
                            FT_UInt   num_coords,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    49
                            FT_Long*  coords );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    50
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    51
  typedef FT_Error
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    52
  (*FT_Set_Var_Design_Func)( FT_Face    face,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    53
                             FT_UInt    num_coords,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    54
                             FT_Fixed*  coords );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    55
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    56
  typedef FT_Error
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    57
  (*FT_Set_MM_Blend_Func)( FT_Face   face,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    58
                           FT_UInt   num_coords,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    59
                           FT_Long*  coords );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    60
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    61
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    62
  FT_DEFINE_SERVICE( MultiMasters )
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    63
  {
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    64
    FT_Get_MM_Func          get_mm;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    65
    FT_Set_MM_Design_Func   set_mm_design;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    66
    FT_Set_MM_Blend_Func    set_mm_blend;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    67
    FT_Get_MM_Var_Func      get_mm_var;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    68
    FT_Set_Var_Design_Func  set_var_design;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    69
  };
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    70
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    71
  /* */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    72
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    73
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    74
FT_END_HEADER
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    75
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    76
#endif /* __SVMM_H__ */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    77
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    78
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    79
/* END */