skia2/experimental/SimpleCocoaApp/SkNSView.h
2011-06-24 15:00:28 +00:00

20 lines
391 B
Objective-C

#import <Cocoa/Cocoa.h>
class SkNSContainerView;
class SkView;
@interface SkNSView : NSView {
SkNSContainerView* fView;
@private
NSPoint fOffset, fCenter;
CGFloat fScale, fRotation;
}
@property(readwrite) NSPoint fOffset, fCenter;
@property(readwrite) CGFloat fScale, fRotation;
-(void) addSkView:(SkView*)aView;
-(void) resetTransformations;
@end