aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/SimpleCocoaApp/SkNSView.h
diff options
context:
space:
mode:
authorGravatar yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-16 14:46:26 +0000
committerGravatar yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-16 14:46:26 +0000
commit6c4cd265e368531f6c73f4bbb0cf073d3899e10c (patch)
tree5fdccc1b83af1363827ccb7a7e18952283a86ab9 /experimental/SimpleCocoaApp/SkNSView.h
parente67bd3fbc9bcd0929033635d546544527784b4c0 (diff)
Added SimpleCocoaApp to the experimental directory
Diffstat (limited to 'experimental/SimpleCocoaApp/SkNSView.h')
-rw-r--r--experimental/SimpleCocoaApp/SkNSView.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/experimental/SimpleCocoaApp/SkNSView.h b/experimental/SimpleCocoaApp/SkNSView.h
new file mode 100644
index 0000000000..eded2b8494
--- /dev/null
+++ b/experimental/SimpleCocoaApp/SkNSView.h
@@ -0,0 +1,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
+
+