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


{$ifdef TYPES}
type
  NSCustomImageRepPtr = ^NSCustomImageRep;
{$endif}

{$ifdef CLASSES}

type
  NSCustomImageRep = objcclass external (NSImageRep)
  private
    _drawMethod: SEL;
    _drawObject: id;
    _reserved: cuint;
  public
    function initWithSize_flipped_drawingHandler (size_: NSSize; drawingHandlerShouldBeCalledWithFlippedContext: ObjCBOOL; drawingHandler: OpaqueCBlock): instancetype; message 'initWithSize:flipped:drawingHandler:'; { available in 10_8 }
    procedure setDrawingHandler(newValue: OpaqueCBlock); message 'setDrawingHandler:';
    function drawingHandler: OpaqueCBlock; message 'drawingHandler';
    function initWithDrawSelector_delegate (aMethod: SEL; anObject: id): instancetype; message 'initWithDrawSelector:delegate:';
    function drawSelector: SEL; message 'drawSelector';
    function delegate: id; message 'delegate';
  end;
{$endif}