Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / QuartzCore / CIVector.h
blobf164abada112317b55df099d0c5fd8b40dbe0af3
1 #import <Foundation/NSObject.h>
2 #import <CoreGraphics/CoreGraphics.h>
4 @interface CIVector : NSObject {
5 size_t _count;
6 CGFloat *_values;
9 + (CIVector *)vectorWithValues:(const CGFloat *)values count:(size_t)count;
11 + (CIVector *)vectorWithX:(CGFloat)x;
12 + (CIVector *)vectorWithX:(CGFloat)x Y:(CGFloat)y;
13 + (CIVector *)vectorWithX:(CGFloat)x Y:(CGFloat)y Z:(CGFloat)z;
14 + (CIVector *)vectorWithX:(CGFloat)x Y:(CGFloat)y Z:(CGFloat)z W:(CGFloat)w;
16 - initWithValues:(const CGFloat *)values count:(size_t)count;
17 - initWithX:(CGFloat)x;
18 - initWithX:(CGFloat)x Y:(CGFloat)y;
19 - initWithX:(CGFloat)x Y:(CGFloat)y Z:(CGFloat)z;
20 - initWithX:(CGFloat)x Y:(CGFloat)y Z:(CGFloat)z W:(CGFloat)w;
22 - (size_t)count;
23 - (CGFloat)valueAtIndex:(size_t)index;
25 - (CGFloat)X;
26 - (CGFloat)Y;
27 - (CGFloat)Z;
28 - (CGFloat)W;
30 @end