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


{$ifdef TYPES}
type
  NSPICTImageRepPtr = ^NSPICTImageRep;
{$endif}

{$ifdef CLASSES}

type
  NSPICTImageRep = objcclass external (NSImageRep)
  private
    _pictOrigin: NSPoint;
    _pictData: NSData;
    {$if  not defined(__LP64__)}
    _reserved1: cuint;
    _reserved2: cuint;
    {$else}
    _imageRep: id;
    _pictOffset: NSUInteger;
    _reserved1_: cuint;
    _reserved2_: cuint;
    {$endif}
  public
    class function imageRepWithData (pictData: NSData): instancetype; message 'imageRepWithData:';
    function initWithData (pictData: NSData): instancetype; message 'initWithData:';
    function PICTRepresentation: NSData; message 'PICTRepresentation';
    function boundingBox: NSRect; message 'boundingBox';
  end;
{$endif}