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

📄 qrasterdefs_p.h

📁 奇趣公司比较新的qt/emd版本
💻 H
📖 第 1 页 / 共 5 页
字号:
  /*                                 try to detect drop-outs in an outline */  /*                                 and correct the glyph bitmap to       */  /*                                 ensure consistent shape continuity.   */  /*                                 If set, this flag hints the scan-line */  /*                                 converter to ignore such cases.       */  /*                                                                       */  /*   QT_FT_OUTLINE_HIGH_PRECISION  :: This flag indicates that the          */  /*                                 scan-line converter should try to     */  /*                                 convert this outline to bitmaps with  */  /*                                 the highest possible quality.  It is  */  /*                                 typically set for small character     */  /*                                 sizes.  Note that this is only a      */  /*                                 hint, that might be completely        */  /*                                 ignored by a given scan-converter.    */  /*                                                                       */  /*   QT_FT_OUTLINE_SINGLE_PASS     :: This flag is set to force a given     */  /*                                 scan-converter to only use a single   */  /*                                 pass over the outline to render a     */  /*                                 bitmap glyph image.  Normally, it is  */  /*                                 set for very large character sizes.   */  /*                                 It is only a hint, that might be      */  /*                                 completely ignored by a given         */  /*                                 scan-converter.                       */  /*                                                                       */#define QT_FT_OUTLINE_NONE             0x0#define QT_FT_OUTLINE_OWNER            0x1#define QT_FT_OUTLINE_EVEN_ODD_FILL    0x2#define QT_FT_OUTLINE_REVERSE_FILL     0x4#define QT_FT_OUTLINE_IGNORE_DROPOUTS  0x8#define QT_FT_OUTLINE_HIGH_PRECISION   0x100#define QT_FT_OUTLINE_SINGLE_PASS      0x200 /*************************************************************************  *  * @enum:  *   qt_ft_outline_flags  *  * @description:  *   These constants are deprecated.  Please use the corresponding  *   @QT_FT_OUTLINE_FLAGS values.  *  * @values:  *   qt_ft_outline_none            :: See @QT_FT_OUTLINE_NONE.  *   qt_ft_outline_owner           :: See @QT_FT_OUTLINE_OWNER.  *   qt_ft_outline_even_odd_fill   :: See @QT_FT_OUTLINE_EVEN_ODD_FILL.  *   qt_ft_outline_reverse_fill    :: See @QT_FT_OUTLINE_REVERSE_FILL.  *   qt_ft_outline_ignore_dropouts :: See @QT_FT_OUTLINE_IGNORE_DROPOUTS.  *   qt_ft_outline_high_precision  :: See @QT_FT_OUTLINE_HIGH_PRECISION.  *   qt_ft_outline_single_pass     :: See @QT_FT_OUTLINE_SINGLE_PASS.  */#define qt_ft_outline_none             QT_FT_OUTLINE_NONE#define qt_ft_outline_owner            QT_FT_OUTLINE_OWNER#define qt_ft_outline_even_odd_fill    QT_FT_OUTLINE_EVEN_ODD_FILL#define qt_ft_outline_reverse_fill     QT_FT_OUTLINE_REVERSE_FILL#define qt_ft_outline_ignore_dropouts  QT_FT_OUTLINE_IGNORE_DROPOUTS#define qt_ft_outline_high_precision   QT_FT_OUTLINE_HIGH_PRECISION#define qt_ft_outline_single_pass      QT_FT_OUTLINE_SINGLE_PASS  /* */#define QT_FT_CURVE_TAG( flag )  ( flag & 3 )#define QT_FT_CURVE_TAG_ON           1#define QT_FT_CURVE_TAG_CONIC        0#define QT_FT_CURVE_TAG_CUBIC        2#define QT_FT_CURVE_TAG_TOUCH_X      8  /* reserved for the TrueType hinter */#define QT_FT_CURVE_TAG_TOUCH_Y     16  /* reserved for the TrueType hinter */#define QT_FT_CURVE_TAG_TOUCH_BOTH  ( QT_FT_CURVE_TAG_TOUCH_X | \                                   QT_FT_CURVE_TAG_TOUCH_Y )#define  QT_FT_Curve_Tag_On       QT_FT_CURVE_TAG_ON#define  QT_FT_Curve_Tag_Conic    QT_FT_CURVE_TAG_CONIC#define  QT_FT_Curve_Tag_Cubic    QT_FT_CURVE_TAG_CUBIC#define  QT_FT_Curve_Tag_Touch_X  QT_FT_CURVE_TAG_TOUCH_X#define  QT_FT_Curve_Tag_Touch_Y  QT_FT_CURVE_TAG_TOUCH_Y  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    QT_FT_Outline_MoveToFunc                                              */  /*                                                                       */  /* <Description>                                                         */  /*    A function pointer type used to describe the signature of a `move  */  /*    to' function during outline walking/decomposition.                 */  /*                                                                       */  /*    A `move to' is emitted to start a new contour in an outline.       */  /*                                                                       */  /* <Input>                                                               */  /*    to   :: A pointer to the target point of the `move to'.            */  /*                                                                       */  /*    user :: A typeless pointer which is passed from the caller of the  */  /*            decomposition function.                                    */  /*                                                                       */  /* <Return>                                                              */  /*    Error code.  0 means success.                                      */  /*                                                                       */  typedef int  (*QT_FT_Outline_MoveToFunc)( QT_FT_Vector*  to,                            void*       user );#define QT_FT_Outline_MoveTo_Func  QT_FT_Outline_MoveToFunc  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    QT_FT_Outline_LineToFunc                                              */  /*                                                                       */  /* <Description>                                                         */  /*    A function pointer type used to describe the signature of a `line  */  /*    to' function during outline walking/decomposition.                 */  /*                                                                       */  /*    A `line to' is emitted to indicate a segment in the outline.       */  /*                                                                       */  /* <Input>                                                               */  /*    to   :: A pointer to the target point of the `line to'.            */  /*                                                                       */  /*    user :: A typeless pointer which is passed from the caller of the  */  /*            decomposition function.                                    */  /*                                                                       */  /* <Return>                                                              */  /*    Error code.  0 means success.                                      */  /*                                                                       */  typedef int  (*QT_FT_Outline_LineToFunc)( QT_FT_Vector*  to,                            void*       user );#define  QT_FT_Outline_LineTo_Func  QT_FT_Outline_LineToFunc  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    QT_FT_Outline_ConicToFunc                                             */  /*                                                                       */  /* <Description>                                                         */  /*    A function pointer type use to describe the signature of a `conic  */  /*    to' function during outline walking/decomposition.                 */  /*                                                                       */  /*    A `conic to' is emitted to indicate a second-order Bezier arc in   */  /*    the outline.                                                       */  /*                                                                       */  /* <Input>                                                               */  /*    control :: An intermediate control point between the last position */  /*               and the new target in `to'.                             */  /*                                                                       */  /*    to      :: A pointer to the target end point of the conic arc.     */  /*                                                                       */  /*    user    :: A typeless pointer which is passed from the caller of   */  /*               the decomposition function.                             */  /*                                                                       */  /* <Return>                                                              */  /*    Error code.  0 means success.                                      */  /*                                                                       */  typedef int  (*QT_FT_Outline_ConicToFunc)( QT_FT_Vector*  control,                             QT_FT_Vector*  to,                             void*       user );#define  QT_FT_Outline_ConicTo_Func  QT_FT_Outline_ConicToFunc  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    QT_FT_Outline_CubicToFunc                                             */  /*                                                                       */  /* <Description>                                                         */  /*    A function pointer type used to describe the signature of a `cubic */  /*    to' function during outline walking/decomposition.                 */  /*                                                                       */  /*    A `cubic to' is emitted to indicate a third-order Bezier arc.      */  /*                                                                       */  /* <Input>                                                               */  /*    control1 :: A pointer to the first Bezier control point.           */  /*                                                                       */  /*    control2 :: A pointer to the second Bezier control point.          */  /*                                                                       */  /*    to       :: A pointer to the target end point.                     */  /*                                                                       */  /*    user     :: A typeless pointer which is passed from the caller of  */  /*                the decomposition function.                            */  /*                                                                       */  /* <Return>                                                              */  /*    Error code.  0 means success.                                      */  /*                                                                       */  typedef int  (*QT_FT_Outline_CubicToFunc)( QT_FT_Vector*  control1,                             QT_FT_Vector*  control2,                             QT_FT_Vector*  to,                             void*       user );#define  QT_FT_Outline_CubicTo_Func  QT_FT_Outline_CubicToFunc  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    QT_FT_Outline_Funcs                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    A structure to hold various function pointers used during outline  */  /*    decomposition in order to emit segments, conic, and cubic Beziers, */  /*    as well as `move to' and `close to' operations.                    */  /*                                                                       */  /* <Fields>                                                              */

⌨️ 快捷键说明

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