(root)/
freetype-2.13.2/
src/
sfnt/
ttsbit.h
       1  /****************************************************************************
       2   *
       3   * ttsbit.h
       4   *
       5   *   TrueType and OpenType embedded bitmap support (specification).
       6   *
       7   * Copyright (C) 1996-2023 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 TTSBIT_H_
      20  #define TTSBIT_H_
      21  
      22  
      23  #include "ttload.h"
      24  
      25  
      26  FT_BEGIN_HEADER
      27  
      28  
      29    FT_LOCAL( FT_Error )
      30    tt_face_load_sbit( TT_Face    face,
      31                       FT_Stream  stream );
      32  
      33    FT_LOCAL( void )
      34    tt_face_free_sbit( TT_Face  face );
      35  
      36  
      37    FT_LOCAL( FT_Error )
      38    tt_face_set_sbit_strike( TT_Face          face,
      39                             FT_Size_Request  req,
      40                             FT_ULong*        astrike_index );
      41  
      42    FT_LOCAL( FT_Error )
      43    tt_face_load_strike_metrics( TT_Face           face,
      44                                 FT_ULong          strike_index,
      45                                 FT_Size_Metrics*  metrics );
      46  
      47    FT_LOCAL( FT_Error )
      48    tt_face_load_sbit_image( TT_Face              face,
      49                             FT_ULong             strike_index,
      50                             FT_UInt              glyph_index,
      51                             FT_UInt              load_flags,
      52                             FT_Stream            stream,
      53                             FT_Bitmap           *map,
      54                             TT_SBit_MetricsRec  *metrics );
      55  
      56  
      57  FT_END_HEADER
      58  
      59  #endif /* TTSBIT_H_ */
      60  
      61  
      62  /* END */