1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_TTENGINE_H
    4 #define _PPCINLINE_TTENGINE_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef TTENGINE_BASE_NAME
   11 #define TTENGINE_BASE_NAME TTEngineBase
   12 #endif /* !TTENGINE_BASE_NAME */
   13 
   14 #define TT_OpenFontA(__p0) \
   15 	LP1(30, APTR , TT_OpenFontA, \
   16 		struct TagItem *, __p0, a0, \
   17 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   18 
   19 #define TT_SetFont(__p0, __p1) \
   20 	LP2(36, BOOL , TT_SetFont, \
   21 		struct RastPort *, __p0, a1, \
   22 		APTR , __p1, a0, \
   23 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   24 
   25 #define TT_CloseFont(__p0) \
   26 	LP1NR(42, TT_CloseFont, \
   27 		APTR , __p0, a0, \
   28 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   29 
   30 #define TT_Text(__p0, __p1, __p2) \
   31 	LP3NR(48, TT_Text, \
   32 		struct RastPort *, __p0, a1, \
   33 		APTR , __p1, a0, \
   34 		ULONG , __p2, d0, \
   35 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   36 
   37 #define TT_SetAttrsA(__p0, __p1) \
   38 	LP2(54, ULONG , TT_SetAttrsA, \
   39 		struct RastPort *, __p0, a1, \
   40 		struct TagItem *, __p1, a0, \
   41 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   42 
   43 #define TT_GetAttrsA(__p0, __p1) \
   44 	LP2(60, ULONG , TT_GetAttrsA, \
   45 		struct RastPort *, __p0, a1, \
   46 		struct TagItem *, __p1, a0, \
   47 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   48 
   49 #define TT_TextLength(__p0, __p1, __p2) \
   50 	LP3(66, ULONG , TT_TextLength, \
   51 		struct RastPort *, __p0, a1, \
   52 		APTR , __p1, a0, \
   53 		ULONG , __p2, d0, \
   54 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   55 
   56 #define TT_TextExtent(__p0, __p1, __p2, __p3) \
   57 	LP4NR(72, TT_TextExtent, \
   58 		struct RastPort *, __p0, a1, \
   59 		APTR , __p1, a0, \
   60 		WORD , __p2, d0, \
   61 		struct TextExtent *, __p3, a2, \
   62 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   63 
   64 #define TT_TextFit(__p0, __p1, __p2, __p3, __p4, __p5, __p6, __p7) \
   65 	LP8(78, ULONG , TT_TextFit, \
   66 		struct RastPort *, __p0, a1, \
   67 		APTR , __p1, a0, \
   68 		UWORD , __p2, d0, \
   69 		struct TextExtent *, __p3, a2, \
   70 		struct TextExtent *, __p4, a3, \
   71 		WORD , __p5, d1, \
   72 		UWORD , __p6, d2, \
   73 		UWORD , __p7, d3, \
   74 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   75 
   76 #define TT_GetPixmapA(__p0, __p1, __p2, __p3) \
   77 	LP4(84, struct TT_Pixmap *, TT_GetPixmapA, \
   78 		APTR , __p0, a1, \
   79 		APTR , __p1, a2, \
   80 		ULONG , __p2, d0, \
   81 		struct TagItem *, __p3, a0, \
   82 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   83 
   84 #define TT_FreePixmap(__p0) \
   85 	LP1NR(90, TT_FreePixmap, \
   86 		struct TT_Pixmap *, __p0, a0, \
   87 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   88 
   89 #define TT_DoneRastPort(__p0) \
   90 	LP1NR(96, TT_DoneRastPort, \
   91 		struct RastPort *, __p0, a1, \
   92 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   93 
   94 #define TT_AllocRequest() \
   95 	LP0(102, APTR , TT_AllocRequest, \
   96 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
   97 
   98 #define TT_RequestA(__p0, __p1) \
   99 	LP2(108, struct TagItem *, TT_RequestA, \
  100 		APTR , __p0, a0, \
  101 		struct TagItem *, __p1, a1, \
  102 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
  103 
  104 #define TT_FreeRequest(__p0) \
  105 	LP1NR(114, TT_FreeRequest, \
  106 		APTR , __p0, a0, \
  107 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
  108 
  109 #define TT_ObtainFamilyListA(__p0) \
  110 	LP1(120, STRPTR *, TT_ObtainFamilyListA, \
  111 		struct TagItem *, __p0, a0, \
  112 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
  113 
  114 #define TT_FreeFamilyList(__p0) \
  115 	LP1NR(126, TT_FreeFamilyList, \
  116 		STRPTR *, __p0, a0, \
  117 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
  118 
  119 #define TT_CharPositions(__p0, __p1, __p2, __p3) \
  120 	LP4(132, ULONG , TT_CharPositions, \
  121 		struct RastPort *, __p0, a1, \
  122 		APTR , __p1, a0, \
  123 		ULONG , __p2, d0, \
  124 		FLOAT *, __p3, a2, \
  125 		, TTENGINE_BASE_NAME, 0, 0, 0, 0, 0, 0)
  126 
  127 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__)
  128 
  129 #include <stdarg.h>
  130 
  131 #define TT_OpenFont(...) \
  132 	({ULONG _tags[] = { __VA_ARGS__ }; \
  133 	TT_OpenFontA((struct TagItem *)_tags);})
  134 
  135 #define TT_SetAttrs(__p0, ...) \
  136 	({ULONG _tags[] = { __VA_ARGS__ }; \
  137 	TT_SetAttrsA(__p0, (struct TagItem *)_tags);})
  138 
  139 #define TT_GetAttrs(__p0, ...) \
  140 	({ULONG _tags[] = { __VA_ARGS__ }; \
  141 	TT_GetAttrsA(__p0, (struct TagItem *)_tags);})
  142 
  143 #define TT_GetPixmap(__p0, __p1, __p2, ...) \
  144 	({ULONG _tags[] = { __VA_ARGS__ }; \
  145 	TT_GetPixmapA(__p0, __p1, __p2, (struct TagItem *)_tags);})
  146 
  147 #define TT_Request(__p0, ...) \
  148 	({ULONG _tags[] = { __VA_ARGS__ }; \
  149 	TT_RequestA(__p0, (struct TagItem *)_tags);})
  150 
  151 #define TT_ObtainFamilyList(...) \
  152 	({ULONG _tags[] = { __VA_ARGS__ }; \
  153 	TT_ObtainFamilyListA((struct TagItem *)_tags);})
  154 
  155 #endif
  156 
  157 #endif /* !_PPCINLINE_TTENGINE_H */