aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/SimpleCocoaApp/SkNSView.h
blob: eded2b8494bcf4dd4f12282c2562428f245c6b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#import <Cocoa/Cocoa.h>
class SkNSContainerView;
class SkView;

@interface SkNSView : NSView {
    SkNSContainerView* fView;
    
    @private
    NSPoint offset, center;
    CGFloat scale, rotation;
}
    @property(readwrite) NSPoint offset, center; 
    @property(readwrite) CGFloat scale, rotation;

    -(void) addSkView:(SkView*)aView; 
    -(void) resetTransformations;
@end