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

📄 freetype.h

📁 qt-x11-opensource-src-4.1.4.tar.gz源码
💻 H
📖 第 1 页 / 共 5 页
字号:
/***************************************************************************//*                                                                         *//*  freetype.h                                                             *//*                                                                         *//*    FreeType high-level API and common types (specification only).       *//*                                                                         *//*  Copyright 1996-2001, 2002, 2003, 2004, 2005 by                         *//*  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.                                        *//*                                                                         *//***************************************************************************/#ifndef FT_FREETYPE_H#error "`ft2build.h' hasn't been included yet!"#error "Please always use macros to include FreeType header files."#error "Example:"#error "  #include <ft2build.h>"#error "  #include FT_FREETYPE_H"#endif#ifndef __FREETYPE_H__#define __FREETYPE_H__  /*************************************************************************/  /*                                                                       */  /* The `raster' component duplicates some of the declarations in         */  /* freetype.h for stand-alone use if _FREETYPE_ isn't defined.           */  /*                                                                       */  /*************************************************************************/  /*                                                                       */  /* The FREETYPE_MAJOR and FREETYPE_MINOR macros are used to version the  */  /* new FreeType design, which is able to host several kinds of font      */  /* drivers.  It starts at 2.0.                                           */  /*                                                                       */#define FREETYPE_MAJOR 2#define FREETYPE_MINOR 1#define FREETYPE_PATCH 10#include <ft2build.h>#include FT_CONFIG_CONFIG_H#include FT_ERRORS_H#include FT_TYPES_HFT_BEGIN_HEADER  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /*                        B A S I C   T Y P E S                          */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Section>                                                             */  /*    base_interface                                                     */  /*                                                                       */  /* <Title>                                                               */  /*    Base Interface                                                     */  /*                                                                       */  /* <Abstract>                                                            */  /*    The FreeType 2 base font interface.                                */  /*                                                                       */  /* <Description>                                                         */  /*    This section describes the public high-level API of FreeType 2.    */  /*                                                                       */  /* <Order>                                                               */  /*    FT_Library                                                         */  /*    FT_Face                                                            */  /*    FT_Size                                                            */  /*    FT_GlyphSlot                                                       */  /*    FT_CharMap                                                         */  /*    FT_Encoding                                                        */  /*                                                                       */  /*    FT_FaceRec                                                         */  /*                                                                       */  /*    FT_FACE_FLAG_SCALABLE                                              */  /*    FT_FACE_FLAG_FIXED_SIZES                                           */  /*    FT_FACE_FLAG_FIXED_WIDTH                                           */  /*    FT_FACE_FLAG_HORIZONTAL                                            */  /*    FT_FACE_FLAG_VERTICAL                                              */  /*    FT_FACE_FLAG_SFNT                                                  */  /*    FT_FACE_FLAG_KERNING                                               */  /*    FT_FACE_FLAG_MULTIPLE_MASTERS                                      */  /*    FT_FACE_FLAG_GLYPH_NAMES                                           */  /*    FT_FACE_FLAG_EXTERNAL_STREAM                                       */  /*    FT_FACE_FLAG_FAST_GLYPHS                                           */  /*                                                                       */  /*    FT_STYLE_FLAG_BOLD                                                 */  /*    FT_STYLE_FLAG_ITALIC                                               */  /*                                                                       */  /*    FT_SizeRec                                                         */  /*    FT_Size_Metrics                                                    */  /*                                                                       */  /*    FT_GlyphSlotRec                                                    */  /*    FT_Glyph_Metrics                                                   */  /*    FT_SubGlyph                                                        */  /*                                                                       */  /*    FT_Bitmap_Size                                                     */  /*                                                                       */  /*    FT_Init_FreeType                                                   */  /*    FT_Done_FreeType                                                   */  /*    FT_Library_Version                                                 */  /*                                                                       */  /*    FT_New_Face                                                        */  /*    FT_Done_Face                                                       */  /*    FT_New_Memory_Face                                                 */  /*    FT_Open_Face                                                       */  /*    FT_Open_Args                                                       */  /*    FT_Parameter                                                       */  /*    FT_Attach_File                                                     */  /*    FT_Attach_Stream                                                   */  /*                                                                       */  /*    FT_Set_Char_Size                                                   */  /*    FT_Set_Pixel_Sizes                                                 */  /*    FT_Set_Transform                                                   */  /*    FT_Load_Glyph                                                      */  /*    FT_Get_Char_Index                                                  */  /*    FT_Get_Name_Index                                                  */  /*    FT_Load_Char                                                       */  /*                                                                       */  /*    FT_OPEN_MEMORY                                                     */  /*    FT_OPEN_STREAM                                                     */  /*    FT_OPEN_PATHNAME                                                   */  /*    FT_OPEN_DRIVER                                                     */  /*    FT_OPEN_PARAMS                                                     */  /*                                                                       */  /*    FT_LOAD_DEFAULT                                                    */  /*    FT_LOAD_RENDER                                                     */  /*    FT_LOAD_MONOCHROME                                                 */  /*    FT_LOAD_LINEAR_DESIGN                                              */  /*    FT_LOAD_NO_SCALE                                                   */  /*    FT_LOAD_NO_HINTING                                                 */  /*    FT_LOAD_NO_BITMAP                                                  */  /*    FT_LOAD_CROP_BITMAP                                                */  /*                                                                       */  /*    FT_LOAD_VERTICAL_LAYOUT                                            */  /*    FT_LOAD_IGNORE_TRANSFORM                                           */  /*    FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH                                */  /*    FT_LOAD_FORCE_AUTOHINT                                             */  /*    FT_LOAD_NO_RECURSE                                                 */  /*    FT_LOAD_PEDANTIC                                                   */  /*                                                                       */  /*    FT_LOAD_TARGET_NORMAL                                              */  /*    FT_LOAD_TARGET_LIGHT                                               */  /*    FT_LOAD_TARGET_MONO                                                */  /*    FT_LOAD_TARGET_LCD                                                 */  /*    FT_LOAD_TARGET_LCD_V                                               */  /*                                                                       */  /*    FT_Render_Glyph                                                    */  /*    FT_Render_Mode                                                     */  /*    FT_Get_Kerning                                                     */  /*    FT_Kerning_Mode                                                    */  /*    FT_Get_Glyph_Name                                                  */  /*    FT_Get_Postscript_Name                                             */  /*                                                                       */  /*    FT_CharMapRec                                                      */  /*    FT_Select_Charmap                                                  */  /*    FT_Set_Charmap                                                     */  /*    FT_Get_Charmap_Index                                               */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_Glyph_Metrics                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    A structure used to model the metrics of a single glyph.  The      */  /*    values are expressed in 26.6 fractional pixel format; if the flag  */  /*    FT_LOAD_NO_SCALE is used, values are returned in font units        */  /*    instead.                                                           */  /*                                                                       */  /* <Fields>                                                              */  /*    width ::                                                           */  /*      The glyph's width.                                               */  /*                                                                       */  /*    height ::                                                          */  /*      The glyph's height.                                              */  /*                                                                       */  /*    horiBearingX ::                                                    */  /*      Left side bearing for horizontal layout.                         */  /*                                                                       */

⌨️ 快捷键说明

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