summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/pdfkit/PDFDestination.inc
blob: ddbcde324413afc470ac8109be960a94a97f0afb (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
{ Parsed from PDFKit.framework PDFDestination.h }


{ Types from PDFDestination }
{$ifdef TYPES}


{$endif}


{$ifdef TYPES}
type
  PDFDestinationPtr = ^PDFDestination;
{$endif}

{$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)}
{$ifdef TYPES}
const
  kPDFDestinationUnspecifiedValue = FLT_MAX;
{$endif}

{$endif}
{$ifdef CLASSES}

type
  PDFDestination = objcclass external (NSObject, NSCopyingProtocol)
  private
    _pdfPriv: PDFDestinationPrivateVars;
  public
    function initWithPage_atPoint (page: PDFPage; point: NSPoint): id; message 'initWithPage:atPoint:';
    function page: PDFPage; message 'page';
    function point: NSPoint; message 'point';
    {$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7)}
    function zoom: CGFloat; message 'zoom';
    procedure setZoom (zoom_: CGFloat); message 'setZoom:';
    {$endif}
    {$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)}
    function compare (destination: PDFDestination): NSComparisonResult; message 'compare:';
    {$endif}

    { Adopted protocols }
    function copyWithZone (zone: NSZonePtr): id; message 'copyWithZone:';
  end;
{$endif}