⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftmodapi.h

📁 奇趣公司比较新的qt/emd版本
💻 H
📖 第 1 页 / 共 2 页
字号:
  /*                                                                       */  /* <Return>                                                              */  /*    FreeType error code.  0 means success.                             */  /*                                                                       */  /* <Note>                                                                */  /*    The module object is destroyed by the function in case of success. */  /*                                                                       */  FT_EXPORT( FT_Error )  FT_Remove_Module( FT_Library  library,                    FT_Module   module );  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    FT_New_Library                                                     */  /*                                                                       */  /* <Description>                                                         */  /*    This function is used to create a new FreeType library instance    */  /*    from a given memory object.  It is thus possible to use libraries  */  /*    with distinct memory allocators within the same program.           */  /*                                                                       */  /* <Input>                                                               */  /*    memory   :: A handle to the original memory object.                */  /*                                                                       */  /* <Output>                                                              */  /*    alibrary :: A pointer to handle of a new library object.           */  /*                                                                       */  /* <Return>                                                              */  /*    FreeType error code.  0 means success.                             */  /*                                                                       */  FT_EXPORT( FT_Error )  FT_New_Library( FT_Memory    memory,                  FT_Library  *alibrary );  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    FT_Done_Library                                                    */  /*                                                                       */  /* <Description>                                                         */  /*    Discards a given library object.  This closes all drivers and      */  /*    discards all resource objects.                                     */  /*                                                                       */  /* <Input>                                                               */  /*    library :: A handle to the target library.                         */  /*                                                                       */  /* <Return>                                                              */  /*    FreeType error code.  0 means success.                             */  /*                                                                       */  FT_EXPORT( FT_Error )  FT_Done_Library( FT_Library  library );/* */  typedef void  (*FT_DebugHook_Func)( void*  arg );  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    FT_Set_Debug_Hook                                                  */  /*                                                                       */  /* <Description>                                                         */  /*    Sets a debug hook function for debugging the interpreter of a font */  /*    format.                                                            */  /*                                                                       */  /* <InOut>                                                               */  /*    library    :: A handle to the library object.                      */  /*                                                                       */  /* <Input>                                                               */  /*    hook_index :: The index of the debug hook.  You should use the     */  /*                  values defined in `ftobjs.h', e.g.,                  */  /*                  `FT_DEBUG_HOOK_TRUETYPE'.                            */  /*                                                                       */  /*    debug_hook :: The function used to debug the interpreter.          */  /*                                                                       */  /* <Note>                                                                */  /*    Currently, four debug hook slots are available, but only two (for  */  /*    the TrueType and the Type 1 interpreter) are defined.              */  /*                                                                       */  /*    Since the internal headers of FreeType are no longer installed,    */  /*    the symbol `FT_DEBUG_HOOK_TRUETYPE' isn't available publicly.      */  /*    This is a bug and will be fixed in a forthcoming release.          */  /*                                                                       */  FT_EXPORT( void )  FT_Set_Debug_Hook( FT_Library         library,                     FT_UInt            hook_index,                     FT_DebugHook_Func  debug_hook );  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    FT_Add_Default_Modules                                             */  /*                                                                       */  /* <Description>                                                         */  /*    Adds the set of default drivers to a given library object.         */  /*    This is only useful when you create a library object with          */  /*    @FT_New_Library (usually to plug a custom memory manager).         */  /*                                                                       */  /* <InOut>                                                               */  /*    library :: A handle to a new library object.                       */  /*                                                                       */  FT_EXPORT( void )  FT_Add_Default_Modules( FT_Library  library );  /**************************************************************************   *   * @section:   *   ttengine   *   * @title:   *   The TrueType Engine   *   * @abstract:   *   TrueType bytecode support.   *   * @description:   *   This section contains a function used to query the level of TrueType   *   bytecode support compiled in this version of the library.   *   */  /**************************************************************************   *   *  @enum:   *     FT_TrueTypeEngineType   *   *  @description:   *     A list of values describing which kind of TrueType bytecode   *     engine is implemented in a given FT_Library instance.  It is used   *     by the @FT_Get_TrueType_Engine_Type function.   *   *  @values:   *     FT_TRUETYPE_ENGINE_TYPE_NONE ::   *       The library doesn't implement any kind of bytecode interpreter.   *   *     FT_TRUETYPE_ENGINE_TYPE_UNPATENTED ::   *       The library implements a bytecode interpreter that doesn't   *       support the patented operations of the TrueType virtual machine.   *   *       Its main use is to load certain Asian fonts which position and   *       scale glyph components with bytecode instructions.  It produces   *       bad output for most other fonts.   *   *    FT_TRUETYPE_ENGINE_TYPE_PATENTED ::   *       The library implements a bytecode interpreter that covers   *       the full instruction set of the TrueType virtual machine.   *       See the file `docs/PATENTS' for legal aspects.   *   *  @since:   *       2.2   *   */  typedef enum  {    FT_TRUETYPE_ENGINE_TYPE_NONE = 0,    FT_TRUETYPE_ENGINE_TYPE_UNPATENTED,    FT_TRUETYPE_ENGINE_TYPE_PATENTED  } FT_TrueTypeEngineType;  /**************************************************************************   *   *  @func:   *     FT_Get_TrueType_Engine_Type   *   *  @description:   *     Return a @FT_TrueTypeEngineType value to indicate which level of   *     the TrueType virtual machine a given library instance supports.   *   *  @input:   *     library ::   *       A library instance.   *   *  @return:   *     A value indicating which level is supported.   *   *  @since:   *     2.2   *   */  FT_EXPORT( FT_TrueTypeEngineType )  FT_Get_TrueType_Engine_Type( FT_Library  library );  /* */FT_END_HEADER#endif /* __FTMODAPI_H__ *//* END */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -