Mercurial > projects > dstep
comparison dstep/applicationservices/coregraphics/CGPDFArray.d @ 12:9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 14:00:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
11:07194b026fa4 | 12:9f0b49a2f64e |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Aug 1, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.applicationservices.coregraphics.CGPDFArray; | |
8 | |
9 import dstep.applicationservices.coregraphics.CGPDFDictionary; | |
10 import dstep.applicationservices.coregraphics.CGPDFObject; | |
11 import dstep.applicationservices.coregraphics.CGPDFStream; | |
12 import dstep.applicationservices.coregraphics.CGPDFString; | |
13 | |
14 struct CGPDFArray; | |
15 | |
16 alias CGPDFArray* CGPDFArrayRef; | |
17 | |
18 extern (C) | |
19 { | |
20 uint CGPDFArrayGetCount (CGPDFArrayRef array); | |
21 bool CGPDFArrayGetObject (CGPDFArrayRef array, uint index, CGPDFObjectRef* value); | |
22 bool CGPDFArrayGetNull (CGPDFArrayRef array, uint index); | |
23 bool CGPDFArrayGetBoolean (CGPDFArrayRef array, uint index, char* value); | |
24 bool CGPDFArrayGetInteger (CGPDFArrayRef array, uint index, CGPDFInteger* value); | |
25 bool CGPDFArrayGetNumber (CGPDFArrayRef array, uint index, CGPDFReal* value); | |
26 bool CGPDFArrayGetName (CGPDFArrayRef array, uint index, char** value); | |
27 bool CGPDFArrayGetString (CGPDFArrayRef array, uint index, CGPDFStringRef* value); | |
28 bool CGPDFArrayGetArray (CGPDFArrayRef array, uint index, CGPDFArrayRef* value); | |
29 bool CGPDFArrayGetDictionary (CGPDFArrayRef array, uint index, CGPDFDictionaryRef* value); | |
30 bool CGPDFArrayGetStream (CGPDFArrayRef array, uint index, CGPDFStreamRef* value); | |
31 } |