Library
SplineInterpolator.h
1 //
2 // SplineInterpolator.h
3 // Doodle Score
4 //
5 // Created by Florian Student on 2/24/11.
6 // Copyright 2011 __MyCompanyName__. All rights reserved.
7 //
8 
9 #import "SplineConsumer.h"
10 
11 @interface SplineInterpolator : NSObject {
12  id<SplineConsumer> consumer;
13  CGPoint points[4];
14  int count;
15 
16  float previousCpX, previousCpY;
17  BOOL lineHasEnded;
18 }
19 
20 @property (nonatomic, assign) int numEndSegments;
21 
22 - (id)initWithConsumer:(id<SplineConsumer>)consumer_p;
23 - (void)lineBegan:(CGPoint)point;
24 - (void)lineContinued:(CGPoint)point;
25 - (void)lineEnded:(CGPoint)point;
26 
27 @end
Definition: SplineInterpolator.h:11
Definition: SplineConsumer.h:9