aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/SimpleCocoaApp/SkNSView.h
blob: a9a994a45619bde923a3335a9358865f38684ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

/*
 * Copyright 2011 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#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