src/java.desktop/share/native/libfreetype/src/autofit/afwarp.h
changeset 54876 da3834261f0c
parent 49234 3375a8039fde
equal deleted inserted replaced
54875:bcfedddcf4ce 54876:da3834261f0c
     1 /***************************************************************************/
     1 /****************************************************************************
     2 /*                                                                         */
     2  *
     3 /*  afwarp.h                                                               */
     3  * afwarp.h
     4 /*                                                                         */
     4  *
     5 /*    Auto-fitter warping algorithm (specification).                       */
     5  *   Auto-fitter warping algorithm (specification).
     6 /*                                                                         */
     6  *
     7 /*  Copyright 2006-2018 by                                                 */
     7  * Copyright (C) 2006-2019 by
     8 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
     8  * David Turner, Robert Wilhelm, and Werner Lemberg.
     9 /*                                                                         */
     9  *
    10 /*  This file is part of the FreeType project, and may only be used,       */
    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      */
    11  * modified, and distributed under the terms of the FreeType project
    12 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
    12  * license, LICENSE.TXT.  By continuing to use, modify, or distribute
    13 /*  this file you indicate that you have read the license and              */
    13  * this file you indicate that you have read the license and
    14 /*  understand and accept it fully.                                        */
    14  * understand and accept it fully.
    15 /*                                                                         */
    15  *
    16 /***************************************************************************/
    16  */
    17 
    17 
    18 
    18 
    19 #ifndef AFWARP_H_
    19 #ifndef AFWARP_H_
    20 #define AFWARP_H_
    20 #define AFWARP_H_
    21 
    21 
    45     AF_WarpScore  best_distort;
    45     AF_WarpScore  best_distort;
    46 
    46 
    47   } AF_WarperRec, *AF_Warper;
    47   } AF_WarperRec, *AF_Warper;
    48 
    48 
    49 
    49 
       
    50 #ifdef AF_CONFIG_OPTION_USE_WARPER
    50   FT_LOCAL( void )
    51   FT_LOCAL( void )
    51   af_warper_compute( AF_Warper      warper,
    52   af_warper_compute( AF_Warper      warper,
    52                      AF_GlyphHints  hints,
    53                      AF_GlyphHints  hints,
    53                      AF_Dimension   dim,
    54                      AF_Dimension   dim,
    54                      FT_Fixed      *a_scale,
    55                      FT_Fixed      *a_scale,
    55                      FT_Fixed      *a_delta );
    56                      FT_Pos        *a_delta );
       
    57 #endif
    56 
    58 
    57 
    59 
    58 FT_END_HEADER
    60 FT_END_HEADER
    59 
    61 
    60 
    62