"Fossies" - the Fresh Open Source Software Archive

Member "SDL2_ttf-2.20.2/external/freetype/src/autofit/afmodule.h" (25 May 2022, 1181 Bytes) of package /linux/misc/SDL2_ttf-2.20.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "afmodule.h" see the Fossies "Dox" file reference documentation.

    1 /****************************************************************************
    2  *
    3  * afmodule.h
    4  *
    5  *   Auto-fitter module implementation (specification).
    6  *
    7  * Copyright (C) 2003-2022 by
    8  * David Turner, Robert Wilhelm, and Werner Lemberg.
    9  *
   10  * This file is part of the FreeType project, and may only be used,
   11  * modified, and distributed under the terms of the FreeType project
   12  * license, LICENSE.TXT.  By continuing to use, modify, or distribute
   13  * this file you indicate that you have read the license and
   14  * understand and accept it fully.
   15  *
   16  */
   17 
   18 
   19 #ifndef AFMODULE_H_
   20 #define AFMODULE_H_
   21 
   22 #include <freetype/internal/ftobjs.h>
   23 #include <freetype/ftmodapi.h>
   24 
   25 
   26 FT_BEGIN_HEADER
   27 
   28 
   29   /*
   30    * This is the `extended' FT_Module structure that holds the
   31    * autofitter's global data.
   32    */
   33 
   34   typedef struct  AF_ModuleRec_
   35   {
   36     FT_ModuleRec  root;
   37 
   38     FT_UInt       fallback_style;
   39     FT_UInt       default_script;
   40     FT_Bool       no_stem_darkening;
   41     FT_Int        darken_params[8];
   42 
   43   } AF_ModuleRec, *AF_Module;
   44 
   45 
   46 FT_DECLARE_AUTOHINTER_INTERFACE( af_autofitter_interface )
   47 FT_DECLARE_MODULE( autofit_module_class )
   48 
   49 
   50 FT_END_HEADER
   51 
   52 #endif /* AFMODULE_H_ */
   53 
   54 
   55 /* END */