Mercurial > projects > dstep
comparison dstep/applicationservices/coregraphics/CGPDFStream.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.CGPDFStream; | |
8 | |
9 import dstep.corefoundation.CFData; | |
10 import dstep.applicationservices.coregraphics.CGPDFDictionary; | |
11 import dstep.applicationservices.coregraphics.CGPDFStream; | |
12 | |
13 struct CGPDFStream; | |
14 | |
15 alias CGPDFStream* CGPDFStreamRef; | |
16 alias int CGPDFDataFormat; | |
17 | |
18 enum /*CGPDFDataFormat*/ | |
19 { | |
20 CGPDFDataFormatRaw, | |
21 CGPDFDataFormatJPEGEncoded, | |
22 CGPDFDataFormatJPEG2000 | |
23 } | |
24 | |
25 extern (C) | |
26 { | |
27 CGPDFDictionaryRef CGPDFStreamGetDictionary (CGPDFStreamRef stream); | |
28 CFDataRef CGPDFStreamCopyData (CGPDFStreamRef stream, CGPDFDataFormat* format); | |
29 } |