Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / QuartzCore / CAMediaTimingFunction.h
bloba2a4c0f3f1141ae2e7e5adb3d86c91d866bb9c01
1 #import <Foundation/NSObject.h>
2 #import <QuartzCore/CABase.h>
4 CA_EXPORT NSString *const kCAMediaTimingFunctionLinear;
5 CA_EXPORT NSString *const kCAMediaTimingFunctionEaseIn;
6 CA_EXPORT NSString *const kCAMediaTimingFunctionEaseOut;
7 CA_EXPORT NSString *const kCAMediaTimingFunctionEaseInEaseOut;
8 CA_EXPORT NSString *const kCAMediaTimingFunctionDefault;
10 @interface CAMediaTimingFunction : NSObject {
11 float _c1x;
12 float _c1y;
13 float _c2x;
14 float _c2y;
17 - (id)initWithControlPoints:(float)c1x:(float)c1y:(float)c2x:(float)c2y;
19 + functionWithControlPoints:(float)c1x:(float)c1y:(float)c2x:(float)c2y;
21 + functionWithName:(NSString *)name;
23 - (void)getControlPointAtIndex:(size_t)index values:(float[2])ptr;
25 @end