Mercurial > projects > dstep
annotate dstep/applicationservices/coregraphics/CGPDFArray.d @ 27:57371c29ef73 default tip
ObjcWrap is now automatically mixed in. Added support for building as a dylib with DMD.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 09 Apr 2010 23:00:22 +0200 |
parents | 9f0b49a2f64e |
children |
rev | line source |
---|---|
12
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
1 /** |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
3 * Authors: Jacob Carlborg |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
4 * Version: Initial created: Aug 1, 2009 |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
6 */ |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
7 module dstep.applicationservices.coregraphics.CGPDFArray; |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
8 |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
9 import dstep.applicationservices.coregraphics.CGPDFDictionary; |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
10 import dstep.applicationservices.coregraphics.CGPDFObject; |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
11 import dstep.applicationservices.coregraphics.CGPDFStream; |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
12 import dstep.applicationservices.coregraphics.CGPDFString; |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
13 |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
14 struct CGPDFArray; |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
15 |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
16 alias CGPDFArray* CGPDFArrayRef; |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
17 |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
18 extern (C) |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
19 { |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
20 uint CGPDFArrayGetCount (CGPDFArrayRef array); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
21 bool CGPDFArrayGetObject (CGPDFArrayRef array, uint index, CGPDFObjectRef* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
22 bool CGPDFArrayGetNull (CGPDFArrayRef array, uint index); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
23 bool CGPDFArrayGetBoolean (CGPDFArrayRef array, uint index, char* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
24 bool CGPDFArrayGetInteger (CGPDFArrayRef array, uint index, CGPDFInteger* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
25 bool CGPDFArrayGetNumber (CGPDFArrayRef array, uint index, CGPDFReal* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
26 bool CGPDFArrayGetName (CGPDFArrayRef array, uint index, char** value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
27 bool CGPDFArrayGetString (CGPDFArrayRef array, uint index, CGPDFStringRef* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
28 bool CGPDFArrayGetArray (CGPDFArrayRef array, uint index, CGPDFArrayRef* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
29 bool CGPDFArrayGetDictionary (CGPDFArrayRef array, uint index, CGPDFDictionaryRef* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
30 bool CGPDFArrayGetStream (CGPDFArrayRef array, uint index, CGPDFStreamRef* value); |
9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
31 } |