CAMediaTimingFunction.inc 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. { Parsed from Quartzcore.framework CAMediaTimingFunction.h }
  2. {$ifdef TYPES}
  3. {$ifndef CAMEDIATIMINGFUNCTION_PAS_T}
  4. {$define CAMEDIATIMINGFUNCTION_PAS_T}
  5. {$endif}
  6. {$endif}
  7. {$ifdef RECORDS}
  8. {$ifndef CAMEDIATIMINGFUNCTION_PAS_R}
  9. {$define CAMEDIATIMINGFUNCTION_PAS_R}
  10. {$endif}
  11. {$endif}
  12. {$ifdef FUNCTIONS}
  13. {$ifndef CAMEDIATIMINGFUNCTION_PAS_F}
  14. {$define CAMEDIATIMINGFUNCTION_PAS_F}
  15. {$endif}
  16. {$endif}
  17. {$ifdef EXTERNAL_SYMBOLS}
  18. {$ifndef CAMEDIATIMINGFUNCTION_PAS_S}
  19. {$define CAMEDIATIMINGFUNCTION_PAS_S}
  20. { External string constants }
  21. var
  22. kCAMediaTimingFunctionLinear: NSString; cvar; external;
  23. kCAMediaTimingFunctionEaseIn: NSString; cvar; external;
  24. kCAMediaTimingFunctionEaseOut: NSString; cvar; external;
  25. kCAMediaTimingFunctionEaseInEaseOut: NSString; cvar; external;
  26. kCAMediaTimingFunctionDefault: NSString; cvar; external;
  27. {$endif}
  28. {$endif}
  29. {$ifdef FORWARD}
  30. CAMediaTimingFunction = objcclass;
  31. CAMediaTimingFunctionPointer = ^CAMediaTimingFunction;
  32. CAMediaTimingFunctionPtr = CAMediaTimingFunctionPointer;
  33. {$endif}
  34. {$ifdef CLASSES}
  35. {$ifndef CAMEDIATIMINGFUNCTION_PAS_C}
  36. {$define CAMEDIATIMINGFUNCTION_PAS_C}
  37. { CAMediaTimingFunction }
  38. CAMediaTimingFunction = objcclass external (NSObject, NSCodingProtocol)
  39. private
  40. __priv: Pointer;
  41. public
  42. class function functionWithName(name: NSString): id; message 'functionWithName:';
  43. class function functionWithControlPoints(c: single; c1: single; c2: single; c3: single): id; message 'functionWithControlPoints:c1x:c1y:c2x:';
  44. function initWithControlPoints(c: single; c1: single; c2: single; c3: single): id; message 'initWithControlPoints:c1x:c1y:c2x:';
  45. procedure getControlPointAtIndex_values(idx: size_t; ptr: single); message 'getControlPointAtIndex:values:';
  46. { Adopted Protocols }
  47. procedure encodeWithCoder(aCoder: NSCoder);
  48. function initWithCoder(aDecoder: NSCoder): id;
  49. end;
  50. {$endif}
  51. {$endif}