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

📄 tttypes.h

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 H
📖 第 1 页 / 共 5 页
字号:
/***************************************************************************//*                                                                         *//*  tttypes.h                                                              *//*                                                                         *//*    Basic SFNT/TrueType type definitions and interface (specification    *//*    only).                                                               *//*                                                                         *//*  This code is shared by all TrueType and OpenType drivers.              *//*                                                                         *//*                                                                         *//*  Copyright 1996-2000 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 TTTYPES_H#define TTTYPES_H#include <freetype.h>#ifdef __cplusplus  extern "C" {#endif  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /***                                                                   ***/  /***                                                                   ***/  /***                DEFINITIONS OF BASIC DATA TYPES                    ***/  /***                                                                   ***/  /***                                                                   ***/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* The REDEFINE() macro is used to convert a FreeType generic type into  */  /* a TrueType-specific one.  It simply replaces the `FT_' prefix by      */  /* `TT_' in order to define compatible types like TT_Long, TT_Error,     */  /* TT_Outline, etc.                                                      */  /*                                                                       */#undef  REDEFINE#define REDEFINE( type )  typedef FT_##type  TT_##type  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_Bool                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A typedef of unsigned char, used for simple booleans.              */  /*                                                                       */  REDEFINE( Bool );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_FWord                                                           */  /*                                                                       */  /* <Description>                                                         */  /*    A signed 16-bit integer used to store a distance in original font  */  /*    units.                                                             */  /*                                                                       */  REDEFINE( FWord );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_UFWord                                                          */  /*                                                                       */  /* <Description>                                                         */  /*    An unsigned 16-bit integer used to store a distance in original    */  /*    font units.                                                        */  /*                                                                       */  REDEFINE( UFWord );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_Char                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A simple typedef for the _signed_ char type.                       */  /*                                                                       */  REDEFINE( Char );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_Byte                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A simple typedef for the _unsigned_ char type.                     */  /*                                                                       */  REDEFINE( Byte );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_String                                                          */  /*                                                                       */  /* <Description>                                                         */  /*    A simple typedef for the char type, usually used for strings.      */  /*                                                                       */  REDEFINE( String );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_Short                                                           */  /*                                                                       */  /* <Description>                                                         */  /*    A typedef for signed short.                                        */  /*                                                                       */  REDEFINE( Short );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_UShort                                                          */  /*                                                                       */  /* <Description>                                                         */  /*    A typedef for unsigned short.                                      */  /*                                                                       */  REDEFINE( UShort );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_Int                                                             */  /*                                                                       */  /* <Description>                                                         */  /*    A typedef for the int type.                                        */  /*                                                                       */  REDEFINE( Int );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_UInt                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A typedef for the unsigned int type.                               */  /*                                                                       */  REDEFINE( UInt );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_Long                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A typedef for signed long.                                         */  /*                                                                       */  REDEFINE( Long );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_ULong                                                           */  /*                                                                       */  /* <Description>                                                         */  /*    A typedef for unsigned long.                                       */  /*                                                                       */  REDEFINE( ULong );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_F2Dot14                                                         */  /*                                                                       */  /* <Description>                                                         */  /*    A signed 2.14 fixed float type used for unit vectors.              */  /*                                                                       */  REDEFINE( F2Dot14 );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_F26Dot6                                                         */  /*                                                                       */  /* <Description>                                                         */  /*    A signed 26.6 fixed float type used for vectorial pixel            */  /*    coordinates.                                                       */  /*                                                                       */  REDEFINE( F26Dot6 );  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    TT_Fixed                                                           */  /*                                                                       */  /* <Description>                                                         */  /*    This type is used to store 16.16 fixed float values, like scales   */  /*    or matrix coefficients.                                            */  /*                                                                       */

⌨️ 快捷键说明

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