-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPHPoints.h
More file actions
37 lines (30 loc) · 746 Bytes
/
Copy pathPHPoints.h
File metadata and controls
37 lines (30 loc) · 746 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
//
// PHPoints.h
// Graph
//
// Created by Pierre-Henri Jondot on 01/04/08.
// Ported to iPhone by brian@fluidmedia.com 08-2008
//
#import <uikit/uikit.h>
#import "PHGraphObject.h"
//Symbols predefined
#define PHCrossx 1
#define PHCrossplus 2
#define PHCircle 4
#define PHDiamond 8
@interface PHPoints : PHGraphObject {
double *xData, *yData;
int numberOfPoints;
float size;
float width;
int style;
UIColor *cocoaColor;
}
-(id)initWithXData:(double*)xd yData:(double*)yd numberOfPoints:(int)np
xAxis:(PHxAxis*)xaxis yAxis:(PHyAxis*)yaxis;
-(void)setSize:(float)newSize;
-(void)setWidth:(float)newWidth;
-(void)setStyle:(int)newStyle;
-(void)setNumberOfPoints:(int)newNumberOfPoints;
-(void)setColor:(UIColor*)newColor;
@end