/packages/cocoaint/src/quartzcore/CAShapeLayer.inc

https://github.com/slibre/freepascal · Pascal · 80 lines · 35 code · 15 blank · 30 comment · 0 complexity · c4f9a842ba7ae58c23b5debd80228891 MD5 · raw file

  1. { Parsed from Quartzcore.framework CAShapeLayer.h }
  2. {$ifdef TYPES}
  3. {$ifndef CASHAPELAYER_PAS_T}
  4. {$define CASHAPELAYER_PAS_T}
  5. {$endif}
  6. {$endif}
  7. {$ifdef RECORDS}
  8. {$ifndef CASHAPELAYER_PAS_R}
  9. {$define CASHAPELAYER_PAS_R}
  10. {$endif}
  11. {$endif}
  12. {$ifdef FUNCTIONS}
  13. {$ifndef CASHAPELAYER_PAS_F}
  14. {$define CASHAPELAYER_PAS_F}
  15. {$endif}
  16. {$endif}
  17. {$ifdef EXTERNAL_SYMBOLS}
  18. {$ifndef CASHAPELAYER_PAS_S}
  19. {$define CASHAPELAYER_PAS_S}
  20. { External string constants }
  21. var
  22. kCAFillRuleNonZero: NSString; cvar; external;
  23. kCAFillRuleEvenOdd: NSString; cvar; external;
  24. kCALineJoinMiter: NSString; cvar; external;
  25. kCALineJoinRound: NSString; cvar; external;
  26. kCALineJoinBevel: NSString; cvar; external;
  27. kCALineCapButt: NSString; cvar; external;
  28. kCALineCapRound: NSString; cvar; external;
  29. kCALineCapSquare: NSString; cvar; external;
  30. {$endif}
  31. {$endif}
  32. {$ifdef FORWARD}
  33. CAShapeLayer = objcclass;
  34. CAShapeLayerPointer = ^CAShapeLayer;
  35. CAShapeLayerPtr = CAShapeLayerPointer;
  36. {$endif}
  37. {$ifdef CLASSES}
  38. {$ifndef CASHAPELAYER_PAS_C}
  39. {$define CASHAPELAYER_PAS_C}
  40. { CAShapeLayer }
  41. CAShapeLayer = objcclass external (CALayer)
  42. public
  43. procedure setPath (newValue: CGPathRef); message 'setPath:';
  44. function path: CGPathRef; message 'path';
  45. procedure setFillColor (newValue: CGColorRef); message 'setFillColor:';
  46. function fillColor: CGColorRef; message 'fillColor';
  47. procedure setFillRule (newValue: NSString); message 'setFillRule:';
  48. function fillRule: NSString; message 'fillRule';
  49. procedure setStrokeColor (newValue: CGColorRef); message 'setStrokeColor:';
  50. function strokeColor: CGColorRef; message 'strokeColor';
  51. procedure setLineWidth (newValue: CGFloat); message 'setLineWidth:';
  52. function lineWidth: CGFloat; message 'lineWidth';
  53. procedure setMiterLimit (newValue: CGFloat); message 'setMiterLimit:';
  54. function miterLimit: CGFloat; message 'miterLimit';
  55. procedure setLineCap (newValue: NSString); message 'setLineCap:';
  56. function lineCap: NSString; message 'lineCap';
  57. procedure setLineJoin (newValue: NSString); message 'setLineJoin:';
  58. function lineJoin: NSString; message 'lineJoin';
  59. procedure setLineDashPhase (newValue: CGFloat); message 'setLineDashPhase:';
  60. function lineDashPhase: CGFloat; message 'lineDashPhase';
  61. procedure setLineDashPattern (newValue: NSArray); message 'setLineDashPattern:';
  62. function lineDashPattern: NSArray; message 'lineDashPattern';
  63. end;
  64. {$endif}
  65. {$endif}