summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/appkit/NSCIImageRep.inc
blob: 10f75fdc2b0b7c59ff6ea01ed1c1b4b71bb9bdf4 (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
{ Parsed from AppKit.framework NSCIImageRep.h }


{$ifdef TYPES}
type
  NSCIImageRepPtr = ^NSCIImageRep;
{$endif}

{$ifdef CLASSES}

type
  NSCIImageRep = objcclass external (NSImageRep)
  private
    _ciImage: CIImage;
  public
    class function imageRepWithCIImage (image: CIImage): instancetype; message 'imageRepWithCIImage:';
    function initWithCIImage (image: CIImage): instancetype; message 'initWithCIImage:';
    function CIImage_: CIImage; message 'CIImage';
  end;


type
  NSAppKitAdditions = objccategory external (CIImage)
    function initWithBitmapImageRep (bitmapImageRep: NSBitmapImageRep): instancetype; message 'initWithBitmapImageRep:';
    procedure drawInRect_fromRect_operation_fraction (rect: NSRect; fromRect: NSRect; op: NSCompositingOperation; delta: CGFloat); message 'drawInRect:fromRect:operation:fraction:';
    procedure drawAtPoint_fromRect_operation_fraction (point: NSPoint; fromRect: NSRect; op: NSCompositingOperation; delta: CGFloat); message 'drawAtPoint:fromRect:operation:fraction:';
  end;
{$endif}