/packages/cocoaint/src/quartzcore/CIVector.inc
Pascal | 79 lines | 34 code | 15 blank | 30 comment | 0 complexity | 34879ee9fd275757a4c8eec612333401 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
1{ Parsed from Quartzcore.framework CIVector.h } 2 3{$ifdef TYPES} 4{$ifndef CIVECTOR_PAS_T} 5{$define CIVECTOR_PAS_T} 6 7{$endif} 8{$endif} 9 10{$ifdef RECORDS} 11{$ifndef CIVECTOR_PAS_R} 12{$define CIVECTOR_PAS_R} 13 14{$endif} 15{$endif} 16 17{$ifdef FUNCTIONS} 18{$ifndef CIVECTOR_PAS_F} 19{$define CIVECTOR_PAS_F} 20 21{$endif} 22{$endif} 23 24{$ifdef EXTERNAL_SYMBOLS} 25{$ifndef CIVECTOR_PAS_S} 26{$define CIVECTOR_PAS_S} 27 28{$endif} 29{$endif} 30 31{$ifdef FORWARD} 32 CIVector = objcclass; 33 CIVectorPointer = ^CIVector; 34 CIVectorPtr = CIVectorPointer; 35 36{$endif} 37 38{$ifdef CLASSES} 39{$ifndef CIVECTOR_PAS_C} 40{$define CIVECTOR_PAS_C} 41 42{ CIVector } 43 CIVector = objcclass external (NSObject, NSCopyingProtocol, NSCodingProtocol) 44 private 45 _count: size_t; 46 vec: array[0..(4)-1] of CGFloat; 47 ptr: CGFloatPtr; 48 __u: record 49 end; 50 51 public 52 class function vectorWithValues_count(values: CGFloatPtr; count_: size_t): CIVector; message 'vectorWithValues:count:'; 53 class function vectorWithX(x_: CGFloat): CIVector; message 'vectorWithX:'; 54 class function vectorWithX_Y(x_: CGFloat; y_: CGFloat): CIVector; message 'vectorWithX:Y:'; 55 class function vectorWithX_Y_Z(x_: CGFloat; y_: CGFloat; z_: CGFloat): CIVector; message 'vectorWithX:Y:Z:'; 56 class function vectorWithX_Y_Z_W(x_: CGFloat; y_: CGFloat; z_: CGFloat; w_: CGFloat): CIVector; message 'vectorWithX:Y:Z:W:'; 57 class function vectorWithString(representation: NSString): CIVector; message 'vectorWithString:'; 58 function initWithValues_count(values: CGFloatPtr; count_: size_t): id; message 'initWithValues:count:'; 59 function initWithX(x_: CGFloat): id; message 'initWithX:'; 60 function initWithX_Y(x_: CGFloat; y_: CGFloat): id; message 'initWithX:Y:'; 61 function initWithX_Y_Z(x_: CGFloat; y_: CGFloat; z_: CGFloat): id; message 'initWithX:Y:Z:'; 62 function initWithX_Y_Z_W(x_: CGFloat; y_: CGFloat; z_: CGFloat; w_: CGFloat): id; message 'initWithX:Y:Z:W:'; 63 function initWithString(representation: NSString): id; message 'initWithString:'; 64 function valueAtIndex(index: size_t): CGFloat; message 'valueAtIndex:'; 65 function count: size_t; message 'count'; 66 function X: CGFloat; message 'X'; 67 function Y: CGFloat; message 'Y'; 68 function Z: CGFloat; message 'Z'; 69 function W: CGFloat; message 'W'; 70 function stringRepresentation: NSString; message 'stringRepresentation'; 71 72 { Adopted Protocols } 73 function copyWithZone(zone_: NSZonePtr): id; 74 procedure encodeWithCoder(aCoder: NSCoder); 75 function initWithCoder(aDecoder: NSCoder): id; 76 end; 77 78{$endif} 79{$endif}