mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-24 12:39:43 +00:00
20 lines
400 B
Objective-C
20 lines
400 B
Objective-C
#import <Foundation/NSObject.h>
|
|
#import <ApplicationServices/ApplicationServices.h>
|
|
|
|
@class CALayer,O2Surface;
|
|
|
|
@interface CARenderer : NSObject {
|
|
void *_cglContext;
|
|
CGRect _bounds;
|
|
CALayer *_rootLayer;
|
|
}
|
|
|
|
@property(assign) CGRect bounds;
|
|
@property(retain) CALayer *layer;
|
|
|
|
+(CARenderer *)rendererWithCGLContext:(void *)cglContext options:(NSDictionary *)options;
|
|
|
|
-(void)render;
|
|
|
|
@end
|