/packages/cocoaint/src/quartzcore/CIVector.inc

https://github.com/slibre/freepascal · Pascal · 79 lines · 34 code · 15 blank · 30 comment · 0 complexity · 34879ee9fd275757a4c8eec612333401 MD5 · raw file

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