DrawSprocket.pas 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053
  1. {
  2. File: DrawSprocket/DrawSprocket.h
  3. Contains: Games Sprockets: DrawSprocket interfaces
  4. Version: DrawSprocket-2.0.85~65
  5. Copyright: © 1999-2008 by Apple Computer, Inc., all rights reserved.
  6. Bugs?: For bug reports, consult the following page on
  7. the World Wide Web:
  8. http://bugs.freepascal.org
  9. }
  10. { Pascal Translation Updated: Jonas Maebe, <[email protected]>, October 2009 }
  11. {
  12. Modified for use with Free Pascal
  13. Version 308
  14. Please report any bugs to <[email protected]>
  15. }
  16. {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
  17. {$mode macpas}
  18. {$modeswitch cblocks}
  19. {$packenum 1}
  20. {$macro on}
  21. {$inline on}
  22. {$calling mwpascal}
  23. {$IFNDEF FPC_DOTTEDUNITS}
  24. unit DrawSprocket;
  25. {$ENDIF FPC_DOTTEDUNITS}
  26. interface
  27. {$setc UNIVERSAL_INTERFACES_VERSION := $0400}
  28. {$setc GAP_INTERFACES_VERSION := $0308}
  29. {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
  30. {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
  31. {$endc}
  32. {$ifc defined CPUPOWERPC and defined CPUI386}
  33. {$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
  34. {$endc}
  35. {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
  36. {$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
  37. {$endc}
  38. {$ifc not defined __ppc__ and defined CPUPOWERPC32}
  39. {$setc __ppc__ := 1}
  40. {$elsec}
  41. {$setc __ppc__ := 0}
  42. {$endc}
  43. {$ifc not defined __ppc64__ and defined CPUPOWERPC64}
  44. {$setc __ppc64__ := 1}
  45. {$elsec}
  46. {$setc __ppc64__ := 0}
  47. {$endc}
  48. {$ifc not defined __i386__ and defined CPUI386}
  49. {$setc __i386__ := 1}
  50. {$elsec}
  51. {$setc __i386__ := 0}
  52. {$endc}
  53. {$ifc not defined __x86_64__ and defined CPUX86_64}
  54. {$setc __x86_64__ := 1}
  55. {$elsec}
  56. {$setc __x86_64__ := 0}
  57. {$endc}
  58. {$ifc not defined __arm__ and defined CPUARM}
  59. {$setc __arm__ := 1}
  60. {$elsec}
  61. {$setc __arm__ := 0}
  62. {$endc}
  63. {$ifc not defined __arm64__ and defined CPUAARCH64}
  64. {$setc __arm64__ := 1}
  65. {$elsec}
  66. {$setc __arm64__ := 0}
  67. {$endc}
  68. {$ifc defined cpu64}
  69. {$setc __LP64__ := 1}
  70. {$elsec}
  71. {$setc __LP64__ := 0}
  72. {$endc}
  73. {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
  74. {$error Conflicting definitions for __ppc__ and __i386__}
  75. {$endc}
  76. {$ifc defined __ppc__ and __ppc__}
  77. {$setc TARGET_CPU_PPC := TRUE}
  78. {$setc TARGET_CPU_PPC64 := FALSE}
  79. {$setc TARGET_CPU_X86 := FALSE}
  80. {$setc TARGET_CPU_X86_64 := FALSE}
  81. {$setc TARGET_CPU_ARM := FALSE}
  82. {$setc TARGET_CPU_ARM64 := FALSE}
  83. {$setc TARGET_OS_MAC := TRUE}
  84. {$setc TARGET_OS_IPHONE := FALSE}
  85. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  86. {$setc TARGET_OS_EMBEDDED := FALSE}
  87. {$elifc defined __ppc64__ and __ppc64__}
  88. {$setc TARGET_CPU_PPC := FALSE}
  89. {$setc TARGET_CPU_PPC64 := TRUE}
  90. {$setc TARGET_CPU_X86 := FALSE}
  91. {$setc TARGET_CPU_X86_64 := FALSE}
  92. {$setc TARGET_CPU_ARM := FALSE}
  93. {$setc TARGET_CPU_ARM64 := FALSE}
  94. {$setc TARGET_OS_MAC := TRUE}
  95. {$setc TARGET_OS_IPHONE := FALSE}
  96. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  97. {$setc TARGET_OS_EMBEDDED := FALSE}
  98. {$elifc defined __i386__ and __i386__}
  99. {$setc TARGET_CPU_PPC := FALSE}
  100. {$setc TARGET_CPU_PPC64 := FALSE}
  101. {$setc TARGET_CPU_X86 := TRUE}
  102. {$setc TARGET_CPU_X86_64 := FALSE}
  103. {$setc TARGET_CPU_ARM := FALSE}
  104. {$setc TARGET_CPU_ARM64 := FALSE}
  105. {$ifc defined iphonesim}
  106. {$setc TARGET_OS_MAC := FALSE}
  107. {$setc TARGET_OS_IPHONE := TRUE}
  108. {$setc TARGET_IPHONE_SIMULATOR := TRUE}
  109. {$elsec}
  110. {$setc TARGET_OS_MAC := TRUE}
  111. {$setc TARGET_OS_IPHONE := FALSE}
  112. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  113. {$endc}
  114. {$setc TARGET_OS_EMBEDDED := FALSE}
  115. {$elifc defined __x86_64__ and __x86_64__}
  116. {$setc TARGET_CPU_PPC := FALSE}
  117. {$setc TARGET_CPU_PPC64 := FALSE}
  118. {$setc TARGET_CPU_X86 := FALSE}
  119. {$setc TARGET_CPU_X86_64 := TRUE}
  120. {$setc TARGET_CPU_ARM := FALSE}
  121. {$setc TARGET_CPU_ARM64 := FALSE}
  122. {$ifc defined iphonesim}
  123. {$setc TARGET_OS_MAC := FALSE}
  124. {$setc TARGET_OS_IPHONE := TRUE}
  125. {$setc TARGET_IPHONE_SIMULATOR := TRUE}
  126. {$elsec}
  127. {$setc TARGET_OS_MAC := TRUE}
  128. {$setc TARGET_OS_IPHONE := FALSE}
  129. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  130. {$endc}
  131. {$setc TARGET_OS_EMBEDDED := FALSE}
  132. {$elifc defined __arm__ and __arm__}
  133. {$setc TARGET_CPU_PPC := FALSE}
  134. {$setc TARGET_CPU_PPC64 := FALSE}
  135. {$setc TARGET_CPU_X86 := FALSE}
  136. {$setc TARGET_CPU_X86_64 := FALSE}
  137. {$setc TARGET_CPU_ARM := TRUE}
  138. {$setc TARGET_CPU_ARM64 := FALSE}
  139. {$setc TARGET_OS_MAC := FALSE}
  140. {$setc TARGET_OS_IPHONE := TRUE}
  141. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  142. {$setc TARGET_OS_EMBEDDED := TRUE}
  143. {$elifc defined __arm64__ and __arm64__}
  144. {$setc TARGET_CPU_PPC := FALSE}
  145. {$setc TARGET_CPU_PPC64 := FALSE}
  146. {$setc TARGET_CPU_X86 := FALSE}
  147. {$setc TARGET_CPU_X86_64 := FALSE}
  148. {$setc TARGET_CPU_ARM := FALSE}
  149. {$setc TARGET_CPU_ARM64 := TRUE}
  150. {$ifc defined ios}
  151. {$setc TARGET_OS_MAC := FALSE}
  152. {$setc TARGET_OS_IPHONE := TRUE}
  153. {$setc TARGET_OS_EMBEDDED := TRUE}
  154. {$elsec}
  155. {$setc TARGET_OS_MAC := TRUE}
  156. {$setc TARGET_OS_IPHONE := FALSE}
  157. {$setc TARGET_OS_EMBEDDED := FALSE}
  158. {$endc}
  159. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  160. {$elsec}
  161. {$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ nor __arm64__ is defined.}
  162. {$endc}
  163. {$ifc defined __LP64__ and __LP64__ }
  164. {$setc TARGET_CPU_64 := TRUE}
  165. {$elsec}
  166. {$setc TARGET_CPU_64 := FALSE}
  167. {$endc}
  168. {$ifc defined FPC_BIG_ENDIAN}
  169. {$setc TARGET_RT_BIG_ENDIAN := TRUE}
  170. {$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
  171. {$elifc defined FPC_LITTLE_ENDIAN}
  172. {$setc TARGET_RT_BIG_ENDIAN := FALSE}
  173. {$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
  174. {$elsec}
  175. {$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
  176. {$endc}
  177. {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
  178. {$setc CALL_NOT_IN_CARBON := FALSE}
  179. {$setc OLDROUTINENAMES := FALSE}
  180. {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
  181. {$setc OPAQUE_UPP_TYPES := TRUE}
  182. {$setc OTCARBONAPPLICATION := TRUE}
  183. {$setc OTKERNEL := FALSE}
  184. {$setc PM_USE_SESSION_APIS := TRUE}
  185. {$setc TARGET_API_MAC_CARBON := TRUE}
  186. {$setc TARGET_API_MAC_OS8 := FALSE}
  187. {$setc TARGET_API_MAC_OSX := TRUE}
  188. {$setc TARGET_CARBON := TRUE}
  189. {$setc TARGET_CPU_68K := FALSE}
  190. {$setc TARGET_CPU_MIPS := FALSE}
  191. {$setc TARGET_CPU_SPARC := FALSE}
  192. {$setc TARGET_OS_UNIX := FALSE}
  193. {$setc TARGET_OS_WIN32 := FALSE}
  194. {$setc TARGET_RT_MAC_68881 := FALSE}
  195. {$setc TARGET_RT_MAC_CFM := FALSE}
  196. {$setc TARGET_RT_MAC_MACHO := TRUE}
  197. {$setc TYPED_FUNCTION_POINTERS := TRUE}
  198. {$setc TYPE_BOOL := FALSE}
  199. {$setc TYPE_EXTENDED := FALSE}
  200. {$setc TYPE_LONGLONG := TRUE}
  201. {$IFDEF FPC_DOTTEDUNITS}
  202. uses MacOsApi.MacTypes,MacOsApi.Video,MacOsApi.Events,MacOsApi.QuickdrawTypes,MacOsApi.QDOffscreen,MacOsApi.Displays,MacOsApi.MacErrors;
  203. {$ELSE FPC_DOTTEDUNITS}
  204. uses MacTypes,Video,Events,QuickdrawTypes,QDOffscreen,Displays,MacErrors;
  205. {$ENDIF FPC_DOTTEDUNITS}
  206. {$endc} {not MACOSALLINCLUDE}
  207. {$ifc TARGET_OS_MAC}
  208. {$ALIGN POWER}
  209. {******************* DEPRECATION NOTICE *********************
  210. *
  211. * The DrawSprocket API is being deprecated, and should be replaced
  212. * by the CGDirectDisplay API in the CoreGraphics framework in
  213. * ApplicationServices.framework.
  214. *
  215. ************************************************************}
  216. {
  217. ********************************************************************************
  218. ** constants
  219. ********************************************************************************
  220. }
  221. type
  222. DSpDepthMask = SInt32;
  223. const
  224. kDSpDepthMask_1 = 1 shl 0;
  225. kDSpDepthMask_2 = 1 shl 1;
  226. kDSpDepthMask_4 = 1 shl 2;
  227. kDSpDepthMask_8 = 1 shl 3;
  228. kDSpDepthMask_16 = 1 shl 4;
  229. kDSpDepthMask_32 = 1 shl 5;
  230. kDSpDepthMask_All = -1;
  231. type
  232. DSpColorNeeds = SInt32;
  233. const
  234. kDSpColorNeeds_DontCare = 0;
  235. kDSpColorNeeds_Request = 1;
  236. kDSpColorNeeds_Require = 2;
  237. type
  238. DSpContextState = SInt32;
  239. const
  240. kDSpContextState_Active = 0;
  241. kDSpContextState_Paused = 1;
  242. kDSpContextState_Inactive = 2;
  243. { kDSpContextOption_QD3DAccel not yet implemented }
  244. type
  245. DSpContextOption = SInt32;
  246. const
  247. { kDSpContextOption_QD3DAccel = 1<<0,}
  248. kDSpContextOption_PageFlip = 1 shl 1;
  249. kDSpContextOption_DontSyncVBL = 1 shl 2;
  250. kDSpContextOption_Stereoscopic = 1 shl 3;
  251. type
  252. DSpAltBufferOption = SInt32;
  253. const
  254. kDSpAltBufferOption_RowBytesEqualsWidth = 1 shl 0;
  255. type
  256. DSpBufferKind = SInt32;
  257. const
  258. kDSpBufferKind_Normal = 0;
  259. type
  260. DSpBlitMode = SInt32;
  261. const
  262. kDSpBlitMode_Plain = 0;
  263. kDSpBlitMode_SrcKey = 1 shl 0;
  264. kDSpBlitMode_DstKey = 1 shl 1;
  265. kDSpBlitMode_Interpolation = 1 shl 2;
  266. {
  267. ********************************************************************************
  268. ** data types
  269. ********************************************************************************
  270. }
  271. type
  272. DSpAltBufferReference = ^OpaqueDSpAltBufferReference; { an opaque type }
  273. OpaqueDSpAltBufferReference = record end;
  274. DSpAltBufferReferencePtr = ^DSpAltBufferReference; { when a var xx:DSpAltBufferReference parameter can be nil, it is changed to xx: DSpAltBufferReferencePtr }
  275. DSpContextReference = ^OpaqueDSpContextReference; { an opaque type }
  276. OpaqueDSpContextReference = record end;
  277. DSpContextReferencePtr = ^DSpContextReference; { when a var xx:DSpContextReference parameter can be nil, it is changed to xx: DSpContextReferencePtr }
  278. DSpContextReferenceConst = ^OpaqueDSpContextReference;
  279. DSpContextReferenceConstPtr = ^DSpContextReferenceConst; { when a var xx:DSpContextReferenceConst parameter can be nil, it is changed to xx: DSpContextReferenceConstPtr }
  280. const
  281. kDSpEveryContext = nil;
  282. type
  283. DSpEventProcPtr = function( var inEvent: EventRecord ): Boolean;
  284. DSpCallbackProcPtr = function( inContext: DSpContextReference; inRefCon: UnivPtr ): Boolean;
  285. DSpEventUPP = DSpEventProcPtr;
  286. DSpCallbackUPP = DSpCallbackProcPtr;
  287. {
  288. * NewDSpEventUPP()
  289. *
  290. * Availability:
  291. * Mac OS X: not available
  292. * CarbonLib: not available
  293. * Non-Carbon CFM: available as macro/inline
  294. }
  295. {
  296. * NewDSpCallbackUPP()
  297. *
  298. * Availability:
  299. * Mac OS X: not available
  300. * CarbonLib: not available
  301. * Non-Carbon CFM: available as macro/inline
  302. }
  303. {
  304. * DisposeDSpEventUPP()
  305. *
  306. * Availability:
  307. * Mac OS X: not available
  308. * CarbonLib: not available
  309. * Non-Carbon CFM: available as macro/inline
  310. }
  311. {
  312. * DisposeDSpCallbackUPP()
  313. *
  314. * Availability:
  315. * Mac OS X: not available
  316. * CarbonLib: not available
  317. * Non-Carbon CFM: available as macro/inline
  318. }
  319. {
  320. * InvokeDSpEventUPP()
  321. *
  322. * Availability:
  323. * Mac OS X: not available
  324. * CarbonLib: not available
  325. * Non-Carbon CFM: available as macro/inline
  326. }
  327. {
  328. * InvokeDSpCallbackUPP()
  329. *
  330. * Availability:
  331. * Mac OS X: not available
  332. * CarbonLib: not available
  333. * Non-Carbon CFM: available as macro/inline
  334. }
  335. type
  336. DSpContextAttributesPtr = ^DSpContextAttributes;
  337. DSpContextAttributes = record
  338. frequency: Fixed;
  339. displayWidth: UInt32;
  340. displayHeight: UInt32;
  341. reserved1: UInt32;
  342. reserved2: UInt32;
  343. colorNeeds: UInt32;
  344. colorTable: CTabHandle;
  345. contextOptions: OptionBits;
  346. backBufferDepthMask: OptionBits;
  347. displayDepthMask: OptionBits;
  348. backBufferBestDepth: UInt32;
  349. displayBestDepth: UInt32;
  350. pageCount: UInt32;
  351. filler1,filler2,filler3: SInt8;
  352. gameMustConfirmSwitch: Boolean;
  353. reserved3: array [0..4-1] of UInt32;
  354. end;
  355. type
  356. DSpAltBufferAttributesPtr = ^DSpAltBufferAttributes;
  357. DSpAltBufferAttributes = record
  358. width: UInt32;
  359. height: UInt32;
  360. options: DSpAltBufferOption;
  361. reserved: array [0..4-1] of UInt32;
  362. end;
  363. type
  364. DSpBlitInfoPtr = ^DSpBlitInfo;
  365. DSpBlitDoneProc = procedure( info: DSpBlitInfoPtr );
  366. DSpBlitInfo = record
  367. completionFlag: Boolean;
  368. filler1, filler2, filler3: SInt8;
  369. completionProc: DSpBlitDoneProc;
  370. srcContext: DSpContextReference;
  371. srcBuffer: CGrafPtr;
  372. srcRect: Rect;
  373. srcKey: UInt32;
  374. dstContext: DSpContextReference;
  375. dstBuffer: CGrafPtr;
  376. dstRect: Rect;
  377. dstKey: UInt32;
  378. mode: DSpBlitMode;
  379. reserved: array [0..4-1] of UInt32;
  380. end;
  381. {
  382. ********************************************************************************
  383. ** function prototypes
  384. ********************************************************************************
  385. }
  386. {
  387. ** global operations
  388. }
  389. {
  390. * DSpStartup() *** DEPRECATED ***
  391. *
  392. * Availability:
  393. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  394. * CarbonLib: not available
  395. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  396. }
  397. function DSpStartup: OSStatus; external name '_DSpStartup';
  398. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  399. {
  400. * DSpShutdown() *** DEPRECATED ***
  401. *
  402. * Availability:
  403. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  404. * CarbonLib: not available
  405. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  406. }
  407. function DSpShutdown: OSStatus; external name '_DSpShutdown';
  408. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  409. {
  410. * DSpGetVersion() *** DEPRECATED ***
  411. *
  412. * Availability:
  413. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  414. * CarbonLib: not available
  415. * Non-Carbon CFM: in DrawSprocketLib 1.7 and later
  416. }
  417. function DSpGetVersion: NumVersion; external name '_DSpGetVersion';
  418. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  419. {
  420. * DSpGetFirstContext() *** DEPRECATED ***
  421. *
  422. * Availability:
  423. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  424. * CarbonLib: not available
  425. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  426. }
  427. function DSpGetFirstContext( inDisplayID: DisplayIDType; var outContext: DSpContextReference ): OSStatus; external name '_DSpGetFirstContext';
  428. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  429. {
  430. * DSpGetNextContext() *** DEPRECATED ***
  431. *
  432. * Availability:
  433. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  434. * CarbonLib: not available
  435. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  436. }
  437. function DSpGetNextContext( inCurrentContext: DSpContextReference; var outContext: DSpContextReference ): OSStatus; external name '_DSpGetNextContext';
  438. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  439. {
  440. * DSpGetCurrentContext() *** DEPRECATED ***
  441. *
  442. * Availability:
  443. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  444. * CarbonLib: not available
  445. * Non-Carbon CFM: in DrawSprocketLib 1.7 and later
  446. }
  447. function DSpGetCurrentContext( inDisplayID: DisplayIDType; var outContext: DSpContextReference ): OSStatus; external name '_DSpGetCurrentContext';
  448. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  449. {
  450. * DSpFindBestContext() *** DEPRECATED ***
  451. *
  452. * Availability:
  453. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  454. * CarbonLib: not available
  455. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  456. }
  457. function DSpFindBestContext( inDesiredAttributes: DSpContextAttributesPtr; var outContext: DSpContextReference ): OSStatus; external name '_DSpFindBestContext';
  458. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  459. {
  460. * DSpFindBestContextOnDisplayID() *** DEPRECATED ***
  461. *
  462. * Availability:
  463. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  464. * CarbonLib: not available
  465. * Non-Carbon CFM: in DrawSprocketLib 1.7 and later
  466. }
  467. function DSpFindBestContextOnDisplayID( inDesiredAttributes: DSpContextAttributesPtr; var outContext: DSpContextReference; inDisplayID: DisplayIDType ): OSStatus; external name '_DSpFindBestContextOnDisplayID';
  468. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  469. {
  470. * DSpCanUserSelectContext()
  471. *
  472. * Availability:
  473. * Mac OS X: not available
  474. * CarbonLib: not available
  475. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  476. }
  477. {
  478. * DSpUserSelectContext()
  479. *
  480. * Availability:
  481. * Mac OS X: not available
  482. * CarbonLib: not available
  483. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  484. }
  485. {
  486. * DSpProcessEvent() *** DEPRECATED ***
  487. *
  488. * Availability:
  489. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  490. * CarbonLib: not available
  491. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  492. }
  493. function DSpProcessEvent( var inEvent: EventRecord; var outEventWasProcessed: Boolean ): OSStatus; external name '_DSpProcessEvent';
  494. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  495. {
  496. * DSpSetBlankingColor() *** DEPRECATED ***
  497. *
  498. * Availability:
  499. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  500. * CarbonLib: not available
  501. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  502. }
  503. function DSpSetBlankingColor( const (*var*) inRGBColor: RGBColor ): OSStatus; external name '_DSpSetBlankingColor';
  504. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  505. {
  506. * DSpSetDebugMode() *** DEPRECATED ***
  507. *
  508. * Availability:
  509. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  510. * CarbonLib: not available
  511. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  512. }
  513. function DSpSetDebugMode( inDebugMode: Boolean ): OSStatus; external name '_DSpSetDebugMode';
  514. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  515. {
  516. * DSpFindContextFromPoint() *** DEPRECATED ***
  517. *
  518. * Availability:
  519. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  520. * CarbonLib: not available
  521. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  522. }
  523. function DSpFindContextFromPoint( inGlobalPoint: Point; var outContext: DSpContextReference ): OSStatus; external name '_DSpFindContextFromPoint';
  524. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  525. {
  526. * DSpGetMouse() *** DEPRECATED ***
  527. *
  528. * Availability:
  529. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  530. * CarbonLib: not available
  531. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  532. }
  533. function DSpGetMouse( var outGlobalPoint: Point ): OSStatus; external name '_DSpGetMouse';
  534. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  535. {
  536. ** alternate buffer operations
  537. }
  538. {
  539. * DSpAltBuffer_New()
  540. *
  541. * Availability:
  542. * Mac OS X: not available
  543. * CarbonLib: not available
  544. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  545. }
  546. {
  547. * DSpAltBuffer_Dispose()
  548. *
  549. * Availability:
  550. * Mac OS X: not available
  551. * CarbonLib: not available
  552. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  553. }
  554. {
  555. * DSpAltBuffer_InvalRect()
  556. *
  557. * Availability:
  558. * Mac OS X: not available
  559. * CarbonLib: not available
  560. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  561. }
  562. {
  563. * DSpAltBuffer_GetCGrafPtr()
  564. *
  565. * Availability:
  566. * Mac OS X: not available
  567. * CarbonLib: not available
  568. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  569. }
  570. {
  571. ** context operations
  572. }
  573. { general }
  574. {
  575. * DSpContext_GetAttributes() *** DEPRECATED ***
  576. *
  577. * Availability:
  578. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  579. * CarbonLib: not available
  580. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  581. }
  582. function DSpContext_GetAttributes( inContext: DSpContextReferenceConst; outAttributes: DSpContextAttributesPtr ): OSStatus; external name '_DSpContext_GetAttributes';
  583. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  584. {
  585. * DSpContext_Reserve() *** DEPRECATED ***
  586. *
  587. * Availability:
  588. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  589. * CarbonLib: not available
  590. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  591. }
  592. function DSpContext_Reserve( inContext: DSpContextReference; inDesiredAttributes: DSpContextAttributesPtr ): OSStatus; external name '_DSpContext_Reserve';
  593. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  594. {
  595. * DSpContext_Queue() *** DEPRECATED ***
  596. *
  597. * Availability:
  598. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  599. * CarbonLib: not available
  600. * Non-Carbon CFM: in DrawSprocketLib 1.7 and later
  601. }
  602. function DSpContext_Queue( inParentContext: DSpContextReference; inChildContext: DSpContextReference; inDesiredAttributes: DSpContextAttributesPtr ): OSStatus; external name '_DSpContext_Queue';
  603. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  604. {
  605. * DSpContext_Switch() *** DEPRECATED ***
  606. *
  607. * Availability:
  608. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  609. * CarbonLib: not available
  610. * Non-Carbon CFM: in DrawSprocketLib 1.7 and later
  611. }
  612. function DSpContext_Switch( inOldContext: DSpContextReference; inNewContext: DSpContextReference ): OSStatus; external name '_DSpContext_Switch';
  613. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  614. {
  615. * DSpContext_Release() *** DEPRECATED ***
  616. *
  617. * Availability:
  618. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  619. * CarbonLib: not available
  620. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  621. }
  622. function DSpContext_Release( inContext: DSpContextReference ): OSStatus; external name '_DSpContext_Release';
  623. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  624. {
  625. * DSpContext_Dispose() *** DEPRECATED ***
  626. *
  627. * Availability:
  628. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  629. * CarbonLib: not available
  630. * Non-Carbon CFM: not available
  631. }
  632. function DSpContext_Dispose( inContext: DSpContextReference ): OSStatus; external name '_DSpContext_Dispose';
  633. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  634. {
  635. * DSpContext_GetDisplayID() *** DEPRECATED ***
  636. *
  637. * Availability:
  638. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  639. * CarbonLib: not available
  640. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  641. }
  642. function DSpContext_GetDisplayID( inContext: DSpContextReferenceConst; var outDisplayID: DisplayIDType ): OSStatus; external name '_DSpContext_GetDisplayID';
  643. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  644. {
  645. * DSpContext_GlobalToLocal() *** DEPRECATED ***
  646. *
  647. * Availability:
  648. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  649. * CarbonLib: not available
  650. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  651. }
  652. function DSpContext_GlobalToLocal( inContext: DSpContextReferenceConst; var ioPoint: Point ): OSStatus; external name '_DSpContext_GlobalToLocal';
  653. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  654. {
  655. * DSpContext_LocalToGlobal() *** DEPRECATED ***
  656. *
  657. * Availability:
  658. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  659. * CarbonLib: not available
  660. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  661. }
  662. function DSpContext_LocalToGlobal( inContext: DSpContextReferenceConst; var ioPoint: Point ): OSStatus; external name '_DSpContext_LocalToGlobal';
  663. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  664. {
  665. * DSpContext_SetVBLProc()
  666. *
  667. * Availability:
  668. * Mac OS X: not available
  669. * CarbonLib: not available
  670. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  671. }
  672. {
  673. * DSpContext_GetFlattenedSize()
  674. *
  675. * Availability:
  676. * Mac OS X: not available
  677. * CarbonLib: not available
  678. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  679. }
  680. {
  681. * DSpContext_Flatten()
  682. *
  683. * Availability:
  684. * Mac OS X: not available
  685. * CarbonLib: not available
  686. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  687. }
  688. {
  689. * DSpContext_Restore()
  690. *
  691. * Availability:
  692. * Mac OS X: not available
  693. * CarbonLib: not available
  694. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  695. }
  696. {
  697. * DSpContext_GetMonitorFrequency() *** DEPRECATED ***
  698. *
  699. * Availability:
  700. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  701. * CarbonLib: not available
  702. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  703. }
  704. function DSpContext_GetMonitorFrequency( inContext: DSpContextReferenceConst; var outFrequency: Fixed ): OSStatus; external name '_DSpContext_GetMonitorFrequency';
  705. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  706. {
  707. * DSpContext_SetMaxFrameRate()
  708. *
  709. * Availability:
  710. * Mac OS X: not available
  711. * CarbonLib: not available
  712. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  713. }
  714. {
  715. * DSpContext_GetMaxFrameRate()
  716. *
  717. * Availability:
  718. * Mac OS X: not available
  719. * CarbonLib: not available
  720. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  721. }
  722. {
  723. * DSpContext_SetState() *** DEPRECATED ***
  724. *
  725. * Availability:
  726. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  727. * CarbonLib: not available
  728. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  729. }
  730. function DSpContext_SetState( inContext: DSpContextReference; inState: DSpContextState ): OSStatus; external name '_DSpContext_SetState';
  731. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  732. {
  733. * DSpContext_GetState() *** DEPRECATED ***
  734. *
  735. * Availability:
  736. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  737. * CarbonLib: not available
  738. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  739. }
  740. function DSpContext_GetState( inContext: DSpContextReferenceConst; var outState: DSpContextState ): OSStatus; external name '_DSpContext_GetState';
  741. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  742. {
  743. * DSpContext_IsBusy() *** DEPRECATED ***
  744. *
  745. * Availability:
  746. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  747. * CarbonLib: not available
  748. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  749. }
  750. function DSpContext_IsBusy( inContext: DSpContextReferenceConst; var outBusyFlag: Boolean ): OSStatus; external name '_DSpContext_IsBusy';
  751. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  752. { dirty rectangles }
  753. {
  754. * DSpContext_SetDirtyRectGridSize()
  755. *
  756. * Availability:
  757. * Mac OS X: not available
  758. * CarbonLib: not available
  759. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  760. }
  761. {
  762. * DSpContext_GetDirtyRectGridSize()
  763. *
  764. * Availability:
  765. * Mac OS X: not available
  766. * CarbonLib: not available
  767. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  768. }
  769. {
  770. * DSpContext_GetDirtyRectGridUnits()
  771. *
  772. * Availability:
  773. * Mac OS X: not available
  774. * CarbonLib: not available
  775. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  776. }
  777. {
  778. * DSpContext_InvalBackBufferRect()
  779. *
  780. * Availability:
  781. * Mac OS X: not available
  782. * CarbonLib: not available
  783. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  784. }
  785. { underlays }
  786. {
  787. * DSpContext_SetUnderlayAltBuffer()
  788. *
  789. * Availability:
  790. * Mac OS X: not available
  791. * CarbonLib: not available
  792. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  793. }
  794. {
  795. * DSpContext_GetUnderlayAltBuffer()
  796. *
  797. * Availability:
  798. * Mac OS X: not available
  799. * CarbonLib: not available
  800. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  801. }
  802. { gamma }
  803. {
  804. * DSpContext_FadeGammaOut() *** DEPRECATED ***
  805. *
  806. * Availability:
  807. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  808. * CarbonLib: not available
  809. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  810. }
  811. function DSpContext_FadeGammaOut( inContext: DSpContextReference; var inZeroIntensityColor: RGBColor ): OSStatus; external name '_DSpContext_FadeGammaOut';
  812. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  813. {
  814. * DSpContext_FadeGammaIn() *** DEPRECATED ***
  815. *
  816. * Availability:
  817. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  818. * CarbonLib: not available
  819. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  820. }
  821. function DSpContext_FadeGammaIn( inContext: DSpContextReference; var inZeroIntensityColor: RGBColor ): OSStatus; external name '_DSpContext_FadeGammaIn';
  822. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  823. {
  824. * DSpContext_FadeGamma() *** DEPRECATED ***
  825. *
  826. * Availability:
  827. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  828. * CarbonLib: not available
  829. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  830. }
  831. function DSpContext_FadeGamma( inContext: DSpContextReference; inPercentOfOriginalIntensity: SInt32; var inZeroIntensityColor: RGBColor ): OSStatus; external name '_DSpContext_FadeGamma';
  832. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  833. { buffering }
  834. {
  835. * DSpContext_SwapBuffers() *** DEPRECATED ***
  836. *
  837. * Availability:
  838. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  839. * CarbonLib: not available
  840. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  841. }
  842. function DSpContext_SwapBuffers( inContext: DSpContextReference; inBusyProc: DSpCallbackUPP; inUserRefCon: UnivPtr ): OSStatus; external name '_DSpContext_SwapBuffers';
  843. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  844. {
  845. * DSpContext_GetBackBuffer() *** DEPRECATED ***
  846. *
  847. * Availability:
  848. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  849. * CarbonLib: not available
  850. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  851. }
  852. function DSpContext_GetBackBuffer( inContext: DSpContextReference; inBufferKind: DSpBufferKind; var outBackBuffer: CGrafPtr ): OSStatus; external name '_DSpContext_GetBackBuffer';
  853. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  854. {
  855. * DSpContext_GetFrontBuffer() *** DEPRECATED ***
  856. *
  857. * Availability:
  858. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  859. * CarbonLib: not available
  860. * Non-Carbon CFM: in DrawSprocketLib 1.1 and later
  861. }
  862. function DSpContext_GetFrontBuffer( inContext: DSpContextReferenceConst; var outFrontBuffer: CGrafPtr ): OSStatus; external name '_DSpContext_GetFrontBuffer';
  863. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  864. { clut operations }
  865. {
  866. * DSpContext_SetCLUTEntries() *** DEPRECATED ***
  867. *
  868. * Availability:
  869. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  870. * CarbonLib: not available
  871. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  872. }
  873. function DSpContext_SetCLUTEntries( inContext: DSpContextReference; const (*var*) inEntries: ColorSpec; inStartingEntry: UInt16; inLastEntry: UInt16 ): OSStatus; external name '_DSpContext_SetCLUTEntries';
  874. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  875. {
  876. * DSpContext_GetCLUTEntries() *** DEPRECATED ***
  877. *
  878. * Availability:
  879. * Mac OS X: in version 10.0 and later in DrawSprocket.framework but deprecated in 10.4
  880. * CarbonLib: not available
  881. * Non-Carbon CFM: in DrawSprocketLib 1.0 and later
  882. }
  883. function DSpContext_GetCLUTEntries( inContext: DSpContextReferenceConst; var outEntries: ColorSpec; inStartingEntry: UInt16; inLastEntry: UInt16 ): OSStatus; external name '_DSpContext_GetCLUTEntries';
  884. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
  885. { blit operations }
  886. {
  887. * DSpBlit_Faster()
  888. *
  889. * Availability:
  890. * Mac OS X: not available
  891. * CarbonLib: not available
  892. * Non-Carbon CFM: in DrawSprocketLib 1.1 and later
  893. }
  894. {
  895. * DSpBlit_Fastest()
  896. *
  897. * Availability:
  898. * Mac OS X: not available
  899. * CarbonLib: not available
  900. * Non-Carbon CFM: in DrawSprocketLib 1.1 and later
  901. }
  902. {$endc} {TARGET_OS_MAC}
  903. {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
  904. end.
  905. {$endc} {not MACOSALLINCLUDE}