Mercurial > projects > dstep
comparison dstep/applicationservices/ats/ScalerStreamTypes.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.ats.ScalerStreamTypes; | |
8 | |
9 //import dstep.AvailabilityMacros; | |
10 import dstep.applicationservices.ats.SFNTTypes; | |
11 import dstep.coreservices.CoreServices; | |
12 import dstep.internal.Types; | |
13 | |
14 alias uint scalerStreamTypeFlag; | |
15 alias int scalerStreamAction; | |
16 | |
17 enum | |
18 { | |
19 cexec68K = 0x00000001, | |
20 truetypeStreamType = 0x00000001, | |
21 type1StreamType = 0x00000002, | |
22 type3StreamType = 0x00000004, | |
23 type42StreamType = 0x00000008, | |
24 type42GXStreamType = 0x00000010, | |
25 portableStreamType = 0x00000020, | |
26 flattenedStreamType = 0x00000040, | |
27 cidType2StreamType = 0x00000080, | |
28 cidType0StreamType = 0x00000100, | |
29 type1CFFStreamType = 0x00000200, | |
30 evenOddModifierStreamType = 0x00008000, | |
31 eexecBinaryModifierStreamType = 0x00010000, | |
32 unicodeMappingModifierStreamType = 0x00020000, | |
33 scalerSpecifcModifierMask = 0x0000F000, | |
34 streamTypeModifierMask = cast(c_long)0xFFFFF000 | |
35 } | |
36 | |
37 enum | |
38 { | |
39 downloadStreamAction = 0, | |
40 asciiDownloadStreamAction = 1, | |
41 fontSizeQueryStreamAction = 2, | |
42 encodingOnlyStreamAction = 3, | |
43 prerequisiteQueryStreamAction = 4, | |
44 prerequisiteItemStreamAction = 5, | |
45 variationQueryStreamAction = 6, | |
46 variationPSOperatorStreamAction = 7 | |
47 } | |
48 | |
49 enum | |
50 { | |
51 selectAllVariations = -1 | |
52 } | |
53 | |
54 struct scalerPrerequisiteItem | |
55 { | |
56 int enumeration; | |
57 int size; | |
58 char* name; | |
59 } | |
60 | |
61 | |
62 struct scalerStream | |
63 { | |
64 int prerequisiteQuery; | |
65 int prerequisiteItem; | |
66 SInt32 variationQueryResult; | |
67 } | |
68 | |
69 | |
70 struct scalerStreamData | |
71 { | |
72 int hexFlag; | |
73 SInt32 byteCount; | |
74 void* data; | |
75 } | |
76 |