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

📄 freetype.h

📁 qt-embedded-2.3.8.tar.gz源码
💻 H
📖 第 1 页 / 共 5 页
字号:
  /* <Type>                                                                */  /*    FT_Module                                                          */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a given FreeType module object.  Each module can be a  */  /*    font driver, a renderer, or anything else that provides services   */  /*    to the formers.                                                    */  /*                                                                       */  typedef struct FT_ModuleRec_*  FT_Module;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Driver                                                          */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a given FreeType font driver object.  Each font driver */  /*    is able to create faces, sizes, glyph slots, and charmaps from the */  /*    resources whose format it supports.                                */  /*                                                                       */  /*    A driver can support either bitmap, graymap, or scalable font      */  /*    formats.                                                           */  /*                                                                       */  typedef struct FT_DriverRec_*  FT_Driver;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Renderer                                                        */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a given FreeType renderer.  A renderer is in charge of */  /*    converting a glyph image to a bitmap, when necessary.  Each        */  /*    supports a given glyph image format, and one or more target        */  /*    surface depths.                                                    */  /*                                                                       */  typedef struct FT_RendererRec_*  FT_Renderer;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Face                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a given driver face object.  A face object contains    */  /*    all the instance and glyph independent data of a font file         */  /*    typeface.                                                          */  /*                                                                       */  /*    A face object is created from a resource object through the        */  /*    new_face() method of a given driver.                               */  /*                                                                       */  typedef struct FT_FaceRec_*  FT_Face;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Size                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a given driver size object.  Such an object models the */  /*    _resolution_ AND _size_ dependent state of a given driver face     */  /*    size.                                                              */  /*                                                                       */  /*    A size object is always created from a given face object.  It is   */  /*    discarded automatically by its parent face.                        */  /*                                                                       */  typedef struct FT_SizeRec_*  FT_Size;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_GlyphSlot                                                       */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a given `glyph slot'.  A slot is a container where it  */  /*    is possible to load any of the glyphs contained within its parent  */  /*    face.                                                              */  /*                                                                       */  /*    A glyph slot is created from a given face object.  It is discarded */  /*    automatically by its parent face.                                  */  /*                                                                       */  typedef struct FT_GlyphSlotRec_*  FT_GlyphSlot;  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_CharMap                                                         */  /*                                                                       */  /* <Description>                                                         */  /*    A handle to a given character map.  A charmap is used to translate */  /*    character codes in a given encoding into glyph indexes for its     */  /*    parent's face.  Some font formats may provide several charmaps per */  /*    font.                                                              */  /*                                                                       */  /*    A charmap is created from a given face object.  It is discarded    */  /*    automatically by its parent face.                                  */  /*                                                                       */  typedef struct FT_CharMapRec_*  FT_CharMap;  /*************************************************************************/  /*                                                                       */  /* <Enum>                                                                */  /*    FT_Encoding                                                        */  /*                                                                       */  /* <Description>                                                         */  /*    An enumeration used to specify encodings supported by charmaps.    */  /*    Used in the FT_Select_Charmap() API function.                      */  /*                                                                       */  /* <Note>                                                                */  /*    Because of 32-bit charcodes defined in Unicode (i.e., surrogates), */  /*    all character codes must be expressed as FT_Longs.                 */  /*                                                                       */  /*    Other encodings might be defined in the future.                    */  /*                                                                       */  typedef enum  FT_Encoding_  {    ft_encoding_none    = 0,    ft_encoding_symbol  = FT_MAKE_TAG( 's', 'y', 'm', 'b' ),    ft_encoding_unicode = FT_MAKE_TAG( 'u', 'n', 'i', 'c' ),    ft_encoding_latin_2 = FT_MAKE_TAG( 'l', 'a', 't', '2' ),    ft_encoding_sjis    = FT_MAKE_TAG( 's', 'j', 'i', 's' ),    ft_encoding_gb2312  = FT_MAKE_TAG( 'g', 'b', ' ', ' ' ),    ft_encoding_big5    = FT_MAKE_TAG( 'b', 'i', 'g', '5' ),    ft_encoding_wansung = FT_MAKE_TAG( 'w', 'a', 'n', 's' ),    ft_encoding_johab   = FT_MAKE_TAG( 'j', 'o', 'h', 'a' ),    ft_encoding_adobe_standard = FT_MAKE_TAG( 'A', 'D', 'O', 'B' ),    ft_encoding_adobe_expert   = FT_MAKE_TAG( 'A', 'D', 'B', 'E' ),    ft_encoding_adobe_custom   = FT_MAKE_TAG( 'A', 'D', 'B', 'C' ),    ft_encoding_apple_roman    = FT_MAKE_TAG( 'a', 'r', 'm', 'n' )  } FT_Encoding;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_CharMapRec                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    The base charmap class.                                            */  /*                                                                       */  /* <Fields>                                                              */  /*    face        :: A handle to the parent face object.                 */  /*                                                                       */  /*    encoding    :: A tag which identifies the charmap.  Use this with  */  /*                   FT_Select_Charmap().                                */  /*                                                                       */  /*    platform_id :: An ID number describing the platform for the        */  /*                   following encoding ID.  This comes directly from    */  /*                   the TrueType specification and should be emulated   */  /*                   for other formats.                                  */  /*                                                                       */  /*    encoding_id :: A platform specific encoding number.  This also     */  /*                   comes from the TrueType specification and should be */  /*                   emulated similarly.                                 */  /*                                                                       */  /* <Note>                                                                */  /*    We STRONGLY recommmend emulating a Unicode charmap for drivers     */  /*    that do not support TrueType or OpenType.                          */  /*                                                                       */  typedef struct  FT_CharMapRec_  {    FT_Face      face;    FT_Encoding  encoding;    FT_UShort    platform_id;    FT_UShort    encoding_id;  } FT_CharMapRec;  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /*                 B A S E   O B J E C T   C L A S S E S                 */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Face_Internal                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    An opaque handle to an FT_Face_InternalRec structure, used to      */  /*    model private data of a given FT_Face object.                      */  /*                                                                       */  /*    This field might change between releases of FreeType 2 and are     */  /*    not generally available to client applications.                    */  /*                                                                       */  typedef struct FT_Face_InternalRec_*  FT_Face_Internal;  /*************************************************************************/  /*                                                                       */  /*                       FreeType base face class                        */  /*                                                                       */  /* <Struct>                                                              */  /*    FT_FaceRec                                                         */

⌨️ 快捷键说明

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