• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2009 Apple Inc. All rights reserved.
3  */
4 
5 #ifndef QuartzCoreInterface_h
6 #define QuartzCoreInterface_h
7 
8 #ifdef QUARTZCOREINTERFACE_EXPORTS
9 #define QUARTZCOREINTERFACE_API __declspec(dllexport)
10 #else
11 #define QUARTZCOREINTERFACE_API __declspec(dllimport)
12 #endif
13 
14 // Interface to give access to QuartzCore data symbols.
15 enum WKQCStringRefType { wkqckCACFLayer, wkqckCACFTransformLayer, wkqckCACFFilterLinear, wkqckCACFFilterNearest,
16                          wkqckCACFFilterTrilinear, wkqckCACFFilterLanczos, wkqckCACFGravityCenter, wkqckCACFGravityTop,
17                          wkqckCACFGravityBottom, wkqckCACFGravityLeft, wkqckCACFGravityRight, wkqckCACFGravityTopLeft,
18                          wkqckCACFGravityTopRight, wkqckCACFGravityBottomLeft, wkqckCACFGravityBottomRight,
19                          wkqckCACFGravityResize, wkqckCACFGravityResizeAspect, wkqckCACFGravityResizeAspectFill };
20 
21 enum WKQCCARenderOGLCallbacksType { wkqckCARenderDX9Callbacks };
22 
23 typedef const struct __CFString * CFStringRef;
24 typedef struct _CARenderOGLCallbacks CARenderOGLCallbacks;
25 typedef struct CATransform3D CATransform3D;
26 
27 extern "C" {
28 QUARTZCOREINTERFACE_API CFStringRef wkqcCFStringRef(WKQCStringRefType);
29 QUARTZCOREINTERFACE_API const CARenderOGLCallbacks* wkqcCARenderOGLCallbacks(WKQCCARenderOGLCallbacksType);
30 QUARTZCOREINTERFACE_API const CATransform3D& wkqcCATransform3DIdentity();
31 }
32 
33 #endif // QuartzCoreInterface_h
34