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

📄 freetype.h

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 H
📖 第 1 页 / 共 5 页
字号:
  typedef signed long  FT_F26Dot6;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Fixed                                                           */  /*                                                                       */  /* <Description>                                                         */  /*    This type is used to store 16.16 fixed float values, like scales   */  /*    or matrix coefficients.                                            */  /*                                                                       */  typedef signed long  FT_Fixed;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Error                                                           */  /*                                                                       */  /* <Description>                                                         */  /*    The FreeType error code type.  A value of 0 is always interpreted  */  /*    as a successful operation.                                         */  /*                                                                       */  typedef int  FT_Error;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_UnitVector                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    A simple structure used to store a 2d vector unit vector.  Uses    */  /*    FT_F2Dot14 types.                                                  */  /*                                                                       */  /* <Fields>                                                              */  /*    x :: Horizontal coordinate.                                        */  /*    y :: Vertical coordinate.                                          */  /*                                                                       */  typedef struct  FT_UnitVector_  {    FT_F2Dot14  x;    FT_F2Dot14  y;  } FT_UnitVector;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_Matrix                                                          */  /*                                                                       */  /* <Description>                                                         */  /*    A simple structure used to store a 2x2 matrix.  Coefficients are   */  /*    in 16.16 fixed float format.  The computation performed is:        */  /*                                                                       */  /*       {                                                               */  /*          x' = x*xx + y*xy                                             */  /*          y' = x*yx + y*yy                                             */  /*       }                                                               */  /*                                                                       */  /* <Fields>                                                              */  /*    xx :: Matrix coefficient.                                          */  /*    xy :: Matrix coefficient.                                          */  /*    yx :: Matrix coefficient.                                          */  /*    yy :: Matrix coefficient.                                          */  /*                                                                       */  typedef struct  FT_Matrix_  {    FT_Fixed  xx, xy;    FT_Fixed  yx, yy;  } FT_Matrix;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_BBox                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A structure used to hold an outline's bounding box, i.e., the      */  /*    coordinates of its extrema in the horizontal and vertical          */  /*    directions.                                                        */  /*                                                                       */  /* <Fields>                                                              */  /*    xMin :: The horizontal minimum (left-most).                        */  /*    yMin :: The vertical minimum (bottom-most).                        */  /*    xMax :: The horizontal maximum (right-most).                       */  /*    yMax :: The vertical maximum (top-most).                           */  /*                                                                       */  typedef struct  FT_BBox_  {    FT_Pos  xMin, yMin;    FT_Pos  xMax, yMax;  } FT_BBox;  /*************************************************************************/  /*                                                                       */  /* <Macro>                                                               */  /*    FT_MAKE_TAG                                                        */  /*                                                                       */  /* <Description>                                                         */  /*    This macro converts four letter tags which are used to label       */  /*    TrueType tables into an unsigned long to be used within FreeType.  */  /*                                                                       */#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \          (((FT_ULong)_x1 << 24) |        \           ((FT_ULong)_x2 << 16) |        \           ((FT_ULong)_x3 << 8)  |        \            (FT_ULong)_x4)  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /*                    L I S T   M A N A G E M E N T                      */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_ListNode                                                        */  /*                                                                       */  /* <Description>                                                         */  /*     Many elements and objects in FreeType are listed through a        */  /*     FT_List record (see FT_ListRec).  As its name suggests, a         */  /*     FT_ListNode is a handle to a single list element.                 */  /*                                                                       */  typedef struct FT_ListNodeRec_*  FT_ListNode;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_List                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a list record (see FT_ListRec).                        */  /*                                                                       */  typedef struct FT_ListRec_*  FT_List;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_ListNodeRec                                                     */  /*                                                                       */  /* <Description>                                                         */  /*    A structure used to hold a single list element.                    */  /*                                                                       */  /* <Fields>                                                              */  /*    prev :: Previous element in the list.  NULL if first.              */  /*    next :: Next element in the list.  NULL if last.                   */  /*    data :: Typeless pointer to the listed object.                     */  /*                                                                       */  typedef struct  FT_ListNodeRec_  {    FT_ListNode  prev;    FT_ListNode  next;    void*        data;  } FT_ListNodeRec;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_ListRec                                                         */  /*                                                                       */  /* <Description>                                                         */  /*    A structure used to hold a simple doubly-linked list.  These are   */  /*    used in many parts of FreeType.                                    */  /*                                                                       */  /* <Fields>                                                              */  /*    head :: Head (first element) of doubly-linked list.                */  /*    tail :: Tail (last element) of doubly-linked list.                 */  /*                                                                       */  typedef struct  FT_ListRec_  {    FT_ListNode  head;    FT_ListNode  tail;  } FT_ListRec;#define FT_IS_EMPTY(list)  ( (list).head == 0 )  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /*                        B A S I C   T Y P E S                          */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_Glyph_Metrics                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    A structure used to model the metrics of a single glyph.  Note     */  /*    that values are expressed in 26.6 fractional pixel format or in    */  /*    font units, depending on context.                                  */  /*                                                                       */  /* <Fields>                                                              */  /*    width        :: The glyph's width.                                 */  /*    height       :: The glyph's height.                                */

⌨️ 快捷键说明

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