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