68 #ifndef __QT_FTIMAGE_H__ 69 #define __QT_FTIMAGE_H__ 232 #define qt_ft_pixel_mode_none QT_FT_PIXEL_MODE_NONE 233 #define qt_ft_pixel_mode_mono QT_FT_PIXEL_MODE_MONO 234 #define qt_ft_pixel_mode_grays QT_FT_PIXEL_MODE_GRAY 235 #define qt_ft_pixel_mode_pal2 QT_FT_PIXEL_MODE_GRAY2 236 #define qt_ft_pixel_mode_pal4 QT_FT_PIXEL_MODE_GRAY4 264 typedef enum QT_FT_Palette_Mode_
266 qt_ft_palette_mode_rgb = 0,
267 qt_ft_palette_mode_rgba,
269 qt_ft_palettte_mode_max
271 } QT_FT_Palette_Mode;
462 #define QT_FT_OUTLINE_NONE 0x0 463 #define QT_FT_OUTLINE_OWNER 0x1 464 #define QT_FT_OUTLINE_EVEN_ODD_FILL 0x2 465 #define QT_FT_OUTLINE_REVERSE_FILL 0x4 466 #define QT_FT_OUTLINE_IGNORE_DROPOUTS 0x8 468 #define QT_FT_OUTLINE_HIGH_PRECISION 0x100 469 #define QT_FT_OUTLINE_SINGLE_PASS 0x200 490 #define qt_ft_outline_none QT_FT_OUTLINE_NONE 491 #define qt_ft_outline_owner QT_FT_OUTLINE_OWNER 492 #define qt_ft_outline_even_odd_fill QT_FT_OUTLINE_EVEN_ODD_FILL 493 #define qt_ft_outline_reverse_fill QT_FT_OUTLINE_REVERSE_FILL 494 #define qt_ft_outline_ignore_dropouts QT_FT_OUTLINE_IGNORE_DROPOUTS 495 #define qt_ft_outline_high_precision QT_FT_OUTLINE_HIGH_PRECISION 496 #define qt_ft_outline_single_pass QT_FT_OUTLINE_SINGLE_PASS 500 #define QT_FT_CURVE_TAG( flag ) ( flag & 3 ) 502 #define QT_FT_CURVE_TAG_ON 1 503 #define QT_FT_CURVE_TAG_CONIC 0 504 #define QT_FT_CURVE_TAG_CUBIC 2 506 #define QT_FT_CURVE_TAG_TOUCH_X 8 507 #define QT_FT_CURVE_TAG_TOUCH_Y 16 509 #define QT_FT_CURVE_TAG_TOUCH_BOTH ( QT_FT_CURVE_TAG_TOUCH_X | \ 510 QT_FT_CURVE_TAG_TOUCH_Y ) 512 #define QT_FT_Curve_Tag_On QT_FT_CURVE_TAG_ON 513 #define QT_FT_Curve_Tag_Conic QT_FT_CURVE_TAG_CONIC 514 #define QT_FT_Curve_Tag_Cubic QT_FT_CURVE_TAG_CUBIC 515 #define QT_FT_Curve_Tag_Touch_X QT_FT_CURVE_TAG_TOUCH_X 516 #define QT_FT_Curve_Tag_Touch_Y QT_FT_CURVE_TAG_TOUCH_Y 542 #define QT_FT_Outline_MoveTo_Func QT_FT_Outline_MoveToFunc 568 #define QT_FT_Outline_LineTo_Func QT_FT_Outline_LineToFunc 599 #define QT_FT_Outline_ConicTo_Func QT_FT_Outline_ConicToFunc 631 #define QT_FT_Outline_CubicTo_Func QT_FT_Outline_CubicToFunc 708 #ifndef QT_FT_IMAGE_TAG 709 #define QT_FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) \ 710 value = ( ( (unsigned long)_x1 << 24 ) | \ 711 ( (unsigned long)_x2 << 16 ) | \ 712 ( (unsigned long)_x3 << 8 ) | \ 783 #define qt_ft_glyph_format_none QT_FT_GLYPH_FORMAT_NONE 784 #define qt_ft_glyph_format_composite QT_FT_GLYPH_FORMAT_COMPOSITE 785 #define qt_ft_glyph_format_bitmap QT_FT_GLYPH_FORMAT_BITMAP 786 #define qt_ft_glyph_format_outline QT_FT_GLYPH_FORMAT_OUTLINE 787 #define qt_ft_glyph_format_plotter QT_FT_GLYPH_FORMAT_PLOTTER 918 #define QT_FT_Raster_Span_Func QT_FT_SpanFunc 1018 #define QT_FT_RASTER_FLAG_DEFAULT 0x0 1019 #define QT_FT_RASTER_FLAG_AA 0x1 1020 #define QT_FT_RASTER_FLAG_DIRECT 0x2 1021 #define QT_FT_RASTER_FLAG_CLIP 0x4 1024 #define qt_ft_raster_flag_default QT_FT_RASTER_FLAG_DEFAULT 1025 #define qt_ft_raster_flag_aa QT_FT_RASTER_FLAG_AA 1026 #define qt_ft_raster_flag_direct QT_FT_RASTER_FLAG_DIRECT 1027 #define qt_ft_raster_flag_clip QT_FT_RASTER_FLAG_CLIP 1123 #define QT_FT_Raster_New_Func QT_FT_Raster_NewFunc 1139 #define QT_FT_Raster_Done_Func QT_FT_Raster_DoneFunc 1170 unsigned char* pool_base,
1171 unsigned long pool_size );
1173 #define QT_FT_Raster_Reset_Func QT_FT_Raster_ResetFunc 1198 #define QT_FT_Raster_Set_Mode_Func QT_FT_Raster_SetModeFunc 1238 #define QT_FT_Raster_Render_Func QT_FT_Raster_RenderFunc
QT_FT_Raster_DoneFunc raster_done
void(* QT_FT_Raster_ResetFunc)(QT_FT_Raster raster, unsigned char *pool_base, unsigned long pool_size)
int(* QT_FT_Raster_SetModeFunc)(QT_FT_Raster raster, unsigned long mode, void *args)
struct QT_FT_Outline_Funcs_ QT_FT_Outline_Funcs
int(* QT_FT_Outline_LineToFunc)(QT_FT_Vector *to, void *user)
struct TRaster_ * QT_FT_Raster
QT_FT_Raster_SetModeFunc raster_set_mode
QT_FT_SpanFunc gray_spans
int(* QT_FT_Raster_RenderFunc)(QT_FT_Raster raster, QT_FT_Raster_Params *params)
int(* QT_FT_Raster_BitTest_Func)(int y, int x, void *user)
struct QT_FT_Span_ QT_FT_Span
QT_FT_Outline_ConicToFunc conic_to
QT_FT_Outline_LineToFunc line_to
QT_FT_Raster_BitSet_Func bit_set
int(* QT_FT_Outline_MoveToFunc)(QT_FT_Vector *to, void *user)
#define QT_FT_BEGIN_HEADER
enum QT_FT_Glyph_Format_ QT_FT_Glyph_Format
int(* QT_FT_Raster_NewFunc)(QT_FT_Raster *raster)
void(* QT_FT_Raster_DoneFunc)(QT_FT_Raster raster)
enum QT_FT_Pixel_Mode_ QT_FT_Pixel_Mode
struct QT_FT_Raster_Funcs_ QT_FT_Raster_Funcs
void(* QT_FT_SpanFunc)(int count, const QT_FT_Span *spans, void *worker)
QT_FT_SpanFunc black_spans
QT_FT_Outline_CubicToFunc cubic_to
QT_FT_Glyph_Format glyph_format
struct QT_FT_Outline_ QT_FT_Outline
struct QT_FT_BBox_ QT_FT_BBox
int(* QT_FT_Outline_CubicToFunc)(QT_FT_Vector *control1, QT_FT_Vector *control2, QT_FT_Vector *to, void *user)
#define QT_FT_IMAGE_TAG(value, _x1, _x2, _x3, _x4)
struct QT_FT_Bitmap_ QT_FT_Bitmap
QT_FT_Outline_MoveToFunc move_to
QT_FT_Raster_BitTest_Func bit_test
QT_FT_BEGIN_HEADER typedef signed int QT_FT_Pos
struct QT_FT_Raster_Params_ QT_FT_Raster_Params
QT_FT_Raster_RenderFunc raster_render
QT_FT_Raster_ResetFunc raster_reset
struct QT_FT_Vector_ QT_FT_Vector
void(* QT_FT_Raster_BitSet_Func)(int y, int x, void *user)
QT_FT_Raster_NewFunc raster_new
int(* QT_FT_Outline_ConicToFunc)(QT_FT_Vector *control, QT_FT_Vector *to, void *user)