4 * Header to import to work with private CoreGraphics API
6 * Original Author : Matt Judy <mjudy@ithinksw.com>
7 * Responsibility : Matt Judy <mjudy@ithinksw.com>
9 * Copyright (c) 2002 - 2003 iThink Software.
14 /*************************************************************************/
16 #pragma mark CoreGraphics HACKS
17 /*************************************************************************/
19 typedef void * CGSGenericObj;
20 typedef CGSGenericObj CGSValueObj;
21 typedef void * CGSConnectionID;
22 typedef void * CGSWindowID;
23 typedef struct CGStyle *CGStyleRef;
24 typedef struct CGShadowStyle {
33 typedef unsigned char CGSBoolean;
39 extern void CGStyleRelease(CGStyleRef style);
40 extern void CGSReleaseObj(void *obj);
41 extern void CGContextSetStyle(CGContextRef c, CGStyleRef style);
42 extern void CGStyleRelease(CGStyleRef style);
43 extern CGStyleRef CGStyleCreateShadow(const CGShadowStyle *shadow);
44 extern CGSValueObj CGSCreateCString(const char *string);
45 extern CGSValueObj CGSCreateBoolean(CGSBoolean boolean);
46 extern CGError CGSSetWindowProperty(const CGSConnectionID cid, CGSWindowID wid, const CGSValueObj key, const CGSValueObj value);
48 extern CGError CGSSetWindowWarp(const CGSConnectionID cid, CGSWindowID wid, int w,int h, float *mesh);
49 extern CGError CGSSetWindowTransform(const CGSConnectionID cid, CGSWindowID wid, CGAffineTransform transform);