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

📄 ftmac.h

📁 奇趣公司比较新的qt/emd版本
💻 H
📖 第 1 页 / 共 2 页
字号:
/***************************************************************************//*                                                                         *//*  ftmac.h                                                                *//*                                                                         *//*    Additional Mac-specific API.                                         *//*                                                                         *//*  Copyright 1996-2001, 2004, 2006, 2007 by                               *//*  Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg.     *//*                                                                         *//*  This file is part of the FreeType project, and may only be used,       *//*  modified, and distributed under the terms of the FreeType project      *//*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     *//*  this file you indicate that you have read the license and              *//*  understand and accept it fully.                                        *//*                                                                         *//***************************************************************************//***************************************************************************//*                                                                         *//* NOTE: Include this file after <freetype/freetype.h> and after the       *//*       Mac-specific <Types.h> header (or any other Mac header that       *//*       includes <Types.h>); we use Handle type.                          *//*                                                                         *//***************************************************************************/#ifndef __FTMAC_H__#define __FTMAC_H__#include <ft2build.h>FT_BEGIN_HEADER/* gcc-3.4.1 and later can warn about functions tagged as deprecated */#ifndef FT_DEPRECATED_ATTRIBUTE#if defined(__GNUC__)                                               && \    ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))#define FT_DEPRECATED_ATTRIBUTE  __attribute__((deprecated))#else#define FT_DEPRECATED_ATTRIBUTE#endif#endif  /*************************************************************************/  /*                                                                       */  /* <Section>                                                             */  /*    mac_specific                                                       */  /*                                                                       */  /* <Title>                                                               */  /*    Mac Specific Interface                                             */  /*                                                                       */  /* <Abstract>                                                            */  /*    Only available on the Macintosh.                                   */  /*                                                                       */  /* <Description>                                                         */  /*    The following definitions are only available if FreeType is        */  /*    compiled on a Macintosh.                                           */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    FT_New_Face_From_FOND                                              */  /*                                                                       */  /* <Description>                                                         */  /*    Create a new face object from a FOND resource.                     */  /*                                                                       */  /* <InOut>                                                               */  /*    library    :: A handle to the library resource.                    */  /*                                                                       */  /* <Input>                                                               */  /*    fond       :: A FOND resource.                                     */  /*                                                                       */  /*    face_index :: Only supported for the -1 `sanity check' special     */  /*                  case.                                                */  /*                                                                       */  /* <Output>                                                              */  /*    aface      :: A handle to a new face object.                       */  /*                                                                       */  /* <Return>                                                              */  /*    FreeType error code.  0 means success.                             */  /*                                                                       */  /* <Notes>                                                               */  /*    This function can be used to create @FT_Face objects from fonts    */  /*    that are installed in the system as follows.                       */  /*                                                                       */  /*    {                                                                  */  /*      fond = GetResource( 'FOND', fontName );                          */  /*      error = FT_New_Face_From_FOND( library, fond, 0, &face );        */  /*    }                                                                  */  /*                                                                       */  FT_EXPORT( FT_Error )  FT_New_Face_From_FOND( FT_Library  library,                         Handle      fond,                         FT_Long     face_index,                         FT_Face    *aface );  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    FT_GetFile_From_Mac_Name                                           */  /*                                                                       */  /* <Description>                                                         */  /*    Return an FSSpec for the disk file containing the named font.      */  /*                                                                       */  /* <Input>                                                               */  /*    fontName   :: Mac OS name of the font (e.g., Times New Roman       */  /*                  Bold).                                               */  /*                                                                       */  /* <Output>                                                              */  /*    pathSpec   :: FSSpec to the file.  For passing to                  */  /*                  @FT_New_Face_From_FSSpec.                            */  /*                                                                       */  /*    face_index :: Index of the face.  For passing to                   */  /*                  @FT_New_Face_From_FSSpec.                            */  /*                                                                       */  /* <Return>                                                              */  /*    FreeType error code.  0 means success.                             */  /*                                                                       */  FT_EXPORT( FT_Error )  FT_GetFile_From_Mac_Name( const char*  fontName,                            FSSpec*      pathSpec,                            FT_Long*     face_index )                          FT_DEPRECATED_ATTRIBUTE;  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */

⌨️ 快捷键说明

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