X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/dd9a7dd8dd7d77b949d2548fb763c9b968c69cea..d7b837d03d47a5ffa60975081a2a7598edc839e3:/ITCoreGraphicsHacks.h?ds=inline diff --git a/ITCoreGraphicsHacks.h b/ITCoreGraphicsHacks.h index 72069dc..31bc676 100755 --- a/ITCoreGraphicsHacks.h +++ b/ITCoreGraphicsHacks.h @@ -11,9 +11,10 @@ * */ + /*************************************************************************/ #pragma mark - -#pragma mark CoreGraphics HACKS +#pragma mark CoreGraphics HACK HACK HACK /*************************************************************************/ typedef void * CGSGenericObj; @@ -45,8 +46,17 @@ extern CGSValueObj CGSCreateCString(const char *string); extern CGSValueObj CGSCreateBoolean(CGSBoolean boolean); extern CGError CGSSetWindowProperty(const CGSConnectionID cid, CGSWindowID wid, const CGSValueObj key, const CGSValueObj value); -extern CGAffineTransform CGAffineTransformMakeRotation(float angle); -extern CGAffineTransform CGAffineTransformMakeScale(float sx, float sy); -extern CGAffineTransform CGAffineTransformTranslate(CGAffineTransform t, float tx, float ty); extern CGError CGSSetWindowWarp(const CGSConnectionID cid, CGSWindowID wid, int w,int h, float *mesh); extern CGError CGSSetWindowTransform(const CGSConnectionID cid, CGSWindowID wid, CGAffineTransform transform); + + +/*************************************************************************/ +#pragma mark - +#pragma mark NSApplication HACK HACK HACK +/*************************************************************************/ + +@interface NSApplication (HACKHACKHACKHACK) +- (CGSConnectionID)contextID; +@end + +