GXGraphics.h
上传用户:xjjlds
上传日期:2015-12-05
资源大小:22823k
文件大小:101k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. /*
  2.      File:       GXGraphics.h
  3.  
  4.      Contains:   QuickDraw GX graphic routine interfaces.
  5.  
  6.      Version:    Technology: Quickdraw GX 1.1
  7.                  Release:    QuickTime 6.0.2
  8.  
  9.      Copyright:  (c) 1994-2001 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:      For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __GXGRAPHICS__
  18. #define __GXGRAPHICS__
  19. #ifndef __CONDITIONALMACROS__
  20. #include "ConditionalMacros.h"
  21. #endif
  22. #ifndef __MACTYPES__
  23. #include "MacTypes.h"
  24. #endif
  25. #ifndef __FONTS__
  26. #include "Fonts.h"
  27. #endif
  28. #ifndef __GXERRORS__
  29. #include "GXErrors.h"
  30. #endif
  31. #ifndef __GXTYPES__
  32. #include "GXTypes.h"
  33. #endif
  34. #if PRAGMA_ONCE
  35. #pragma once
  36. #endif
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40. #if PRAGMA_IMPORT
  41. #pragma import on
  42. #endif
  43. #if PRAGMA_STRUCT_ALIGN
  44.     #pragma options align=mac68k
  45. #elif PRAGMA_STRUCT_PACKPUSH
  46.     #pragma pack(push, 2)
  47. #elif PRAGMA_STRUCT_PACK
  48.     #pragma pack(2)
  49. #endif
  50. #if defined(__MWERKS__) && TARGET_CPU_68K
  51.     #pragma push
  52.     #pragma pointers_in_D0
  53. #endif
  54.  
  55. #if CALL_NOT_IN_CARBON
  56. EXTERN_API_C( gxGraphicsClient )
  57. GXNewGraphicsClient             (void *                 memoryStart,
  58.                                  long                   memoryLength,
  59.                                  gxClientAttribute      attributes)                         THREEWORDINLINE(0x303C, 0x0059, 0xA832);
  60. EXTERN_API_C( gxGraphicsClient )
  61. GXGetGraphicsClient             (void)                                                      THREEWORDINLINE(0x303C, 0x005A, 0xA832);
  62. EXTERN_API_C( void )
  63. GXSetGraphicsClient             (gxGraphicsClient       client)                             THREEWORDINLINE(0x303C, 0x005B, 0xA832);
  64. EXTERN_API_C( void )
  65. GXDisposeGraphicsClient         (gxGraphicsClient       client)                             THREEWORDINLINE(0x303C, 0x005C, 0xA832);
  66. #endif  /* CALL_NOT_IN_CARBON */
  67. /*returns the count */
  68. #if CALL_NOT_IN_CARBON
  69. EXTERN_API_C( long )
  70. GXGetGraphicsClients            (long                   index,
  71.                                  long                   count,
  72.                                  gxGraphicsClient       clients[])                            THREEWORDINLINE(0x303C, 0x005E, 0xA832);
  73. EXTERN_API_C( void )
  74. GXEnterGraphics                 (void)                                                      THREEWORDINLINE(0x303C, 0x005F, 0xA832);
  75. EXTERN_API_C( void )
  76. GXExitGraphics                  (void)                                                      THREEWORDINLINE(0x303C, 0x0060, 0xA832);
  77. EXTERN_API_C( gxGraphicsError )
  78. GXGetGraphicsError              (gxGraphicsError *      stickyError)                        THREEWORDINLINE(0x303C, 0x0061, 0xA832);
  79. EXTERN_API_C( gxGraphicsNotice )
  80. GXGetGraphicsNotice             (gxGraphicsNotice *     stickyNotice)                       THREEWORDINLINE(0x303C, 0x0062, 0xA832);
  81. EXTERN_API_C( gxGraphicsWarning )
  82. GXGetGraphicsWarning            (gxGraphicsWarning *    stickyWarning)                      THREEWORDINLINE(0x303C, 0x0063, 0xA832);
  83. EXTERN_API_C( void )
  84. GXPostGraphicsError             (gxGraphicsError        error)                              THREEWORDINLINE(0x303C, 0x0064, 0xA832);
  85. EXTERN_API_C( void )
  86. GXPostGraphicsWarning           (gxGraphicsWarning      warning)                            THREEWORDINLINE(0x303C, 0x0066, 0xA832);
  87. EXTERN_API_C( gxUserErrorUPP )
  88. GXGetUserGraphicsError          (long *                 reference)                          THREEWORDINLINE(0x303C, 0x0067, 0xA832);
  89. EXTERN_API_C( gxUserNoticeUPP )
  90. GXGetUserGraphicsNotice         (long *                 reference)                          THREEWORDINLINE(0x303C, 0x0068, 0xA832);
  91. EXTERN_API_C( gxUserWarningUPP )
  92. GXGetUserGraphicsWarning        (long *                 reference)                          THREEWORDINLINE(0x303C, 0x0069, 0xA832);
  93. EXTERN_API_C( void )
  94. GXSetUserGraphicsError          (gxUserErrorUPP         userFunction,
  95.                                  long                   reference)                          THREEWORDINLINE(0x303C, 0x006A, 0xA832);
  96. EXTERN_API_C( void )
  97. GXSetUserGraphicsNotice         (gxUserNoticeUPP        userFunction,
  98.                                  long                   reference)                          THREEWORDINLINE(0x303C, 0x006B, 0xA832);
  99. EXTERN_API_C( void )
  100. GXSetUserGraphicsWarning        (gxUserWarningUPP       userFunction,
  101.                                  long                   reference)                          THREEWORDINLINE(0x303C, 0x006C, 0xA832);
  102. EXTERN_API_C( void )
  103. GXIgnoreGraphicsWarning         (gxGraphicsWarning      warning)                            THREEWORDINLINE(0x303C, 0x006F, 0xA832);
  104. EXTERN_API_C( void )
  105. GXPopGraphicsWarning            (void)                                                      THREEWORDINLINE(0x303C, 0x0070, 0xA832);
  106. EXTERN_API_C( gxShape )
  107. GXNewShapeVector                (gxShapeType            aType,
  108.                                  const Fixed            vector[])                             THREEWORDINLINE(0x303C, 0x0071, 0xA832);
  109. EXTERN_API_C( void )
  110. GXSetShapeVector                (gxShape                target,
  111.                                  const Fixed            vector[])                             THREEWORDINLINE(0x303C, 0x0072, 0xA832);
  112. EXTERN_API_C( gxShape )
  113. GXNewBitmap                     (const gxBitmap *       data,
  114.                                  const gxPoint *        position)                           THREEWORDINLINE(0x303C, 0x0073, 0xA832);
  115. EXTERN_API_C( gxShape )
  116. GXNewCurve                      (const gxCurve *        data)                               THREEWORDINLINE(0x303C, 0x0074, 0xA832);
  117. EXTERN_API_C( gxShape )
  118. GXNewGlyphs                     (long                   charCount,
  119.                                  const unsigned char    text[],
  120.                                  const gxPoint          positions[],
  121.                                  const long             advance[],
  122.                                  const gxPoint          tangents[],
  123.                                  const short            styleRuns[],
  124.                                  const gxStyle          glyphStyles[])                        THREEWORDINLINE(0x303C, 0x0075, 0xA832);
  125. EXTERN_API_C( gxShape )
  126. GXNewLine                       (const gxLine *         data)                               THREEWORDINLINE(0x303C, 0x0076, 0xA832);
  127. EXTERN_API_C( gxShape )
  128. GXNewPaths                      (const gxPaths *        data)                               THREEWORDINLINE(0x303C, 0x0077, 0xA832);
  129. EXTERN_API_C( gxShape )
  130. GXNewPicture                    (long                   count,
  131.                                  const gxShape          shapes[],
  132.                                  const gxStyle          styles[],
  133.                                  const gxInk            inks[],
  134.                                  const gxTransform      transforms[])                         THREEWORDINLINE(0x303C, 0x0078, 0xA832);
  135. EXTERN_API_C( gxShape )
  136. GXNewPoint                      (const gxPoint *        data)                               THREEWORDINLINE(0x303C, 0x0079, 0xA832);
  137. EXTERN_API_C( gxShape )
  138. GXNewPolygons                   (const gxPolygons *     data)                               THREEWORDINLINE(0x303C, 0x007A, 0xA832);
  139. EXTERN_API_C( gxShape )
  140. GXNewRectangle                  (const gxRectangle *    data)                               THREEWORDINLINE(0x303C, 0x007B, 0xA832);
  141. EXTERN_API_C( gxShape )
  142. GXNewText                       (long                   charCount,
  143.                                  const unsigned char    text[],
  144.                                  const gxPoint *        position)                           THREEWORDINLINE(0x303C, 0x007C, 0xA832);
  145. EXTERN_API_C( gxBitmap *)
  146. GXGetBitmap                     (gxShape                source,
  147.                                  gxBitmap *             data,
  148.                                  gxPoint *              position)                           THREEWORDINLINE(0x303C, 0x007D, 0xA832);
  149. EXTERN_API_C( gxCurve *)
  150. GXGetCurve                      (gxShape                source,
  151.                                  gxCurve *              data)                               THREEWORDINLINE(0x303C, 0x007E, 0xA832);
  152. /* returns byte length of glyphs */
  153. EXTERN_API_C( long )
  154. GXGetGlyphs                     (gxShape                source,
  155.                                  long *                 charCount,
  156.                                  unsigned char          text[],
  157.                                  gxPoint                positions[],
  158.                                  long                   advance[],
  159.                                  gxPoint                tangents[],
  160.                                  long *                 runCount,
  161.                                  short                  styleRuns[],
  162.                                  gxStyle                glyphStyles[])                        THREEWORDINLINE(0x303C, 0x007F, 0xA832);
  163. EXTERN_API_C( gxLine *)
  164. GXGetLine                       (gxShape                source,
  165.                                  gxLine *               data)                               THREEWORDINLINE(0x303C, 0x0080, 0xA832);
  166. /* returns byte length */
  167. EXTERN_API_C( long )
  168. GXGetPaths                      (gxShape                source,
  169.                                  gxPaths *              data)                               THREEWORDINLINE(0x303C, 0x0081, 0xA832);
  170. /* returns count */
  171. EXTERN_API_C( long )
  172. GXGetPicture                    (gxShape                source,
  173.                                  gxShape                shapes[],
  174.                                  gxStyle                styles[],
  175.                                  gxInk                  inks[],
  176.                                  gxTransform            transforms[])                         THREEWORDINLINE(0x303C, 0x0082, 0xA832);
  177. EXTERN_API_C( gxPoint *)
  178. GXGetPoint                      (gxShape                source,
  179.                                  gxPoint *              data)                               THREEWORDINLINE(0x303C, 0x0083, 0xA832);
  180. /* returns byte length */
  181. EXTERN_API_C( long )
  182. GXGetPolygons                   (gxShape                source,
  183.                                  gxPolygons *           data)                               THREEWORDINLINE(0x303C, 0x0084, 0xA832);
  184. EXTERN_API_C( gxRectangle *)
  185. GXGetRectangle                  (gxShape                source,
  186.                                  gxRectangle *          data)                               THREEWORDINLINE(0x303C, 0x0085, 0xA832);
  187. /* returns byte length */
  188. EXTERN_API_C( long )
  189. GXGetText                       (gxShape                source,
  190.                                  long *                 charCount,
  191.                                  unsigned char          text[],
  192.                                  gxPoint *              position)                           THREEWORDINLINE(0x303C, 0x0086, 0xA832);
  193. EXTERN_API_C( void )
  194. GXSetBitmap                     (gxShape                target,
  195.                                  const gxBitmap *       data,
  196.                                  const gxPoint *        position)                           THREEWORDINLINE(0x303C, 0x0087, 0xA832);
  197. EXTERN_API_C( void )
  198. GXSetCurve                      (gxShape                target,
  199.                                  const gxCurve *        data)                               THREEWORDINLINE(0x303C, 0x0088, 0xA832);
  200. EXTERN_API_C( void )
  201. GXSetGlyphs                     (gxShape                target,
  202.                                  long                   charCount,
  203.                                  const unsigned char    text[],
  204.                                  const gxPoint          positions[],
  205.                                  const long             advance[],
  206.                                  const gxPoint          tangents[],
  207.                                  const short            styleRuns[],
  208.                                  const gxStyle          glyphStyles[])                        THREEWORDINLINE(0x303C, 0x0089, 0xA832);
  209. EXTERN_API_C( void )
  210. GXSetLine                       (gxShape                target,
  211.                                  const gxLine *         data)                               THREEWORDINLINE(0x303C, 0x008A, 0xA832);
  212. EXTERN_API_C( void )
  213. GXSetPaths                      (gxShape                target,
  214.                                  const gxPaths *        data)                               THREEWORDINLINE(0x303C, 0x008B, 0xA832);
  215. EXTERN_API_C( void )
  216. GXSetPicture                    (gxShape                target,
  217.                                  long                   count,
  218.                                  const gxShape          shapes[],
  219.                                  const gxStyle          styles[],
  220.                                  const gxInk            inks[],
  221.                                  const gxTransform      transforms[])                         THREEWORDINLINE(0x303C, 0x008C, 0xA832);
  222. EXTERN_API_C( void )
  223. GXSetPoint                      (gxShape                target,
  224.                                  const gxPoint *        data)                               THREEWORDINLINE(0x303C, 0x008D, 0xA832);
  225. EXTERN_API_C( void )
  226. GXSetPolygons                   (gxShape                target,
  227.                                  const gxPolygons *     data)                               THREEWORDINLINE(0x303C, 0x008E, 0xA832);
  228. EXTERN_API_C( void )
  229. GXSetRectangle                  (gxShape                target,
  230.                                  const gxRectangle *    data)                               THREEWORDINLINE(0x303C, 0x008F, 0xA832);
  231. EXTERN_API_C( void )
  232. GXSetText                       (gxShape                target,
  233.                                  long                   charCount,
  234.                                  const unsigned char    text[],
  235.                                  const gxPoint *        position)                           THREEWORDINLINE(0x303C, 0x0090, 0xA832);
  236. EXTERN_API_C( void )
  237. GXDrawBitmap                    (const gxBitmap *       data,
  238.                                  const gxPoint *        position)                           THREEWORDINLINE(0x303C, 0x0091, 0xA832);
  239. EXTERN_API_C( void )
  240. GXDrawCurve                     (const gxCurve *        data)                               THREEWORDINLINE(0x303C, 0x0092, 0xA832);
  241. EXTERN_API_C( void )
  242. GXDrawGlyphs                    (long                   charCount,
  243.                                  const unsigned char    text[],
  244.                                  const gxPoint          positions[],
  245.                                  const long             advance[],
  246.                                  const gxPoint          tangents[],
  247.                                  const short            styleRuns[],
  248.                                  const gxStyle          glyphStyles[])                        THREEWORDINLINE(0x303C, 0x0093, 0xA832);
  249. EXTERN_API_C( void )
  250. GXDrawLine                      (const gxLine *         data)                               THREEWORDINLINE(0x303C, 0x0094, 0xA832);
  251. EXTERN_API_C( void )
  252. GXDrawPaths                     (const gxPaths *        data,
  253.                                  gxShapeFill            fill)                               THREEWORDINLINE(0x303C, 0x0095, 0xA832);
  254. EXTERN_API_C( void )
  255. GXDrawPicture                   (long                   count,
  256.                                  const gxShape          shapes[],
  257.                                  const gxStyle          styles[],
  258.                                  const gxInk            inks[],
  259.                                  const gxTransform      transforms[])                         THREEWORDINLINE(0x303C, 0x0096, 0xA832);
  260. EXTERN_API_C( void )
  261. GXDrawPoint                     (const gxPoint *        data)                               THREEWORDINLINE(0x303C, 0x0097, 0xA832);
  262. EXTERN_API_C( void )
  263. GXDrawPolygons                  (const gxPolygons *     data,
  264.                                  gxShapeFill            fill)                               THREEWORDINLINE(0x303C, 0x0098, 0xA832);
  265. EXTERN_API_C( void )
  266. GXDrawRectangle                 (const gxRectangle *    data,
  267.                                  gxShapeFill            fill)                               THREEWORDINLINE(0x303C, 0x0099, 0xA832);
  268. EXTERN_API_C( void )
  269. GXDrawText                      (long                   charCount,
  270.                                  const unsigned char    text[],
  271.                                  const gxPoint *        position)                           THREEWORDINLINE(0x303C, 0x009A, 0xA832);
  272. EXTERN_API_C( gxColorProfile )
  273. GXNewColorProfile               (long                   size,
  274.                                  void *                 colorProfileData)                   THREEWORDINLINE(0x303C, 0x009B, 0xA832);
  275. EXTERN_API_C( gxColorSet )
  276. GXNewColorSet                   (gxColorSpace           space,
  277.                                  long                   count,
  278.                                  const gxSetColor       colors[])                             THREEWORDINLINE(0x303C, 0x009C, 0xA832);
  279. EXTERN_API_C( gxInk )
  280. GXNewInk                        (void)                                                      THREEWORDINLINE(0x303C, 0x009D, 0xA832);
  281. EXTERN_API_C( gxShape )
  282. GXNewShape                      (gxShapeType            aType)                              THREEWORDINLINE(0x303C, 0x009E, 0xA832);
  283. EXTERN_API_C( gxStyle )
  284. GXNewStyle                      (void)                                                      THREEWORDINLINE(0x303C, 0x009F, 0xA832);
  285. EXTERN_API_C( gxTag )
  286. GXNewTag                        (long                   tagType,
  287.                                  long                   length,
  288.                                  const void *           data)                               THREEWORDINLINE(0x303C, 0x00A0, 0xA832);
  289. EXTERN_API_C( gxTransform )
  290. GXNewTransform                  (void)                                                      THREEWORDINLINE(0x303C, 0x00A1, 0xA832);
  291. EXTERN_API_C( gxViewDevice )
  292. GXNewViewDevice                 (gxViewGroup            group,
  293.                                  gxShape                bitmapShape)                        THREEWORDINLINE(0x303C, 0x00A2, 0xA832);
  294. EXTERN_API_C( gxViewGroup )
  295. GXNewViewGroup                  (void)                                                      THREEWORDINLINE(0x303C, 0x00A3, 0xA832);
  296. EXTERN_API_C( gxViewPort )
  297. GXNewViewPort                   (gxViewGroup            group)                              THREEWORDINLINE(0x303C, 0x00A4, 0xA832);
  298. EXTERN_API_C( void )
  299. GXDisposeColorProfile           (gxColorProfile         target)                             THREEWORDINLINE(0x303C, 0x00A5, 0xA832);
  300. EXTERN_API_C( void )
  301. GXDisposeColorSet               (gxColorSet             target)                             THREEWORDINLINE(0x303C, 0x00A6, 0xA832);
  302. EXTERN_API_C( void )
  303. GXDisposeInk                    (gxInk                  target)                             THREEWORDINLINE(0x303C, 0x00A7, 0xA832);
  304. EXTERN_API_C( void )
  305. GXDisposeShape                  (gxShape                target)                             THREEWORDINLINE(0x303C, 0x00A8, 0xA832);
  306. EXTERN_API_C( void )
  307. GXDisposeStyle                  (gxStyle                target)                             THREEWORDINLINE(0x303C, 0x00A9, 0xA832);
  308. EXTERN_API_C( void )
  309. GXDisposeTag                    (gxTag                  target)                             THREEWORDINLINE(0x303C, 0x00AA, 0xA832);
  310. EXTERN_API_C( void )
  311. GXDisposeTransform              (gxTransform            target)                             THREEWORDINLINE(0x303C, 0x00AB, 0xA832);
  312. EXTERN_API_C( void )
  313. GXDisposeViewDevice             (gxViewDevice           target)                             THREEWORDINLINE(0x303C, 0x00AC, 0xA832);
  314. EXTERN_API_C( void )
  315. GXDisposeViewGroup              (gxViewGroup            target)                             THREEWORDINLINE(0x303C, 0x00AD, 0xA832);
  316. EXTERN_API_C( void )
  317. GXDisposeViewPort               (gxViewPort             target)                             THREEWORDINLINE(0x303C, 0x00AE, 0xA832);
  318. EXTERN_API_C( gxColorProfile )
  319. GXCloneColorProfile             (gxColorProfile         source)                             THREEWORDINLINE(0x303C, 0x00AF, 0xA832);
  320. EXTERN_API_C( gxColorSet )
  321. GXCloneColorSet                 (gxColorSet             source)                             THREEWORDINLINE(0x303C, 0x00B0, 0xA832);
  322. EXTERN_API_C( gxInk )
  323. GXCloneInk                      (gxInk                  source)                             THREEWORDINLINE(0x303C, 0x00B1, 0xA832);
  324. EXTERN_API_C( gxShape )
  325. GXCloneShape                    (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00B2, 0xA832);
  326. EXTERN_API_C( gxStyle )
  327. GXCloneStyle                    (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x00B3, 0xA832);
  328. EXTERN_API_C( gxTag )
  329. GXCloneTag                      (gxTag                  source)                             THREEWORDINLINE(0x303C, 0x00B4, 0xA832);
  330. EXTERN_API_C( gxTransform )
  331. GXCloneTransform                (gxTransform            source)                             THREEWORDINLINE(0x303C, 0x00B5, 0xA832);
  332. EXTERN_API_C( gxColorProfile )
  333. GXCopyToColorProfile            (gxColorProfile         target,
  334.                                  gxColorProfile         source)                             THREEWORDINLINE(0x303C, 0x00B6, 0xA832);
  335. EXTERN_API_C( gxColorSet )
  336. GXCopyToColorSet                (gxColorSet             target,
  337.                                  gxColorSet             source)                             THREEWORDINLINE(0x303C, 0x00B7, 0xA832);
  338. EXTERN_API_C( gxInk )
  339. GXCopyToInk                     (gxInk                  target,
  340.                                  gxInk                  source)                             THREEWORDINLINE(0x303C, 0x00B8, 0xA832);
  341. EXTERN_API_C( gxShape )
  342. GXCopyToShape                   (gxShape                target,
  343.                                  gxShape                source)                             THREEWORDINLINE(0x303C, 0x00B9, 0xA832);
  344. EXTERN_API_C( gxStyle )
  345. GXCopyToStyle                   (gxStyle                target,
  346.                                  gxStyle                source)                             THREEWORDINLINE(0x303C, 0x00BA, 0xA832);
  347. EXTERN_API_C( gxTag )
  348. GXCopyToTag                     (gxTag                  target,
  349.                                  gxTag                  source)                             THREEWORDINLINE(0x303C, 0x00BB, 0xA832);
  350. EXTERN_API_C( gxTransform )
  351. GXCopyToTransform               (gxTransform            target,
  352.                                  gxTransform            source)                             THREEWORDINLINE(0x303C, 0x00BC, 0xA832);
  353. EXTERN_API_C( gxViewDevice )
  354. GXCopyToViewDevice              (gxViewDevice           target,
  355.                                  gxViewDevice           source)                             THREEWORDINLINE(0x303C, 0x00BD, 0xA832);
  356. EXTERN_API_C( gxViewPort )
  357. GXCopyToViewPort                (gxViewPort             target,
  358.                                  gxViewPort             source)                             THREEWORDINLINE(0x303C, 0x00BE, 0xA832);
  359. EXTERN_API_C( Boolean )
  360. GXEqualColorProfile             (gxColorProfile         one,
  361.                                  gxColorProfile         two)                                THREEWORDINLINE(0x303C, 0x00BF, 0xA832);
  362. EXTERN_API_C( Boolean )
  363. GXEqualColorSet                 (gxColorSet             one,
  364.                                  gxColorSet             two)                                THREEWORDINLINE(0x303C, 0x00C0, 0xA832);
  365. EXTERN_API_C( Boolean )
  366. GXEqualInk                      (gxInk                  one,
  367.                                  gxInk                  two)                                THREEWORDINLINE(0x303C, 0x00C1, 0xA832);
  368. EXTERN_API_C( Boolean )
  369. GXEqualShape                    (gxShape                one,
  370.                                  gxShape                two)                                THREEWORDINLINE(0x303C, 0x00C2, 0xA832);
  371. EXTERN_API_C( Boolean )
  372. GXEqualStyle                    (gxStyle                one,
  373.                                  gxStyle                two)                                THREEWORDINLINE(0x303C, 0x00C3, 0xA832);
  374. EXTERN_API_C( Boolean )
  375. GXEqualTag                      (gxTag                  one,
  376.                                  gxTag                  two)                                THREEWORDINLINE(0x303C, 0x00C4, 0xA832);
  377. EXTERN_API_C( Boolean )
  378. GXEqualTransform                (gxTransform            one,
  379.                                  gxTransform            two)                                THREEWORDINLINE(0x303C, 0x00C5, 0xA832);
  380. EXTERN_API_C( Boolean )
  381. GXEqualViewDevice               (gxViewDevice           one,
  382.                                  gxViewDevice           two)                                THREEWORDINLINE(0x303C, 0x00C6, 0xA832);
  383. EXTERN_API_C( Boolean )
  384. GXEqualViewPort                 (gxViewPort             one,
  385.                                  gxViewPort             two)                                THREEWORDINLINE(0x303C, 0x00C7, 0xA832);
  386. EXTERN_API_C( void )
  387. GXResetInk                      (gxInk                  target)                             THREEWORDINLINE(0x303C, 0x00C8, 0xA832);
  388. EXTERN_API_C( void )
  389. GXResetShape                    (gxShape                target)                             THREEWORDINLINE(0x303C, 0x00C9, 0xA832);
  390. EXTERN_API_C( void )
  391. GXResetStyle                    (gxStyle                target)                             THREEWORDINLINE(0x303C, 0x00CA, 0xA832);
  392. EXTERN_API_C( void )
  393. GXResetTransform                (gxTransform            target)                             THREEWORDINLINE(0x303C, 0x00CB, 0xA832);
  394. EXTERN_API_C( void )
  395. GXLoadColorProfile              (gxColorProfile         target)                             THREEWORDINLINE(0x303C, 0x00CC, 0xA832);
  396. EXTERN_API_C( void )
  397. GXLoadColorSet                  (gxColorSet             target)                             THREEWORDINLINE(0x303C, 0x00CD, 0xA832);
  398. EXTERN_API_C( void )
  399. GXLoadInk                       (gxInk                  target)                             THREEWORDINLINE(0x303C, 0x00CE, 0xA832);
  400. EXTERN_API_C( void )
  401. GXLoadShape                     (gxShape                target)                             THREEWORDINLINE(0x303C, 0x00CF, 0xA832);
  402. EXTERN_API_C( void )
  403. GXLoadStyle                     (gxStyle                target)                             THREEWORDINLINE(0x303C, 0x00D0, 0xA832);
  404. EXTERN_API_C( void )
  405. GXLoadTag                       (gxTag                  target)                             THREEWORDINLINE(0x303C, 0x00D1, 0xA832);
  406. EXTERN_API_C( void )
  407. GXLoadTransform                 (gxTransform            target)                             THREEWORDINLINE(0x303C, 0x00D2, 0xA832);
  408. EXTERN_API_C( void )
  409. GXUnloadColorProfile            (gxColorProfile         target)                             THREEWORDINLINE(0x303C, 0x00D3, 0xA832);
  410. EXTERN_API_C( void )
  411. GXUnloadColorSet                (gxColorSet             target)                             THREEWORDINLINE(0x303C, 0x00D4, 0xA832);
  412. EXTERN_API_C( void )
  413. GXUnloadInk                     (gxInk                  target)                             THREEWORDINLINE(0x303C, 0x00D5, 0xA832);
  414. EXTERN_API_C( void )
  415. GXUnloadShape                   (gxShape                target)                             THREEWORDINLINE(0x303C, 0x00D6, 0xA832);
  416. EXTERN_API_C( void )
  417. GXUnloadStyle                   (gxStyle                target)                             THREEWORDINLINE(0x303C, 0x00D7, 0xA832);
  418. EXTERN_API_C( void )
  419. GXUnloadTag                     (gxTag                  target)                             THREEWORDINLINE(0x303C, 0x00D8, 0xA832);
  420. EXTERN_API_C( void )
  421. GXUnloadTransform               (gxTransform            target)                             THREEWORDINLINE(0x303C, 0x00D9, 0xA832);
  422. EXTERN_API_C( void )
  423. GXCacheShape                    (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00DA, 0xA832);
  424. EXTERN_API_C( gxShape )
  425. GXCopyDeepToShape               (gxShape                target,
  426.                                  gxShape                source)                             THREEWORDINLINE(0x303C, 0x00DB, 0xA832);
  427. EXTERN_API_C( void )
  428. GXDrawShape                     (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00DC, 0xA832);
  429. EXTERN_API_C( void )
  430. GXDisposeShapeCache             (gxShape                target)                             THREEWORDINLINE(0x303C, 0x00DD, 0xA832);
  431. EXTERN_API_C( gxColorProfile )
  432. GXGetDefaultColorProfile        (void)                                                      THREEWORDINLINE(0x303C, 0x00DE, 0xA832);
  433. EXTERN_API_C( gxShape )
  434. GXGetDefaultShape               (gxShapeType            aType)                              THREEWORDINLINE(0x303C, 0x00DF, 0xA832);
  435. EXTERN_API_C( gxColorSet )
  436. GXGetDefaultColorSet            (long                   pixelDepth)                         THREEWORDINLINE(0x303C, 0x00E0, 0xA832);
  437. EXTERN_API_C( void )
  438. GXSetDefaultShape               (gxShape                target)                             THREEWORDINLINE(0x303C, 0x00E1, 0xA832);
  439. EXTERN_API_C( void )
  440. GXSetDefaultColorSet            (gxColorSet             target,
  441.                                  long                   pixelDepth)                         THREEWORDINLINE(0x303C, 0x00E2, 0xA832);
  442. EXTERN_API_C( long )
  443. GXGetTag                        (gxTag                  source,
  444.                                  long *                 tagType,
  445.                                  void *                 data)                               THREEWORDINLINE(0x303C, 0x00E3, 0xA832);
  446. EXTERN_API_C( void )
  447. GXSetTag                        (gxTag                  target,
  448.                                  long                   tagType,
  449.                                  long                   length,
  450.                                  const void *           data)                               THREEWORDINLINE(0x303C, 0x00E4, 0xA832);
  451. EXTERN_API_C( gxRectangle *)
  452. GXGetShapeBounds                (gxShape                source,
  453.                                  long                   index,
  454.                                  gxRectangle *          bounds)                             THREEWORDINLINE(0x303C, 0x00E5, 0xA832);
  455. EXTERN_API_C( gxShapeFill )
  456. GXGetShapeFill                  (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00E6, 0xA832);
  457. EXTERN_API_C( gxInk )
  458. GXGetShapeInk                   (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00E7, 0xA832);
  459. EXTERN_API_C( long )
  460. GXGetShapePixel                 (gxShape                source,
  461.                                  long                   x,
  462.                                  long                   y,
  463.                                  gxColor *              data,
  464.                                  long *                 index)                              THREEWORDINLINE(0x303C, 0x00E8, 0xA832);
  465. EXTERN_API_C( gxStyle )
  466. GXGetShapeStyle                 (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00E9, 0xA832);
  467. EXTERN_API_C( gxTransform )
  468. GXGetShapeTransform             (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00EA, 0xA832);
  469. EXTERN_API_C( gxShapeType )
  470. GXGetShapeType                  (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00EB, 0xA832);
  471. EXTERN_API_C( gxRectangle *)
  472. GXGetShapeTypographicBounds     (gxShape                source,
  473.                                  gxRectangle *          bounds)                             THREEWORDINLINE(0x303C, 0x00EC, 0xA832);
  474. EXTERN_API_C( gxShape )
  475. GXGetBitmapParts                (gxShape                source,
  476.                                  const gxLongRectangle * bounds)                            THREEWORDINLINE(0x303C, 0x00ED, 0xA832);
  477. EXTERN_API_C( void )
  478. GXGetStyleFontMetrics           (gxStyle                sourceStyle,
  479.                                  gxPoint *              before,
  480.                                  gxPoint *              after,
  481.                                  gxPoint *              caretAngle,
  482.                                  gxPoint *              caretOffset)                        THREEWORDINLINE(0x303C, 0x00EE, 0xA832);
  483. EXTERN_API_C( void )
  484. GXGetShapeFontMetrics           (gxShape                source,
  485.                                  gxPoint *              before,
  486.                                  gxPoint *              after,
  487.                                  gxPoint *              caretAngle,
  488.                                  gxPoint *              caretOffset)                        THREEWORDINLINE(0x303C, 0x00EF, 0xA832);
  489. EXTERN_API_C( void )
  490. GXSetShapeBounds                (gxShape                target,
  491.                                  const gxRectangle *    newBounds)                          THREEWORDINLINE(0x303C, 0x00F0, 0xA832);
  492. EXTERN_API_C( void )
  493. GXSetShapeFill                  (gxShape                target,
  494.                                  gxShapeFill            newFill)                            THREEWORDINLINE(0x303C, 0x00F1, 0xA832);
  495. EXTERN_API_C( void )
  496. GXSetShapeInk                   (gxShape                target,
  497.                                  gxInk                  newInk)                             THREEWORDINLINE(0x303C, 0x00F2, 0xA832);
  498. EXTERN_API_C( void )
  499. GXSetShapePixel                 (gxShape                target,
  500.                                  long                   x,
  501.                                  long                   y,
  502.                                  const gxColor *        newColor,
  503.                                  long                   newIndex)                           THREEWORDINLINE(0x303C, 0x00F3, 0xA832);
  504. EXTERN_API_C( void )
  505. GXSetShapeStyle                 (gxShape                target,
  506.                                  gxStyle                newStyle)                           THREEWORDINLINE(0x303C, 0x00F4, 0xA832);
  507. EXTERN_API_C( void )
  508. GXSetShapeTransform             (gxShape                target,
  509.                                  gxTransform            newTransform)                       THREEWORDINLINE(0x303C, 0x00F5, 0xA832);
  510. EXTERN_API_C( void )
  511. GXSetShapeType                  (gxShape                target,
  512.                                  gxShapeType            newType)                            THREEWORDINLINE(0x303C, 0x00F6, 0xA832);
  513. EXTERN_API_C( void )
  514. GXSetBitmapParts                (gxShape                target,
  515.                                  const gxLongRectangle * bounds,
  516.                                  gxShape                bitmapShape)                        THREEWORDINLINE(0x303C, 0x00F7, 0xA832);
  517. EXTERN_API_C( void )
  518. GXSetShapeGeometry              (gxShape                target,
  519.                                  gxShape                geometry)                           THREEWORDINLINE(0x303C, 0x00F8, 0xA832);
  520. EXTERN_API_C( Fixed )
  521. GXGetShapeCurveError            (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00F9, 0xA832);
  522. EXTERN_API_C( gxDashRecord *)
  523. GXGetShapeDash                  (gxShape                source,
  524.                                  gxDashRecord *         dash)                               THREEWORDINLINE(0x303C, 0x00FA, 0xA832);
  525. EXTERN_API_C( gxCapRecord *)
  526. GXGetShapeCap                   (gxShape                source,
  527.                                  gxCapRecord *          cap)                                THREEWORDINLINE(0x303C, 0x00FB, 0xA832);
  528. /* returns the number of layers */
  529. EXTERN_API_C( long )
  530. GXGetShapeFace                  (gxShape                source,
  531.                                  gxTextFace *           face)                               THREEWORDINLINE(0x303C, 0x00FC, 0xA832);
  532. EXTERN_API_C( gxFont )
  533. GXGetShapeFont                  (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00FD, 0xA832);
  534. EXTERN_API_C( gxJoinRecord *)
  535. GXGetShapeJoin                  (gxShape                source,
  536.                                  gxJoinRecord *         join)                               THREEWORDINLINE(0x303C, 0x00FE, 0xA832);
  537. EXTERN_API_C( Fract )
  538. GXGetShapeJustification         (gxShape                source)                             THREEWORDINLINE(0x303C, 0x00FF, 0xA832);
  539. EXTERN_API_C( gxPatternRecord *)
  540. GXGetShapePattern               (gxShape                source,
  541.                                  gxPatternRecord *      pattern)                            THREEWORDINLINE(0x303C, 0x0100, 0xA832);
  542. EXTERN_API_C( Fixed )
  543. GXGetShapePen                   (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0101, 0xA832);
  544. EXTERN_API_C( gxFontPlatform )
  545. GXGetShapeEncoding              (gxShape                source,
  546.                                  gxFontScript *         script,
  547.                                  gxFontLanguage *       language)                           THREEWORDINLINE(0x303C, 0x0102, 0xA832);
  548. EXTERN_API_C( Fixed )
  549. GXGetShapeTextSize              (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0103, 0xA832);
  550. EXTERN_API_C( long )
  551. GXGetShapeFontVariations        (gxShape                source,
  552.                                  gxFontVariation        variations[])                         THREEWORDINLINE(0x303C, 0x0104, 0xA832);
  553. EXTERN_API_C( long )
  554. GXGetShapeFontVariationSuite    (gxShape                source,
  555.                                  gxFontVariation        variations[])                         THREEWORDINLINE(0x303C, 0x0105, 0xA832);
  556. EXTERN_API_C( Fixed )
  557. GXGetStyleCurveError            (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x0106, 0xA832);
  558. EXTERN_API_C( gxDashRecord *)
  559. GXGetStyleDash                  (gxStyle                source,
  560.                                  gxDashRecord *         dash)                               THREEWORDINLINE(0x303C, 0x0107, 0xA832);
  561. EXTERN_API_C( gxCapRecord *)
  562. GXGetStyleCap                   (gxStyle                source,
  563.                                  gxCapRecord *          cap)                                THREEWORDINLINE(0x303C, 0x0108, 0xA832);
  564. /* returns the number of layers */
  565. EXTERN_API_C( long )
  566. GXGetStyleFace                  (gxStyle                source,
  567.                                  gxTextFace *           face)                               THREEWORDINLINE(0x303C, 0x0109, 0xA832);
  568. EXTERN_API_C( gxFont )
  569. GXGetStyleFont                  (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x010A, 0xA832);
  570. EXTERN_API_C( gxJoinRecord *)
  571. GXGetStyleJoin                  (gxStyle                source,
  572.                                  gxJoinRecord *         join)                               THREEWORDINLINE(0x303C, 0x010B, 0xA832);
  573. EXTERN_API_C( Fract )
  574. GXGetStyleJustification         (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x010C, 0xA832);
  575. EXTERN_API_C( gxPatternRecord *)
  576. GXGetStylePattern               (gxStyle                source,
  577.                                  gxPatternRecord *      pattern)                            THREEWORDINLINE(0x303C, 0x010D, 0xA832);
  578. EXTERN_API_C( Fixed )
  579. GXGetStylePen                   (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x010E, 0xA832);
  580. EXTERN_API_C( gxFontPlatform )
  581. GXGetStyleEncoding              (gxStyle                source,
  582.                                  gxFontScript *         script,
  583.                                  gxFontLanguage *       language)                           THREEWORDINLINE(0x303C, 0x010F, 0xA832);
  584. EXTERN_API_C( Fixed )
  585. GXGetStyleTextSize              (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x0110, 0xA832);
  586. EXTERN_API_C( long )
  587. GXGetStyleFontVariations        (gxStyle                source,
  588.                                  gxFontVariation        variations[])                         THREEWORDINLINE(0x303C, 0x0111, 0xA832);
  589. EXTERN_API_C( long )
  590. GXGetStyleFontVariationSuite    (gxStyle                source,
  591.                                  gxFontVariation        variations[])                         THREEWORDINLINE(0x303C, 0x0112, 0xA832);
  592. EXTERN_API_C( void )
  593. GXSetShapeCurveError            (gxShape                target,
  594.                                  Fixed                  error)                              THREEWORDINLINE(0x303C, 0x0113, 0xA832);
  595. EXTERN_API_C( void )
  596. GXSetShapeDash                  (gxShape                target,
  597.                                  const gxDashRecord *   dash)                               THREEWORDINLINE(0x303C, 0x0114, 0xA832);
  598. EXTERN_API_C( void )
  599. GXSetShapeCap                   (gxShape                target,
  600.                                  const gxCapRecord *    cap)                                THREEWORDINLINE(0x303C, 0x0115, 0xA832);
  601. EXTERN_API_C( void )
  602. GXSetShapeFace                  (gxShape                target,
  603.                                  const gxTextFace *     face)                               THREEWORDINLINE(0x303C, 0x0116, 0xA832);
  604. EXTERN_API_C( void )
  605. GXSetShapeFont                  (gxShape                target,
  606.                                  gxFont                 aFont)                              THREEWORDINLINE(0x303C, 0x0117, 0xA832);
  607. EXTERN_API_C( void )
  608. GXSetShapeJoin                  (gxShape                target,
  609.                                  const gxJoinRecord *   join)                               THREEWORDINLINE(0x303C, 0x0118, 0xA832);
  610. EXTERN_API_C( void )
  611. GXSetShapeJustification         (gxShape                target,
  612.                                  Fract                  justify)                            THREEWORDINLINE(0x303C, 0x0119, 0xA832);
  613. EXTERN_API_C( void )
  614. GXSetShapePattern               (gxShape                target,
  615.                                  const gxPatternRecord * pattern)                           THREEWORDINLINE(0x303C, 0x011A, 0xA832);
  616. EXTERN_API_C( void )
  617. GXSetShapePen                   (gxShape                target,
  618.                                  Fixed                  pen)                                THREEWORDINLINE(0x303C, 0x011B, 0xA832);
  619. EXTERN_API_C( void )
  620. GXSetShapeEncoding              (gxShape                target,
  621.                                  gxFontPlatform         platform,
  622.                                  gxFontScript           script,
  623.                                  gxFontLanguage         language)                           THREEWORDINLINE(0x303C, 0x011C, 0xA832);
  624. EXTERN_API_C( void )
  625. GXSetShapeTextSize              (gxShape                target,
  626.                                  Fixed                  size)                               THREEWORDINLINE(0x303C, 0x011D, 0xA832);
  627. EXTERN_API_C( void )
  628. GXSetShapeFontVariations        (gxShape                target,
  629.                                  long                   count,
  630.                                  const gxFontVariation  variations[])                         THREEWORDINLINE(0x303C, 0x011E, 0xA832);
  631. EXTERN_API_C( void )
  632. GXSetStyleCurveError            (gxStyle                target,
  633.                                  Fixed                  error)                              THREEWORDINLINE(0x303C, 0x011F, 0xA832);
  634. EXTERN_API_C( void )
  635. GXSetStyleDash                  (gxStyle                target,
  636.                                  const gxDashRecord *   dash)                               THREEWORDINLINE(0x303C, 0x0120, 0xA832);
  637. EXTERN_API_C( void )
  638. GXSetStyleCap                   (gxStyle                target,
  639.                                  const gxCapRecord *    cap)                                THREEWORDINLINE(0x303C, 0x0121, 0xA832);
  640. EXTERN_API_C( void )
  641. GXSetStyleFace                  (gxStyle                target,
  642.                                  const gxTextFace *     face)                               THREEWORDINLINE(0x303C, 0x0122, 0xA832);
  643. EXTERN_API_C( void )
  644. GXSetStyleFont                  (gxStyle                target,
  645.                                  gxFont                 aFont)                              THREEWORDINLINE(0x303C, 0x0123, 0xA832);
  646. EXTERN_API_C( void )
  647. GXSetStyleJoin                  (gxStyle                target,
  648.                                  const gxJoinRecord *   join)                               THREEWORDINLINE(0x303C, 0x0124, 0xA832);
  649. EXTERN_API_C( void )
  650. GXSetStyleJustification         (gxStyle                target,
  651.                                  Fract                  justify)                            THREEWORDINLINE(0x303C, 0x0125, 0xA832);
  652. EXTERN_API_C( void )
  653. GXSetStylePattern               (gxStyle                target,
  654.                                  const gxPatternRecord * pattern)                           THREEWORDINLINE(0x303C, 0x0126, 0xA832);
  655. EXTERN_API_C( void )
  656. GXSetStylePen                   (gxStyle                target,
  657.                                  Fixed                  pen)                                THREEWORDINLINE(0x303C, 0x0127, 0xA832);
  658. EXTERN_API_C( void )
  659. GXSetStyleEncoding              (gxStyle                target,
  660.                                  gxFontPlatform         platform,
  661.                                  gxFontScript           script,
  662.                                  gxFontLanguage         language)                           THREEWORDINLINE(0x303C, 0x0128, 0xA832);
  663. EXTERN_API_C( void )
  664. GXSetStyleTextSize              (gxStyle                target,
  665.                                  Fixed                  size)                               THREEWORDINLINE(0x303C, 0x0129, 0xA832);
  666. EXTERN_API_C( void )
  667. GXSetStyleFontVariations        (gxStyle                target,
  668.                                  long                   count,
  669.                                  const gxFontVariation  variations[])                         THREEWORDINLINE(0x303C, 0x012A, 0xA832);
  670. EXTERN_API_C( gxColor *)
  671. GXGetShapeColor                 (gxShape                source,
  672.                                  gxColor *              data)                               THREEWORDINLINE(0x303C, 0x012B, 0xA832);
  673. EXTERN_API_C( gxTransferMode *)
  674. GXGetShapeTransfer              (gxShape                source,
  675.                                  gxTransferMode *       data)                               THREEWORDINLINE(0x303C, 0x012C, 0xA832);
  676. EXTERN_API_C( gxColor *)
  677. GXGetInkColor                   (gxInk                  source,
  678.                                  gxColor *              data)                               THREEWORDINLINE(0x303C, 0x012D, 0xA832);
  679. EXTERN_API_C( gxTransferMode *)
  680. GXGetInkTransfer                (gxInk                  source,
  681.                                  gxTransferMode *       data)                               THREEWORDINLINE(0x303C, 0x012E, 0xA832);
  682. EXTERN_API_C( void )
  683. GXSetShapeColor                 (gxShape                target,
  684.                                  const gxColor *        data)                               THREEWORDINLINE(0x303C, 0x012F, 0xA832);
  685. EXTERN_API_C( void )
  686. GXSetShapeTransfer              (gxShape                target,
  687.                                  const gxTransferMode * data)                               THREEWORDINLINE(0x303C, 0x0130, 0xA832);
  688. EXTERN_API_C( void )
  689. GXSetInkColor                   (gxInk                  target,
  690.                                  const gxColor *        data)                               THREEWORDINLINE(0x303C, 0x0131, 0xA832);
  691. EXTERN_API_C( void )
  692. GXSetInkTransfer                (gxInk                  target,
  693.                                  const gxTransferMode * data)                               THREEWORDINLINE(0x303C, 0x0132, 0xA832);
  694. EXTERN_API_C( gxShape )
  695. GXGetShapeClip                  (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0133, 0xA832);
  696. EXTERN_API_C( gxShapeType )
  697. GXGetShapeClipType              (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0276, 0xA832);
  698. EXTERN_API_C( gxMapping *)
  699. GXGetShapeMapping               (gxShape                source,
  700.                                  gxMapping *            map)                                THREEWORDINLINE(0x303C, 0x0134, 0xA832);
  701. EXTERN_API_C( gxShapePart )
  702. GXGetShapeHitTest               (gxShape                source,
  703.                                  Fixed *                tolerance)                          THREEWORDINLINE(0x303C, 0x0135, 0xA832);
  704. EXTERN_API_C( long )
  705. GXGetShapeViewPorts             (gxShape                source,
  706.                                  gxViewPort             list[])                               THREEWORDINLINE(0x303C, 0x0136, 0xA832);
  707. EXTERN_API_C( gxShape )
  708. GXGetTransformClip              (gxTransform            source)                             THREEWORDINLINE(0x303C, 0x0137, 0xA832);
  709. EXTERN_API_C( gxShapeType )
  710. GXGetTransformClipType          (gxTransform            source)                             THREEWORDINLINE(0x303C, 0x0277, 0xA832);
  711. EXTERN_API_C( gxMapping *)
  712. GXGetTransformMapping           (gxTransform            source,
  713.                                  gxMapping *            map)                                THREEWORDINLINE(0x303C, 0x0138, 0xA832);
  714. EXTERN_API_C( gxShapePart )
  715. GXGetTransformHitTest           (gxTransform            source,
  716.                                  Fixed *                tolerance)                          THREEWORDINLINE(0x303C, 0x0139, 0xA832);
  717. EXTERN_API_C( long )
  718. GXGetTransformViewPorts         (gxTransform            source,
  719.                                  gxViewPort             list[])                               THREEWORDINLINE(0x303C, 0x013A, 0xA832);
  720. EXTERN_API_C( void )
  721. GXSetShapeClip                  (gxShape                target,
  722.                                  gxShape                clip)                               THREEWORDINLINE(0x303C, 0x013B, 0xA832);
  723. EXTERN_API_C( void )
  724. GXSetShapeMapping               (gxShape                target,
  725.                                  const gxMapping *      map)                                THREEWORDINLINE(0x303C, 0x013C, 0xA832);
  726. EXTERN_API_C( void )
  727. GXSetShapeHitTest               (gxShape                target,
  728.                                  gxShapePart            mask,
  729.                                  Fixed                  tolerance)                          THREEWORDINLINE(0x303C, 0x013D, 0xA832);
  730. EXTERN_API_C( void )
  731. GXSetShapeViewPorts             (gxShape                target,
  732.                                  long                   count,
  733.                                  const gxViewPort       list[])                               THREEWORDINLINE(0x303C, 0x013E, 0xA832);
  734. EXTERN_API_C( void )
  735. GXSetTransformClip              (gxTransform            target,
  736.                                  gxShape                clip)                               THREEWORDINLINE(0x303C, 0x013F, 0xA832);
  737. EXTERN_API_C( void )
  738. GXSetTransformMapping           (gxTransform            target,
  739.                                  const gxMapping *      map)                                THREEWORDINLINE(0x303C, 0x0140, 0xA832);
  740. EXTERN_API_C( void )
  741. GXSetTransformHitTest           (gxTransform            target,
  742.                                  gxShapePart            mask,
  743.                                  Fixed                  tolerance)                          THREEWORDINLINE(0x303C, 0x0141, 0xA832);
  744. EXTERN_API_C( void )
  745. GXSetTransformViewPorts         (gxTransform            target,
  746.                                  long                   count,
  747.                                  const gxViewPort       list[])                               THREEWORDINLINE(0x303C, 0x0142, 0xA832);
  748. EXTERN_API_C( long )
  749. GXGetColorSet                   (gxColorSet             source,
  750.                                  gxColorSpace *         space,
  751.                                  gxSetColor             colors[])                             THREEWORDINLINE(0x303C, 0x0143, 0xA832);
  752. EXTERN_API_C( long )
  753. GXGetColorProfile               (gxColorProfile         source,
  754.                                  void *                 colorProfileData)                   THREEWORDINLINE(0x303C, 0x0144, 0xA832);
  755. EXTERN_API_C( void )
  756. GXSetColorSet                   (gxColorSet             target,
  757.                                  gxColorSpace           space,
  758.                                  long                   count,
  759.                                  const gxSetColor       colors[])                             THREEWORDINLINE(0x303C, 0x0145, 0xA832);
  760. EXTERN_API_C( void )
  761. GXSetColorProfile               (gxColorProfile         target,
  762.                                  long                   size,
  763.                                  void *                 colorProfileData)                   THREEWORDINLINE(0x303C, 0x0146, 0xA832);
  764. EXTERN_API_C( gxShape )
  765. GXGetViewDeviceBitmap           (gxViewDevice           source)                             THREEWORDINLINE(0x303C, 0x0147, 0xA832);
  766. EXTERN_API_C( gxShape )
  767. GXGetViewDeviceClip             (gxViewDevice           source)                             THREEWORDINLINE(0x303C, 0x0148, 0xA832);
  768. EXTERN_API_C( gxMapping *)
  769. GXGetViewDeviceMapping          (gxViewDevice           source,
  770.                                  gxMapping *            map)                                THREEWORDINLINE(0x303C, 0x0149, 0xA832);
  771. EXTERN_API_C( gxViewGroup )
  772. GXGetViewDeviceViewGroup        (gxViewDevice           source)                             THREEWORDINLINE(0x303C, 0x014A, 0xA832);
  773. EXTERN_API_C( void )
  774. GXSetViewDeviceBitmap           (gxViewDevice           target,
  775.                                  gxShape                bitmapShape)                        THREEWORDINLINE(0x303C, 0x014B, 0xA832);
  776. EXTERN_API_C( void )
  777. GXSetViewDeviceClip             (gxViewDevice           target,
  778.                                  gxShape                clip)                               THREEWORDINLINE(0x303C, 0x014C, 0xA832);
  779. EXTERN_API_C( void )
  780. GXSetViewDeviceMapping          (gxViewDevice           target,
  781.                                  const gxMapping *      map)                                THREEWORDINLINE(0x303C, 0x014D, 0xA832);
  782. EXTERN_API_C( void )
  783. GXSetViewDeviceViewGroup        (gxViewDevice           target,
  784.                                  gxViewGroup            group)                              THREEWORDINLINE(0x303C, 0x014E, 0xA832);
  785. EXTERN_API_C( long )
  786. GXGetViewPortChildren           (gxViewPort             source,
  787.                                  gxViewPort             list[])                               THREEWORDINLINE(0x303C, 0x014F, 0xA832);
  788. EXTERN_API_C( gxShape )
  789. GXGetViewPortClip               (gxViewPort             source)                             THREEWORDINLINE(0x303C, 0x0150, 0xA832);
  790. EXTERN_API_C( long )
  791. GXGetViewPortDither             (gxViewPort             source)                             THREEWORDINLINE(0x303C, 0x0151, 0xA832);
  792. EXTERN_API_C( Boolean )
  793. GXGetViewPortHalftone           (gxViewPort             source,
  794.                                  gxHalftone *           data)                               THREEWORDINLINE(0x303C, 0x0152, 0xA832);
  795. EXTERN_API_C( gxMapping *)
  796. GXGetViewPortMapping            (gxViewPort             source,
  797.                                  gxMapping *            map)                                THREEWORDINLINE(0x303C, 0x0153, 0xA832);
  798. EXTERN_API_C( gxViewPort )
  799. GXGetViewPortParent             (gxViewPort             source)                             THREEWORDINLINE(0x303C, 0x0154, 0xA832);
  800. EXTERN_API_C( gxViewGroup )
  801. GXGetViewPortViewGroup          (gxViewPort             source)                             THREEWORDINLINE(0x303C, 0x0155, 0xA832);
  802. EXTERN_API_C( long )
  803. GXGetViewPortHalftoneMatrix     (gxViewPort             source,
  804.                                  gxViewDevice           sourceDevice,
  805.                                  gxHalftoneMatrix *     theMatrix)                          THREEWORDINLINE(0x303C, 0x0273, 0xA832);
  806. EXTERN_API_C( void )
  807. GXSetViewPortChildren           (gxViewPort             target,
  808.                                  long                   count,
  809.                                  const gxViewPort       list[])                               THREEWORDINLINE(0x303C, 0x0156, 0xA832);
  810. EXTERN_API_C( void )
  811. GXSetViewPortClip               (gxViewPort             target,
  812.                                  gxShape                clip)                               THREEWORDINLINE(0x303C, 0x0157, 0xA832);
  813. EXTERN_API_C( void )
  814. GXSetViewPortDither             (gxViewPort             target,
  815.                                  long                   level)                              THREEWORDINLINE(0x303C, 0x0158, 0xA832);
  816. EXTERN_API_C( void )
  817. GXSetViewPortHalftone           (gxViewPort             target,
  818.                                  const gxHalftone *     data)                               THREEWORDINLINE(0x303C, 0x0159, 0xA832);
  819. EXTERN_API_C( void )
  820. GXSetViewPortMapping            (gxViewPort             target,
  821.                                  const gxMapping *      map)                                THREEWORDINLINE(0x303C, 0x015A, 0xA832);
  822. EXTERN_API_C( void )
  823. GXSetViewPortParent             (gxViewPort             target,
  824.                                  gxViewPort             parent)                             THREEWORDINLINE(0x303C, 0x015B, 0xA832);
  825. EXTERN_API_C( void )
  826. GXSetViewPortViewGroup          (gxViewPort             target,
  827.                                  gxViewGroup            group)                              THREEWORDINLINE(0x303C, 0x015C, 0xA832);
  828. EXTERN_API_C( long )
  829. GXGetColorProfileTags           (gxColorProfile         source,
  830.                                  long                   tagType,
  831.                                  long                   index,
  832.                                  long                   count,
  833.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x015D, 0xA832);
  834. EXTERN_API_C( long )
  835. GXGetColorSetTags               (gxColorSet             source,
  836.                                  long                   tagType,
  837.                                  long                   index,
  838.                                  long                   count,
  839.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x015E, 0xA832);
  840. EXTERN_API_C( long )
  841. GXGetInkTags                    (gxInk                  source,
  842.                                  long                   tagType,
  843.                                  long                   index,
  844.                                  long                   count,
  845.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x015F, 0xA832);
  846. EXTERN_API_C( long )
  847. GXGetShapeTags                  (gxShape                source,
  848.                                  long                   tagType,
  849.                                  long                   index,
  850.                                  long                   count,
  851.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x0160, 0xA832);
  852. EXTERN_API_C( long )
  853. GXGetStyleTags                  (gxStyle                source,
  854.                                  long                   tagType,
  855.                                  long                   index,
  856.                                  long                   count,
  857.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x0161, 0xA832);
  858. EXTERN_API_C( long )
  859. GXGetTransformTags              (gxTransform            source,
  860.                                  long                   tagType,
  861.                                  long                   index,
  862.                                  long                   count,
  863.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x0162, 0xA832);
  864. EXTERN_API_C( long )
  865. GXGetViewDeviceTags             (gxViewDevice           source,
  866.                                  long                   tagType,
  867.                                  long                   index,
  868.                                  long                   count,
  869.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x0163, 0xA832);
  870. EXTERN_API_C( long )
  871. GXGetViewPortTags               (gxViewPort             source,
  872.                                  long                   tagType,
  873.                                  long                   index,
  874.                                  long                   count,
  875.                                  gxTag                  items[])                              THREEWORDINLINE(0x303C, 0x0164, 0xA832);
  876. EXTERN_API_C( void )
  877. GXSetColorProfileTags           (gxColorProfile         target,
  878.                                  long                   tagType,
  879.                                  long                   index,
  880.                                  long                   oldCount,
  881.                                  long                   newCount,
  882.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x0165, 0xA832);
  883. EXTERN_API_C( void )
  884. GXSetColorSetTags               (gxColorSet             target,
  885.                                  long                   tagType,
  886.                                  long                   index,
  887.                                  long                   oldCount,
  888.                                  long                   newCount,
  889.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x0166, 0xA832);
  890. EXTERN_API_C( void )
  891. GXSetInkTags                    (gxInk                  target,
  892.                                  long                   tagType,
  893.                                  long                   index,
  894.                                  long                   oldCount,
  895.                                  long                   newCount,
  896.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x0167, 0xA832);
  897. EXTERN_API_C( void )
  898. GXSetShapeTags                  (gxShape                target,
  899.                                  long                   tagType,
  900.                                  long                   index,
  901.                                  long                   oldCount,
  902.                                  long                   newCount,
  903.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x0168, 0xA832);
  904. EXTERN_API_C( void )
  905. GXSetStyleTags                  (gxStyle                target,
  906.                                  long                   tagType,
  907.                                  long                   index,
  908.                                  long                   oldCount,
  909.                                  long                   newCount,
  910.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x0169, 0xA832);
  911. EXTERN_API_C( void )
  912. GXSetTransformTags              (gxTransform            target,
  913.                                  long                   tagType,
  914.                                  long                   index,
  915.                                  long                   oldCount,
  916.                                  long                   newCount,
  917.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x016A, 0xA832);
  918. EXTERN_API_C( void )
  919. GXSetViewDeviceTags             (gxViewDevice           target,
  920.                                  long                   tagType,
  921.                                  long                   index,
  922.                                  long                   oldCount,
  923.                                  long                   newCount,
  924.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x016B, 0xA832);
  925. EXTERN_API_C( void )
  926. GXSetViewPortTags               (gxViewPort             target,
  927.                                  long                   tagType,
  928.                                  long                   index,
  929.                                  long                   oldCount,
  930.                                  long                   newCount,
  931.                                  const gxTag            items[])                              THREEWORDINLINE(0x303C, 0x016C, 0xA832);
  932. EXTERN_API_C( gxInkAttribute )
  933. GXGetInkAttributes              (gxInk                  source)                             THREEWORDINLINE(0x303C, 0x016D, 0xA832);
  934. EXTERN_API_C( gxShapeAttribute )
  935. GXGetShapeAttributes            (gxShape                source)                             THREEWORDINLINE(0x303C, 0x016E, 0xA832);
  936. EXTERN_API_C( gxInkAttribute )
  937. GXGetShapeInkAttributes         (gxShape                source)                             THREEWORDINLINE(0x303C, 0x016F, 0xA832);
  938. EXTERN_API_C( gxStyleAttribute )
  939. GXGetShapeStyleAttributes       (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0170, 0xA832);
  940. EXTERN_API_C( gxStyleAttribute )
  941. GXGetStyleAttributes            (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x0171, 0xA832);
  942. EXTERN_API_C( gxTextAttribute )
  943. GXGetShapeTextAttributes        (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0172, 0xA832);
  944. EXTERN_API_C( gxTextAttribute )
  945. GXGetStyleTextAttributes        (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x0173, 0xA832);
  946. EXTERN_API_C( gxDeviceAttribute )
  947. GXGetViewDeviceAttributes       (gxViewDevice           source)                             THREEWORDINLINE(0x303C, 0x0174, 0xA832);
  948. EXTERN_API_C( gxPortAttribute )
  949. GXGetViewPortAttributes         (gxViewPort             source)                             THREEWORDINLINE(0x303C, 0x0175, 0xA832);
  950. EXTERN_API_C( void )
  951. GXSetInkAttributes              (gxInk                  target,
  952.                                  gxInkAttribute         attributes)                         THREEWORDINLINE(0x303C, 0x0176, 0xA832);
  953. EXTERN_API_C( void )
  954. GXSetShapeAttributes            (gxShape                target,
  955.                                  gxShapeAttribute       attributes)                         THREEWORDINLINE(0x303C, 0x0177, 0xA832);
  956. EXTERN_API_C( void )
  957. GXSetShapeInkAttributes         (gxShape                target,
  958.                                  gxInkAttribute         attributes)                         THREEWORDINLINE(0x303C, 0x0178, 0xA832);
  959. EXTERN_API_C( void )
  960. GXSetShapeStyleAttributes       (gxShape                target,
  961.                                  gxStyleAttribute       attributes)                         THREEWORDINLINE(0x303C, 0x0179, 0xA832);
  962. EXTERN_API_C( void )
  963. GXSetStyleAttributes            (gxStyle                target,
  964.                                  gxStyleAttribute       attributes)                         THREEWORDINLINE(0x303C, 0x017A, 0xA832);
  965. EXTERN_API_C( void )
  966. GXSetShapeTextAttributes        (gxShape                target,
  967.                                  gxTextAttribute        attributes)                         THREEWORDINLINE(0x303C, 0x017B, 0xA832);
  968. EXTERN_API_C( void )
  969. GXSetStyleTextAttributes        (gxStyle                target,
  970.                                  gxTextAttribute        attributes)                         THREEWORDINLINE(0x303C, 0x017C, 0xA832);
  971. EXTERN_API_C( void )
  972. GXSetViewDeviceAttributes       (gxViewDevice           target,
  973.                                  gxDeviceAttribute      attributes)                         THREEWORDINLINE(0x303C, 0x017D, 0xA832);
  974. EXTERN_API_C( void )
  975. GXSetViewPortAttributes         (gxViewPort             target,
  976.                                  gxPortAttribute        attributes)                         THREEWORDINLINE(0x303C, 0x017E, 0xA832);
  977. EXTERN_API_C( long )
  978. GXGetColorProfileOwners         (gxColorProfile         source)                             THREEWORDINLINE(0x303C, 0x017F, 0xA832);
  979. EXTERN_API_C( long )
  980. GXGetColorSetOwners             (gxColorSet             source)                             THREEWORDINLINE(0x303C, 0x0180, 0xA832);
  981. EXTERN_API_C( long )
  982. GXGetInkOwners                  (gxInk                  source)                             THREEWORDINLINE(0x303C, 0x0181, 0xA832);
  983. EXTERN_API_C( long )
  984. GXGetShapeOwners                (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0182, 0xA832);
  985. EXTERN_API_C( long )
  986. GXGetStyleOwners                (gxStyle                source)                             THREEWORDINLINE(0x303C, 0x0183, 0xA832);
  987. EXTERN_API_C( long )
  988. GXGetTagOwners                  (gxTag                  source)                             THREEWORDINLINE(0x303C, 0x0184, 0xA832);
  989. EXTERN_API_C( long )
  990. GXGetTransformOwners            (gxTransform            source)                             THREEWORDINLINE(0x303C, 0x0185, 0xA832);
  991. EXTERN_API_C( void )
  992. GXLockShape                     (gxShape                target)                             THREEWORDINLINE(0x303C, 0x0186, 0xA832);
  993. EXTERN_API_C( void )
  994. GXLockTag                       (gxTag                  target)                             THREEWORDINLINE(0x303C, 0x0187, 0xA832);
  995. EXTERN_API_C( void )
  996. GXUnlockShape                   (gxShape                target)                             THREEWORDINLINE(0x303C, 0x0188, 0xA832);
  997. EXTERN_API_C( void )
  998. GXUnlockTag                     (gxTag                  target)                             THREEWORDINLINE(0x303C, 0x0189, 0xA832);
  999. EXTERN_API_C( void *)
  1000. GXGetShapeStructure             (gxShape                source,
  1001.                                  long *                 length)                             THREEWORDINLINE(0x303C, 0x018A, 0xA832);
  1002. EXTERN_API_C( void *)
  1003. GXGetTagStructure               (gxTag                  source,
  1004.                                  long *                 length)                             THREEWORDINLINE(0x303C, 0x018B, 0xA832);
  1005. EXTERN_API_C( Fixed )
  1006. GXGetColorDistance              (const gxColor *        target,
  1007.                                  const gxColor *        source)                             THREEWORDINLINE(0x303C, 0x018C, 0xA832);
  1008. EXTERN_API_C( gxPoint *)
  1009. GXShapeLengthToPoint            (gxShape                target,
  1010.                                  long                   index,
  1011.                                  Fixed                  length,
  1012.                                  gxPoint *              location,
  1013.                                  gxPoint *              tangent)                            THREEWORDINLINE(0x303C, 0x018D, 0xA832);
  1014. EXTERN_API_C( wide *)
  1015. GXGetShapeArea                  (gxShape                source,
  1016.                                  long                   index,
  1017.                                  wide *                 area)                               THREEWORDINLINE(0x303C, 0x018E, 0xA832);
  1018. EXTERN_API_C( long )
  1019. GXGetShapeCacheSize             (gxShape                source)                             THREEWORDINLINE(0x303C, 0x018F, 0xA832);
  1020. EXTERN_API_C( gxPoint *)
  1021. GXGetShapeCenter                (gxShape                source,
  1022.                                  long                   index,
  1023.                                  gxPoint *              center)                             THREEWORDINLINE(0x303C, 0x0190, 0xA832);
  1024. EXTERN_API_C( gxContourDirection )
  1025. GXGetShapeDirection             (gxShape                source,
  1026.                                  long                   contour)                            THREEWORDINLINE(0x303C, 0x0191, 0xA832);
  1027. EXTERN_API_C( long )
  1028. GXGetShapeIndex                 (gxShape                source,
  1029.                                  long                   contour,
  1030.                                  long                   vector)                             THREEWORDINLINE(0x303C, 0x0192, 0xA832);
  1031. EXTERN_API_C( wide *)
  1032. GXGetShapeLength                (gxShape                source,
  1033.                                  long                   index,
  1034.                                  wide *                 length)                             THREEWORDINLINE(0x303C, 0x0193, 0xA832);
  1035. EXTERN_API_C( long )
  1036. GXGetShapeSize                  (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0194, 0xA832);
  1037. EXTERN_API_C( long )
  1038. GXCountShapeContours            (gxShape                source)                             THREEWORDINLINE(0x303C, 0x0195, 0xA832);
  1039. EXTERN_API_C( long )
  1040. GXCountShapePoints              (gxShape                source,
  1041.                                  long                   contour)                            THREEWORDINLINE(0x303C, 0x0196, 0xA832);
  1042. /* returns the number of positions */
  1043. EXTERN_API_C( long )
  1044. GXGetShapeDashPositions         (gxShape                source,
  1045.                                  gxMapping              dashMappings[])                       THREEWORDINLINE(0x303C, 0x0197, 0xA832);
  1046. EXTERN_API_C( long )
  1047. GXGetShapeDeviceArea            (gxShape                source,
  1048.                                  gxViewPort             port,
  1049.                                  gxViewDevice           device)                             THREEWORDINLINE(0x303C, 0x0198, 0xA832);
  1050. EXTERN_API_C( Boolean )
  1051. GXGetShapeDeviceBounds          (gxShape                source,
  1052.                                  gxViewPort             port,
  1053.                                  gxViewDevice           device,
  1054.                                  gxRectangle *          bounds)                             THREEWORDINLINE(0x303C, 0x0199, 0xA832);
  1055. EXTERN_API_C( gxColorSet )
  1056. GXGetShapeDeviceColors          (gxShape                source,
  1057.                                  gxViewPort             port,
  1058.                                  gxViewDevice           device,
  1059.                                  long *                 width)                              THREEWORDINLINE(0x303C, 0x019A, 0xA832);
  1060. EXTERN_API_C( Boolean )
  1061. GXGetShapeGlobalBounds          (gxShape                source,
  1062.                                  gxViewPort             port,
  1063.                                  gxViewGroup            group,
  1064.                                  gxRectangle *          bounds)                             THREEWORDINLINE(0x303C, 0x019B, 0xA832);
  1065. EXTERN_API_C( long )
  1066. GXGetShapeGlobalViewDevices     (gxShape                source,
  1067.                                  gxViewPort             port,
  1068.                                  gxViewDevice           list[])                               THREEWORDINLINE(0x303C, 0x019C, 0xA832);
  1069. EXTERN_API_C( long )
  1070. GXGetShapeGlobalViewPorts       (gxShape                source,
  1071.                                  gxViewPort             list[])                               THREEWORDINLINE(0x303C, 0x019D, 0xA832);
  1072. EXTERN_API_C( gxRectangle *)
  1073. GXGetShapeLocalBounds           (gxShape                source,
  1074.                                  gxRectangle *          bounds)                             THREEWORDINLINE(0x303C, 0x019E, 0xA832);
  1075. /* returns the number of positions */
  1076. EXTERN_API_C( long )
  1077. GXGetShapePatternPositions      (gxShape                source,
  1078.                                  gxPoint                positions[])                          THREEWORDINLINE(0x303C, 0x019F, 0xA832);
  1079. EXTERN_API_C( void )
  1080. GXGetShapeLocalFontMetrics      (gxShape                sourceShape,
  1081.                                  gxPoint *              before,
  1082.                                  gxPoint *              after,
  1083.                                  gxPoint *              caretAngle,
  1084.                                  gxPoint *              caretOffset)                        THREEWORDINLINE(0x303C, 0x01A0, 0xA832);
  1085. EXTERN_API_C( void )
  1086. GXGetShapeDeviceFontMetrics     (gxShape                sourceShape,
  1087.                                  gxViewPort             port,
  1088.                                  gxViewDevice           device,
  1089.                                  gxPoint *              before,
  1090.                                  gxPoint *              after,
  1091.                                  gxPoint *              caretAngle,
  1092.                                  gxPoint *              caretOffset)                        THREEWORDINLINE(0x303C, 0x01A1, 0xA832);
  1093. EXTERN_API_C( long )
  1094. GXGetViewGroupViewDevices       (gxViewGroup            source,
  1095.                                  gxViewDevice           list[])                               THREEWORDINLINE(0x303C, 0x01A2, 0xA832);
  1096. EXTERN_API_C( long )
  1097. GXGetViewGroupViewPorts         (gxViewGroup            source,
  1098.                                  gxViewPort             list[])                               THREEWORDINLINE(0x303C, 0x01A3, 0xA832);
  1099. EXTERN_API_C( gxMapping *)
  1100. GXGetViewPortGlobalMapping      (gxViewPort             source,
  1101.                                  gxMapping *            map)                                THREEWORDINLINE(0x303C, 0x01A4, 0xA832);
  1102. EXTERN_API_C( long )
  1103. GXGetViewPortViewDevices        (gxViewPort             source,
  1104.                                  gxViewDevice           list[])                               THREEWORDINLINE(0x303C, 0x01A5, 0xA832);
  1105. EXTERN_API_C( gxShape )
  1106. GXHitTestPicture                (gxShape                target,
  1107.                                  const gxPoint *        test,
  1108.                                  gxHitTestInfo *        result,
  1109.                                  long                   level,
  1110.                                  long                   depth)                              THREEWORDINLINE(0x303C, 0x01A6, 0xA832);
  1111. EXTERN_API_C( Boolean )
  1112. GXIntersectRectangle            (gxRectangle *          target,
  1113.                                  const gxRectangle *    source,
  1114.                                  const gxRectangle *    operand)                            THREEWORDINLINE(0x303C, 0x01A7, 0xA832);
  1115. EXTERN_API_C( gxRectangle *)
  1116. GXUnionRectangle                (gxRectangle *          target,
  1117.                                  const gxRectangle *    source,
  1118.                                  const gxRectangle *    operand)                            THREEWORDINLINE(0x303C, 0x01A8, 0xA832);
  1119. EXTERN_API_C( Boolean )
  1120. GXTouchesRectanglePoint         (const gxRectangle *    target,
  1121.                                  const gxPoint *        test)                               THREEWORDINLINE(0x303C, 0x01A9, 0xA832);
  1122. EXTERN_API_C( Boolean )
  1123. GXTouchesShape                  (gxShape                target,
  1124.                                  gxShape                test)                               THREEWORDINLINE(0x303C, 0x01AA, 0xA832);
  1125. EXTERN_API_C( Boolean )
  1126. GXTouchesBoundsShape            (const gxRectangle *    target,
  1127.                                  gxShape                test)                               THREEWORDINLINE(0x303C, 0x01AB, 0xA832);
  1128. EXTERN_API_C( Boolean )
  1129. GXContainsRectangle             (const gxRectangle *    container,
  1130.                                  const gxRectangle *    test)                               THREEWORDINLINE(0x303C, 0x01AC, 0xA832);
  1131. EXTERN_API_C( Boolean )
  1132. GXContainsShape                 (gxShape                container,
  1133.                                  gxShape                test)                               THREEWORDINLINE(0x303C, 0x01AD, 0xA832);
  1134. EXTERN_API_C( Boolean )
  1135. GXContainsBoundsShape           (const gxRectangle *    container,
  1136.                                  gxShape                test,
  1137.                                  long                   index)                              THREEWORDINLINE(0x303C, 0x01AE, 0xA832);
  1138. EXTERN_API_C( gxColor *)
  1139. GXConvertColor                  (gxColor *              target,
  1140.                                  gxColorSpace           space,
  1141.                                  gxColorSet             aSet,
  1142.                                  gxColorProfile         profile)                            THREEWORDINLINE(0x303C, 0x01AF, 0xA832);
  1143. EXTERN_API_C( gxColor *)
  1144. GXCombineColor                  (gxColor *              target,
  1145.                                  gxInk                  operand)                            THREEWORDINLINE(0x303C, 0x01B0, 0xA832);
  1146. EXTERN_API_C( Boolean )
  1147. GXCheckColor                    (const gxColor *        source,
  1148.                                  gxColorSpace           space,
  1149.                                  gxColorSet             aSet,
  1150.                                  gxColorProfile         profile)                            THREEWORDINLINE(0x303C, 0x01B1, 0xA832);
  1151. EXTERN_API_C( gxShape )
  1152. GXCheckBitmapColor              (gxShape                source,
  1153.                                  const gxLongRectangle * area,
  1154.                                  gxColorSpace           space,
  1155.                                  gxColorSet             aSet,
  1156.                                  gxColorProfile         profile)                            THREEWORDINLINE(0x303C, 0x01B2, 0xA832);
  1157. EXTERN_API_C( Fixed )
  1158. GXGetHalftoneDeviceAngle        (gxViewDevice           source,
  1159.                                  const gxHalftone *     data)                               THREEWORDINLINE(0x303C, 0x01B3, 0xA832);
  1160. EXTERN_API_C( long )
  1161. GXGetColorSetParts              (gxColorSet             source,
  1162.                                  long                   index,
  1163.                                  long                   count,
  1164.                                  gxColorSpace *         space,
  1165.                                  gxSetColor             data[])                               THREEWORDINLINE(0x303C, 0x01B4, 0xA832);
  1166. /* returns the glyph count */
  1167. EXTERN_API_C( long )
  1168. GXGetGlyphParts                 (gxShape                source,
  1169.                                  long                   index,
  1170.                                  long                   charCount,
  1171.                                  long *                 byteLength,
  1172.                                  unsigned char          text[],
  1173.                                  gxPoint                positions[],
  1174.                                  long                   advanceBits[],
  1175.                                  gxPoint                tangents[],
  1176.                                  long *                 runCount,
  1177.                                  short                  styleRuns[],
  1178.                                  gxStyle                styles[])                             THREEWORDINLINE(0x303C, 0x01B5, 0xA832);
  1179. EXTERN_API_C( long )
  1180. GXGetPathParts                  (gxShape                source,
  1181.                                  long                   index,
  1182.                                  long                   count,
  1183.                                  gxPaths *              data)                               THREEWORDINLINE(0x303C, 0x01B6, 0xA832);
  1184. EXTERN_API_C( long )
  1185. GXGetPictureParts               (gxShape                source,
  1186.                                  long                   index,
  1187.                                  long                   count,
  1188.                                  gxShape                shapes[],
  1189.                                  gxStyle                styles[],
  1190.                                  gxInk                  inks[],
  1191.                                  gxTransform            transforms[])                         THREEWORDINLINE(0x303C, 0x01B7, 0xA832);
  1192. EXTERN_API_C( long )
  1193. GXGetPolygonParts               (gxShape                source,
  1194.                                  long                   index,
  1195.                                  long                   count,
  1196.                                  gxPolygons *           data)                               THREEWORDINLINE(0x303C, 0x01B8, 0xA832);
  1197. EXTERN_API_C( gxShape )
  1198. GXGetShapeParts                 (gxShape                source,
  1199.                                  long                   index,
  1200.                                  long                   count,
  1201.                                  gxShape                destination)                        THREEWORDINLINE(0x303C, 0x01B9, 0xA832);
  1202. EXTERN_API_C( long )
  1203. GXGetTextParts                  (gxShape                source,
  1204.                                  long                   index,
  1205.                                  long                   charCount,
  1206.                                  unsigned char          text[])                               THREEWORDINLINE(0x303C, 0x01BA, 0xA832);
  1207. EXTERN_API_C( void )
  1208. GXSetColorSetParts              (gxColorSet             target,
  1209.                                  long                   index,
  1210.                                  long                   oldCount,
  1211.                                  long                   newCount,
  1212.                                  const gxSetColor       data[])                               THREEWORDINLINE(0x303C, 0x01BB, 0xA832);
  1213. EXTERN_API_C( void )
  1214. GXSetGlyphParts                 (gxShape                source,
  1215.                                  long                   index,
  1216.                                  long                   oldCharCount,
  1217.                                  long                   newCharCount,
  1218.                                  const unsigned char    text[],
  1219.                                  const gxPoint          positions[],
  1220.                                  const long             advanceBits[],
  1221.                                  const gxPoint          tangents[],
  1222.                                  const short            styleRuns[],
  1223.                                  const gxStyle          styles[])                             THREEWORDINLINE(0x303C, 0x01BC, 0xA832);
  1224. EXTERN_API_C( void )
  1225. GXSetPathParts                  (gxShape                target,
  1226.                                  long                   index,
  1227.                                  long                   count,
  1228.                                  const gxPaths *        data,
  1229.                                  gxEditShapeFlag        flags)                              THREEWORDINLINE(0x303C, 0x01BD, 0xA832);
  1230. EXTERN_API_C( void )
  1231. GXSetPictureParts               (gxShape                target,
  1232.                                  long                   index,
  1233.                                  long                   oldCount,
  1234.                                  long                   newCount,
  1235.                                  const gxShape          shapes[],
  1236.                                  const gxStyle          styles[],
  1237.                                  const gxInk            inks[],
  1238.                                  const gxTransform      transforms[])                         THREEWORDINLINE(0x303C, 0x01BE, 0xA832);
  1239. EXTERN_API_C( void )
  1240. GXSetPolygonParts               (gxShape                target,
  1241.                                  long                   index,
  1242.                                  long                   count,
  1243.                                  const gxPolygons *     data,
  1244.                                  gxEditShapeFlag        flags)                              THREEWORDINLINE(0x303C, 0x01BF, 0xA832);
  1245. EXTERN_API_C( void )
  1246. GXSetShapeParts                 (gxShape                target,
  1247.                                  long                   index,
  1248.                                  long                   count,
  1249.                                  gxShape                insert,
  1250.                                  gxEditShapeFlag        flags)                              THREEWORDINLINE(0x303C, 0x01C0, 0xA832);
  1251. EXTERN_API_C( void )
  1252. GXSetTextParts                  (gxShape                target,
  1253.                                  long                   index,
  1254.                                  long                   oldCharCount,
  1255.                                  long                   newCharCount,
  1256.                                  const unsigned char    text[])                               THREEWORDINLINE(0x303C, 0x01C1, 0xA832);
  1257. EXTERN_API_C( long )
  1258. GXGetShapePoints                (gxShape                source,
  1259.                                  long                   index,
  1260.                                  long                   count,
  1261.                                  gxPoint                data[])                               THREEWORDINLINE(0x303C, 0x01C2, 0xA832);
  1262. EXTERN_API_C( void )
  1263. GXSetShapePoints                (gxShape                target,
  1264.                                  long                   index,
  1265.                                  long                   count,
  1266.                                  const gxPoint          data[])                               THREEWORDINLINE(0x303C, 0x01C3, 0xA832);
  1267. EXTERN_API_C( long )
  1268. GXGetGlyphPositions             (gxShape                source,
  1269.                                  long                   index,
  1270.                                  long                   charCount,
  1271.                                  long                   advance[],
  1272.                                  gxPoint                positions[])                          THREEWORDINLINE(0x303C, 0x01C4, 0xA832);
  1273. EXTERN_API_C( long )
  1274. GXGetGlyphTangents              (gxShape                source,
  1275.                                  long                   index,
  1276.                                  long                   charCount,
  1277.                                  gxPoint                tangents[])                           THREEWORDINLINE(0x303C, 0x01C5, 0xA832);
  1278. EXTERN_API_C( void )
  1279. GXSetGlyphPositions             (gxShape                target,
  1280.                                  long                   index,
  1281.                                  long                   charCount,
  1282.                                  const long             advance[],
  1283.                                  const gxPoint          positions[])                          THREEWORDINLINE(0x303C, 0x01C6, 0xA832);
  1284. EXTERN_API_C( void )
  1285. GXSetGlyphTangents              (gxShape                target,
  1286.                                  long                   index,
  1287.                                  long                   charCount,
  1288.                                  const gxPoint          tangents[])                           THREEWORDINLINE(0x303C, 0x01C7, 0xA832);
  1289. EXTERN_API_C( long )
  1290. GXGetGlyphMetrics               (gxShape                source,
  1291.                                  gxPoint                glyphOrigins[],
  1292.                                  gxRectangle            boundingBoxes[],
  1293.                                  gxPoint                sideBearings[])                       THREEWORDINLINE(0x303C, 0x01C8, 0xA832);
  1294. EXTERN_API_C( void )
  1295. GXDifferenceShape               (gxShape                target,
  1296.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01C9, 0xA832);
  1297. EXTERN_API_C( void )
  1298. GXExcludeShape                  (gxShape                target,
  1299.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01CA, 0xA832);
  1300. EXTERN_API_C( void )
  1301. GXIntersectShape                (gxShape                target,
  1302.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01CB, 0xA832);
  1303. EXTERN_API_C( void )
  1304. GXMapShape                      (gxShape                target,
  1305.                                  const gxMapping *      map)                                THREEWORDINLINE(0x303C, 0x01CC, 0xA832);
  1306. EXTERN_API_C( void )
  1307. GXMoveShape                     (gxShape                target,
  1308.                                  Fixed                  deltaX,
  1309.                                  Fixed                  deltaY)                             THREEWORDINLINE(0x303C, 0x01CD, 0xA832);
  1310. EXTERN_API_C( void )
  1311. GXMoveShapeTo                   (gxShape                target,
  1312.                                  Fixed                  x,
  1313.                                  Fixed                  y)                                  THREEWORDINLINE(0x303C, 0x01CE, 0xA832);
  1314. EXTERN_API_C( void )
  1315. GXReverseDifferenceShape        (gxShape                target,
  1316.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01CF, 0xA832);
  1317. EXTERN_API_C( void )
  1318. GXRotateShape                   (gxShape                target,
  1319.                                  Fixed                  degrees,
  1320.                                  Fixed                  xOffset,
  1321.                                  Fixed                  yOffset)                            THREEWORDINLINE(0x303C, 0x01D0, 0xA832);
  1322. EXTERN_API_C( void )
  1323. GXScaleShape                    (gxShape                target,
  1324.                                  Fixed                  hScale,
  1325.                                  Fixed                  vScale,
  1326.                                  Fixed                  xOffset,
  1327.                                  Fixed                  yOffset)                            THREEWORDINLINE(0x303C, 0x01D1, 0xA832);
  1328. EXTERN_API_C( void )
  1329. GXSkewShape                     (gxShape                target,
  1330.                                  Fixed                  xSkew,
  1331.                                  Fixed                  ySkew,
  1332.                                  Fixed                  xOffset,
  1333.                                  Fixed                  yOffset)                            THREEWORDINLINE(0x303C, 0x01D2, 0xA832);
  1334. EXTERN_API_C( void )
  1335. GXUnionShape                    (gxShape                target,
  1336.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01D3, 0xA832);
  1337. EXTERN_API_C( void )
  1338. GXDifferenceTransform           (gxTransform            target,
  1339.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01D4, 0xA832);
  1340. EXTERN_API_C( void )
  1341. GXExcludeTransform              (gxTransform            target,
  1342.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01D5, 0xA832);
  1343. EXTERN_API_C( void )
  1344. GXIntersectTransform            (gxTransform            target,
  1345.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01D6, 0xA832);
  1346. EXTERN_API_C( void )
  1347. GXMapTransform                  (gxTransform            target,
  1348.                                  const gxMapping *      map)                                THREEWORDINLINE(0x303C, 0x01D7, 0xA832);
  1349. EXTERN_API_C( void )
  1350. GXMoveTransform                 (gxTransform            target,
  1351.                                  Fixed                  deltaX,
  1352.                                  Fixed                  deltaY)                             THREEWORDINLINE(0x303C, 0x01D8, 0xA832);
  1353. EXTERN_API_C( void )
  1354. GXMoveTransformTo               (gxTransform            target,
  1355.                                  Fixed                  x,
  1356.                                  Fixed                  y)                                  THREEWORDINLINE(0x303C, 0x01D9, 0xA832);
  1357. EXTERN_API_C( void )
  1358. GXReverseDifferenceTransform    (gxTransform            target,
  1359.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01DA, 0xA832);
  1360. EXTERN_API_C( void )
  1361. GXRotateTransform               (gxTransform            target,
  1362.                                  Fixed                  degrees,
  1363.                                  Fixed                  xOffset,
  1364.                                  Fixed                  yOffset)                            THREEWORDINLINE(0x303C, 0x01DB, 0xA832);
  1365. EXTERN_API_C( void )
  1366. GXScaleTransform                (gxTransform            target,
  1367.                                  Fixed                  hScale,
  1368.                                  Fixed                  vScale,
  1369.                                  Fixed                  xOffset,
  1370.                                  Fixed                  yOffset)                            THREEWORDINLINE(0x303C, 0x01DC, 0xA832);
  1371. EXTERN_API_C( void )
  1372. GXSkewTransform                 (gxTransform            target,
  1373.                                  Fixed                  xSkew,
  1374.                                  Fixed                  ySkew,
  1375.                                  Fixed                  xOffset,
  1376.                                  Fixed                  yOffset)                            THREEWORDINLINE(0x303C, 0x01DD, 0xA832);
  1377. EXTERN_API_C( void )
  1378. GXUnionTransform                (gxTransform            target,
  1379.                                  gxShape                operand)                            THREEWORDINLINE(0x303C, 0x01DE, 0xA832);
  1380. EXTERN_API_C( void )
  1381. GXBreakShape                    (gxShape                target,
  1382.                                  long                   index)                              THREEWORDINLINE(0x303C, 0x01DF, 0xA832);
  1383. EXTERN_API_C( void )
  1384. GXChangedShape                  (gxShape                target)                             THREEWORDINLINE(0x303C, 0x01E0, 0xA832);
  1385. EXTERN_API_C( gxShapePart )
  1386. GXHitTestShape                  (gxShape                target,
  1387.                                  const gxPoint *        test,
  1388.                                  gxHitTestInfo *        result)                             THREEWORDINLINE(0x303C, 0x01E1, 0xA832);
  1389. EXTERN_API_C( gxShape )
  1390. GXHitTestDevice                 (gxShape                target,
  1391.                                  gxViewPort             port,
  1392.                                  gxViewDevice           device,
  1393.                                  const gxPoint *        test,
  1394.                                  const gxPoint *        tolerance)                          THREEWORDINLINE(0x303C, 0x01E2, 0xA832);
  1395. EXTERN_API_C( void )
  1396. GXInsetShape                    (gxShape                target,
  1397.                                  Fixed                  inset)                              THREEWORDINLINE(0x303C, 0x01E3, 0xA832);
  1398. EXTERN_API_C( void )
  1399. GXInvertShape                   (gxShape                target)                             THREEWORDINLINE(0x303C, 0x01E4, 0xA832);
  1400. EXTERN_API_C( void )
  1401. GXPrimitiveShape                (gxShape                target)                             THREEWORDINLINE(0x303C, 0x01E5, 0xA832);
  1402. EXTERN_API_C( void )
  1403. GXReduceShape                   (gxShape                target,
  1404.                                  long                   contour)                            THREEWORDINLINE(0x303C, 0x01E6, 0xA832);
  1405. EXTERN_API_C( void )
  1406. GXReverseShape                  (gxShape                target,
  1407.                                  long                   contour)                            THREEWORDINLINE(0x303C, 0x01E7, 0xA832);
  1408. EXTERN_API_C( void )
  1409. GXSimplifyShape                 (gxShape                target)                             THREEWORDINLINE(0x303C, 0x01E8, 0xA832);
  1410. EXTERN_API_C( void )
  1411. GXLockColorProfile              (gxColorProfile         source)                             THREEWORDINLINE(0x303C, 0x01E9, 0xA832);
  1412. EXTERN_API_C( void )
  1413. GXUnlockColorProfile            (gxColorProfile         source)                             THREEWORDINLINE(0x303C, 0x01EA, 0xA832);
  1414. EXTERN_API_C( void *)
  1415. GXGetColorProfileStructure      (gxColorProfile         source,
  1416.                                  long *                 length)                             THREEWORDINLINE(0x303C, 0x01EB, 0xA832);
  1417. EXTERN_API_C( void )
  1418. GXFlattenShape                  (gxShape                source,
  1419.                                  gxFlattenFlag          flags,
  1420.                                  gxSpoolBlock *         block)                              THREEWORDINLINE(0x303C, 0x01EC, 0xA832);
  1421. EXTERN_API_C( gxShape )
  1422. GXUnflattenShape                (gxSpoolBlock *         block,
  1423.                                  long                   count,
  1424.                                  const gxViewPort       portList[])                           THREEWORDINLINE(0x303C, 0x01ED, 0xA832);
  1425. EXTERN_API_C( void )
  1426. GXPostGraphicsNotice            (gxGraphicsNotice       notice)                             THREEWORDINLINE(0x303C, 0x0065, 0xA832);
  1427. EXTERN_API_C( void )
  1428. GXIgnoreGraphicsNotice          (gxGraphicsNotice       notice)                             THREEWORDINLINE(0x303C, 0x006D, 0xA832);
  1429. EXTERN_API_C( void )
  1430. GXPopGraphicsNotice             (void)                                                      THREEWORDINLINE(0x303C, 0x006E, 0xA832);
  1431. #endif  /* CALL_NOT_IN_CARBON */
  1432.  
  1433. #if defined(__MWERKS__) && TARGET_CPU_68K
  1434.     #pragma pop
  1435. #endif
  1436. #if PRAGMA_STRUCT_ALIGN
  1437.     #pragma options align=reset
  1438. #elif PRAGMA_STRUCT_PACKPUSH
  1439.     #pragma pack(pop)
  1440. #elif PRAGMA_STRUCT_PACK
  1441.     #pragma pack()
  1442. #endif
  1443. #ifdef PRAGMA_IMPORT_OFF
  1444. #pragma import off
  1445. #elif PRAGMA_IMPORT
  1446. #pragma import reset
  1447. #endif
  1448. #ifdef __cplusplus
  1449. }
  1450. #endif
  1451. #endif /* __GXGRAPHICS__ */