1 #ifndef TTENGINE_INTERFACE_DEF_H
2 #define TTENGINE_INTERFACE_DEF_H
5 ** This file was machine generated by idltool 51.3.
10 #include <exec/types.h>
13 #include <exec/exec.h>
15 #ifndef EXEC_INTERFACES_H
16 #include <exec/interfaces.h>
19 #ifndef UTILITY_TAGITEM_H
20 #include <utility/tagitem.h>
22 #ifndef LIBRARIES_TTENGINE_H
23 #include <libraries/ttengine.h>
25 #ifndef GRAPHICS_TEXT_H
26 #include <graphics/text.h>
31 struct InterfaceData Data
;
33 ULONG
APICALL (*Obtain
)(struct TTEngineIFace
*Self
);
34 ULONG
APICALL (*Release
)(struct TTEngineIFace
*Self
);
35 void APICALL (*Expunge
)(struct TTEngineIFace
*Self
);
36 struct Interface
* APICALL (*Clone
)(struct TTEngineIFace
*Self
);
37 APTR
APICALL (*TT_OpenFontA
)(struct TTEngineIFace
*Self
, struct TagItem
* taglist
);
38 APTR
APICALL (*TT_OpenFont
)(struct TTEngineIFace
*Self
, ...);
39 BOOL
APICALL (*TT_SetFont
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, APTR font
);
40 VOID
APICALL (*TT_CloseFont
)(struct TTEngineIFace
*Self
, APTR font
);
41 VOID
APICALL (*TT_Text
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, APTR string
, ULONG count
);
42 ULONG
APICALL (*TT_SetAttrsA
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, struct TagItem
* taglist
);
43 ULONG
APICALL (*TT_SetAttrs
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, ...);
44 ULONG
APICALL (*TT_GetAttrsA
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, struct TagItem
* taglist
);
45 ULONG
APICALL (*TT_GetAttrs
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, ...);
46 ULONG
APICALL (*TT_TextLength
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, APTR string
, ULONG count
);
47 VOID
APICALL (*TT_TextExtent
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, APTR string
, WORD count
, struct TextExtent
* te
);
48 ULONG
APICALL (*TT_TextFit
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
, APTR string
, UWORD count
, struct TextExtent
* te
, struct TextExtent
* tec
, WORD dir
, UWORD cwidth
, UWORD cheight
);
49 struct TT_Pixmap
* APICALL (*TT_GetPixmapA
)(struct TTEngineIFace
*Self
, APTR font
, APTR string
, ULONG count
, struct TagItem
* taglist
);
50 struct TT_Pixmap
* APICALL (*TT_GetPixmap
)(struct TTEngineIFace
*Self
, APTR font
, APTR string
, ULONG count
, ...);
51 VOID
APICALL (*TT_FreePixmap
)(struct TTEngineIFace
*Self
, struct TT_Pixmap
* pixmap
);
52 VOID
APICALL (*TT_DoneRastPort
)(struct TTEngineIFace
*Self
, struct RastPort
* rp
);
53 APTR
APICALL (*TT_AllocRequest
)(struct TTEngineIFace
*Self
);
54 struct TagItem
* APICALL (*TT_RequestA
)(struct TTEngineIFace
*Self
, APTR request
, struct TagItem
* taglist
);
55 struct TagItem
* APICALL (*TT_Request
)(struct TTEngineIFace
*Self
, APTR request
, ...);
56 VOID
APICALL (*TT_FreeRequest
)(struct TTEngineIFace
*Self
, APTR request
);
57 STRPTR
* APICALL (*TT_ObtainFamilyListA
)(struct TTEngineIFace
*Self
, struct TagItem
* taglist
);
58 STRPTR
* APICALL (*TT_ObtainFamilyList
)(struct TTEngineIFace
*Self
, ...);
59 VOID
APICALL (*TT_FreeFamilyList
)(struct TTEngineIFace
*Self
, STRPTR
* list
);
62 #endif /* TTENGINE_INTERFACE_DEF_H */