summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/quartzcore/CISampler.inc
blob: 1c13b6aead40cd873b3d679f83160be96e624ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{ Parsed from Quartzcore.framework CISampler.h }

{$ifdef TYPES}
{$ifndef CISAMPLER_PAS_T}
{$define CISAMPLER_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef CISAMPLER_PAS_R}
{$define CISAMPLER_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef CISAMPLER_PAS_F}
{$define CISAMPLER_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef CISAMPLER_PAS_S}
{$define CISAMPLER_PAS_S}

{ External string constants }
var
  kCISamplerAffineMatrix: NSString; cvar; external;
  kCISamplerWrapMode: NSString; cvar; external;
  kCISamplerFilterMode: NSString; cvar; external;
  kCISamplerWrapBlack: NSString; cvar; external;
  kCISamplerFilterNearest: NSString; cvar; external;

{$endif}
{$endif}

{$ifdef FORWARD}
  CISampler = objcclass;
  CISamplerPointer = ^CISampler;
  CISamplerPtr = CISamplerPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef CISAMPLER_PAS_C}
{$define CISAMPLER_PAS_C}

{ CISampler }
  CISampler = objcclass external (NSObject, NSCopyingProtocol)
  private
    _priv: Pointer;
    
  public
    class function samplerWithImage(im: CIImage): CISampler; message 'samplerWithImage:';
    class function samplerWithImage_keysAndValues(im: CIImage; firstKey: id): CISampler; varargs; message 'samplerWithImage:keysAndValues:';
    class function samplerWithImage_options(im: CIImage; dict: NSDictionary): CISampler; message 'samplerWithImage:options:';
    function initWithImage(im: CIImage): id; message 'initWithImage:';
    function initWithImage_keysAndValues(im: CIImage; firstKey: id): id; varargs; message 'initWithImage:keysAndValues:';
    function initWithImage_options(im: CIImage; dict: NSDictionary): id; message 'initWithImage:options:';
    function definition: CIFilterShape; message 'definition';
    function extent: CGRect; message 'extent';

    { Adopted Protocols }
    function copyWithZone(zone_: NSZonePtr): id;
  end;

{$endif}
{$endif}