16.3. Data Definitions for libqt-mt

This section defines global identifiers and their values that are associated with interfaces contained in libqt-mt. These definitions are organized into groups that correspond to system headers. This convention is used as a convenience for the reader, and does not imply the existence of these headers, or their content. Where an interface is defined as requiring a particular system header file all of the data definitions for that system header file presented here shall be in effect.

This section gives data definitions to promote binary application portability, not to repeat source interface definitions available elsewhere. System providers and application developers should use this ABI to supplement - not to replace - source interface definition specifications.

This specification uses the ISO C (1999) C Language as the reference programming language, and data definitions are specified in ISO C format. The C language is used here as a convenient notation. Using a C language description of these data objects does not preclude their use by other programming languages.

16.3.1. qaccel.h


extern FT_ULong FT_Get_CMap_Language_ID(FT_CharMap);
extern FT_Error FT_Load_Sfnt_Table(FT_Face, FT_ULong, FT_Long, FT_Byte *,
				   FT_ULong *);
extern void *FT_Get_Sfnt_Table(FT_Face, FT_Sfnt_Tag);
extern FT_Error FT_Sfnt_Table_Info(FT_Face, FT_UInt, FT_ULong *,
				   FT_ULong *);

16.3.2. qaction.h


extern FT_Error FT_Outline_Get_BBox(FT_Outline *, FT_BBox *);

16.3.3. qapplication.h


extern void FT_Done_Glyph(FT_Glyph);
extern void FT_Matrix_Multiply(const FT_Matrix *, FT_Matrix *);
extern FT_Error FT_Glyph_Transform(FT_Glyph, FT_Matrix *, FT_Vector *);
extern FT_Error FT_Matrix_Invert(FT_Matrix *);
extern FT_Error FT_Glyph_To_Bitmap(FT_Glyph *, FT_Render_Mode, FT_Vector *,
				   FT_Bool);
extern void FT_Glyph_Get_CBox(FT_Glyph, FT_UInt, FT_BBox *);
extern FT_Error FT_Glyph_Copy(FT_Glyph, FT_Glyph *);
extern FT_Error FT_Get_Glyph(FT_GlyphSlot, FT_Glyph *);

16.3.4. qbitmap.h


extern FT_Error FT_Get_BDF_Property(FT_Face, const char *,
				    BDF_PropertyRec *);
extern FT_Error FT_Get_BDF_Charset_ID(FT_Face, const char **,
				      const char **);

16.3.5. qbrush.h


extern FT_Error FT_New_Size(FT_Face, FT_Size *);
extern FT_Error FT_Activate_Size(FT_Size);
extern FT_Error FT_Done_Size(FT_Size);

16.3.6. qbutton.h


extern FT_Error FT_Bitmap_Done(FT_Library, FT_Bitmap *);
extern FT_Error FT_Bitmap_Convert(FT_Library, const FT_Bitmap *,
				  FT_Bitmap *, FT_Int);
extern void FT_Bitmap_New(FT_Bitmap *);

16.3.7. qbuttongroup.h


extern FT_Module FT_Get_Module(FT_Library, const char *);
extern FT_Error FT_Done_Library(FT_Library);
extern void FT_Set_Debug_Hook(FT_Library, FT_UInt, FT_DebugHook_Func);
extern void FT_Add_Default_Modules(FT_Library);
extern FT_Error FT_New_Library(FT_Memory, FT_Library *);
extern FT_Error FT_Remove_Module(FT_Library, FT_Module);
extern FT_Error FT_Add_Module(FT_Library, const FT_Module_Class *);

16.3.8. qcanvas.h


extern const char *FT_Get_X11_Font_Format(FT_Face);

16.3.9. qclipboard.h


extern void FT_GlyphSlot_Oblique(FT_GlyphSlot);
extern void FT_GlyphSlot_Embolden(FT_GlyphSlot);

16.3.10. qcolor.h


extern FT_Int FT_Has_PS_Glyph_Names(FT_Face);
extern FT_Error FT_Get_PS_Font_Private(FT_Face, PS_PrivateRec *);
extern FT_Error FT_Get_PS_Font_Info(FT_Face, PS_FontInfoRec *);

16.3.11. qcommonstyle.h


extern void XftTextRender32BE(Display *, int, Picture, XftFont *, Picture,
			      int, int, int, int, const FcChar8 *, int);
extern int XftInit(const char *);
extern void XftTextRender16BE(Display *, int, Picture, XftFont *, Picture,
			      int, int, int, int, const FcChar8 *, int);
extern void XftDrawCharSpec(XftDraw *, const XftColor *, XftFont *,
			    const XftCharSpec *, int);
extern void XftTextExtentsUtf16(Display *, XftFont *, const FcChar8 *,
				FcEndian, int, XGlyphInfo *);
extern void XftGlyphSpecRender(Display *, int, Picture, XftFont *, Picture,
			       int, int, const XftGlyphSpec *, int);
extern FT_Face XftLockFace(XftFont *);
extern void XftFontInfoDestroy(Display *, XftFontInfo *);
extern void XftTextExtents8(Display *, XftFont *, const FcChar8 *, int,
			    XGlyphInfo *);
extern void XftDrawSetSubwindowMode(XftDraw *, int);
extern int XftColorAllocValue(Display *, Visual *, Colormap,
			      const XRenderColor *, XftColor *);
extern XftFont *XftFontCopy(Display *, XftFont *);
extern void XftDrawCharFontSpec(XftDraw *, const XftColor *,
				const XftCharFontSpec *, int);
extern void XftGlyphExtents(Display *, XftFont *, const FT_UInt *, int,
			    XGlyphInfo *);
extern Picture XftDrawSrcPicture(XftDraw *, const XftColor *);
extern void XftTextRender16(Display *, int, Picture, XftFont *, Picture,
			    int, int, int, int, const FcChar16 *, int);
extern void XftTextRender32LE(Display *, int, Picture, XftFont *, Picture,
			      int, int, int, int, const FcChar8 *, int);
extern FcBool XftCharExists(Display *, XftFont *, FcChar32);
extern void XftFontClose(Display *, XftFont *);
extern void XftDrawGlyphs(XftDraw *, const XftColor *, XftFont *, int, int,
			  const FT_UInt *, int);
extern void XftDrawString8(XftDraw *, const XftColor *, XftFont *, int,
			   int, const FcChar8 *, int);
extern FcPattern *XftXlfdParse(const char *, FcBool, FcBool);
extern void XftTextRender16LE(Display *, int, Picture, XftFont *, Picture,
			      int, int, int, int, const FcChar8 *, int);
extern int XftColorAllocName(Display *, const Visual *, Colormap,
			     const char *, XftColor *);
extern XftFont *XftFontOpen(Display *, int, ...);
extern void XftFontUnloadGlyphs(Display *, XftFont *, const FT_UInt *,
				int);
extern XftDraw *XftDrawCreateBitmap(Display *, Pixmap);
extern XftDraw *XftDrawCreateAlpha(Display *, Pixmap, int);
extern Colormap XftDrawColormap(XftDraw *);
extern void XftDrawGlyphFontSpec(XftDraw *, const XftColor *,
				 const XftGlyphFontSpec *, int);
extern void XftDrawGlyphSpec(XftDraw *, const XftColor *, XftFont *,
			     const XftGlyphSpec *, int);
extern void XftTextRenderUtf16(Display *, int, Picture, XftFont *, Picture,
			       int, int, int, int, const FcChar8 *,
			       FcEndian, int);
extern int XftDrawSetClipRectangles(XftDraw *, int, int,
				    const XRectangle *, int);
extern void XftDrawDestroy(XftDraw *);
extern int XftDefaultHasRender(Display *);
extern XftFontInfo *XftFontInfoCreate(Display *, const FcPattern *);
extern void XftCharFontSpecRender(Display *, int, Picture, Picture, int,
				  int, const XftCharFontSpec *, int);
extern int XftGetVersion(void);
extern Drawable XftDrawDrawable(XftDraw *);
extern void XftUnlockFace(XftFont *);
extern void XftGlyphFontSpecRender(Display *, int, Picture, Picture, int,
				   int, const XftGlyphFontSpec *, int);
extern void XftColorFree(Display *, Visual *, Colormap, XftColor *);
extern FcBool XftFontInfoEqual(const XftFontInfo *, const XftFontInfo *);
extern void XftDrawRect(XftDraw *, const XftColor *, int, int,
			unsigned int, unsigned int);
extern XftFont *XftFontOpenPattern(Display *, FcPattern *);
extern FcPattern *XftNameParse(const char *);
extern Display *XftDrawDisplay(XftDraw *);
extern FcBool XftFontCheckGlyph(Display *, XftFont *, FcBool, FT_UInt,
				FT_UInt *, int *);
extern FcFontSet *XftListFonts(Display *, int, ...);
extern void XftDefaultSubstitute(Display *, int, FcPattern *);
extern Visual *XftDrawVisual(XftDraw *);
extern void XftFontLoadGlyphs(Display *, XftFont *, FcBool,
			      const FT_UInt *, int);
extern XftFont *XftFontOpenXlfd(Display *, int, const char *);
extern XftDraw *XftDrawCreate(Display *, Drawable, Visual *, Colormap);
extern void XftTextExtentsUtf8(Display *, XftFont *, const FcChar8 *, int,
			       XGlyphInfo *);
extern void XftTextExtents32(Display *, XftFont *, const FcChar32 *, int,
			     XGlyphInfo *);
extern void XftTextRenderUtf8(Display *, int, Picture, XftFont *, Picture,
			      int, int, int, int, const FcChar8 *, int);
extern FT_UInt XftCharIndex(Display *, XftFont *, FcChar32);
extern void XftTextRender32(Display *, int, Picture, XftFont *, Picture,
			    int, int, int, int, const FcChar32 *, int);
extern void XftGlyphRender(Display *, int, Picture, XftFont *, Picture,
			   int, int, int, int, const FT_UInt *, int);
extern Picture XftDrawPicture(XftDraw *);
extern void XftDrawStringUtf8(XftDraw *, const XftColor *, XftFont *, int,
			      int, const FcChar8 *, int);
extern int XftDefaultSet(Display *, FcPattern *);
extern void XftDrawStringUtf16(XftDraw *, const XftColor *, XftFont *, int,
			       int, const FcChar8 *, FcEndian, int);
extern int XftDrawSetClip(XftDraw *, Region);
extern void XftDrawString32(XftDraw *, const XftColor *, XftFont *, int,
			    int, const FcChar32 *, int);
extern FcChar32 XftFontInfoHash(const XftFontInfo *);
extern XftFont *XftFontOpenInfo(Display *, FcPattern *, XftFontInfo *);
extern void XftDrawChange(XftDraw *, Drawable);
extern void XftCharSpecRender(Display *, int, Picture, XftFont *, Picture,
			      int, int, const XftCharSpec *, int);
extern void XftTextRender8(Display *, int, Picture, XftFont *, Picture,
			   int, int, int, int, const FcChar8 *, int);
extern void XftTextExtents16(Display *, XftFont *, const FcChar16 *, int,
			     XGlyphInfo *);
extern XftFont *XftFontOpenName(Display *, int, const char *);
extern FcPattern *XftFontMatch(Display *, int, const FcPattern *,
			       FcResult *);
extern FcBool XftInitFtLibrary(void);
extern void XftDrawString16(XftDraw *, const XftColor *, XftFont *, int,
			    int, const FcChar16 *, int);

16.3.12. qcstring.h


extern FT_Error FT_Get_Sfnt_Name(FT_Face, FT_UInt, FT_SfntName *);
extern FT_UInt FT_Get_Sfnt_Name_Count(FT_Face);

16.3.13. qevent.h


extern FT_Error FT_OpenType_Validate(FT_Face, FT_UInt, FT_Bytes *,
				     FT_Bytes *, FT_Bytes *, FT_Bytes *,
				     FT_Bytes *);

16.3.14. qgdict.h


extern FT_Error FT_Set_Renderer(FT_Library, FT_Renderer, FT_UInt,
				FT_Parameter *);
extern FT_Renderer FT_Get_Renderer(FT_Library, FT_Glyph_Format);

16.3.15. qlayout.h


extern FT_Error FT_Get_Multi_Master(FT_Face, FT_Multi_Master *);
extern FT_Error FT_Set_MM_Design_Coordinates(FT_Face, FT_UInt, FT_Long *);
extern FT_Error FT_Get_MM_Var(FT_Face, FT_MM_Var * *);
extern FT_Error FT_Set_Var_Blend_Coordinates(FT_Face, FT_UInt, FT_Fixed *);
extern FT_Error FT_Set_MM_Blend_Coordinates(FT_Face, FT_UInt, FT_Fixed *);
extern FT_Error FT_Set_Var_Design_Coordinates(FT_Face, FT_UInt,
					      FT_Fixed *);

16.3.16. qlistview.h


extern FT_Error FT_Glyph_Stroke(FT_Glyph *, FT_Stroker, FT_Bool);
extern FT_Error FT_Stroker_ConicTo(FT_Stroker, FT_Vector *, FT_Vector *);
extern void FT_Stroker_Done(FT_Stroker);
extern FT_StrokerBorder FT_Outline_GetInsideBorder(FT_Outline *);
extern FT_Error FT_Stroker_ParseOutline(FT_Stroker, FT_Outline *, FT_Bool);
extern FT_Error FT_Stroker_New(FT_Memory, FT_Stroker *);
extern FT_Error FT_Stroker_BeginSubPath(FT_Stroker, FT_Vector *, FT_Bool);
extern void FT_Stroker_Set(FT_Stroker, FT_Fixed, FT_Stroker_LineCap,
			   FT_Stroker_LineJoin, FT_Fixed);
extern void FT_Stroker_Rewind(FT_Stroker);
extern FT_Error FT_Glyph_StrokeBorder(FT_Glyph *, FT_Stroker, FT_Bool,
				      FT_Bool);
extern FT_StrokerBorder FT_Outline_GetOutsideBorder(FT_Outline *);
extern void FT_Stroker_Export(FT_Stroker, FT_Outline *);
extern FT_Error FT_Stroker_GetCounts(FT_Stroker, FT_UInt *, FT_UInt *);
extern FT_Error FT_Stroker_CubicTo(FT_Stroker, FT_Vector *, FT_Vector *,
				   FT_Vector *);
extern FT_Error FT_Stroker_LineTo(FT_Stroker, FT_Vector *);
extern FT_Error FT_Stroker_GetBorderCounts(FT_Stroker, FT_StrokerBorder,
					   FT_UInt *, FT_UInt *);
extern FT_Error FT_Stroker_EndSubPath(FT_Stroker);
extern void FT_Stroker_ExportBorder(FT_Stroker, FT_StrokerBorder,
				    FT_Outline *);