1 | ' GdiPlusEnums.ab
|
---|
2 |
|
---|
3 | #ifndef __GDUPLUSENUMS_AB__
|
---|
4 | #define __GDUPLUSENUMS_AB__
|
---|
5 |
|
---|
6 | Const FlatnessDefault = 1.0 / 4.0
|
---|
7 |
|
---|
8 | TypeDef GraphicsState = DWord
|
---|
9 | TypeDef GraphicsContainer = DWord
|
---|
10 |
|
---|
11 | Const Enum MetafileFrameUnit
|
---|
12 | MetafileFrameUnitPixel = 2
|
---|
13 | MetafileFrameUnitPoint = 3
|
---|
14 | MetafileFrameUnitInch = 4
|
---|
15 | MetafileFrameUnitDocument = 5
|
---|
16 | MetafileFrameUnitMillimeter = 6
|
---|
17 | MetafileFrameUnitGdi
|
---|
18 | End Enum
|
---|
19 |
|
---|
20 | Const Enum WrapMode
|
---|
21 | WrapModeTile ' 0
|
---|
22 | WrapModeTileFlipX ' 1
|
---|
23 | WrapModeTileFlipY ' 2
|
---|
24 | WrapModeTileFlipXY ' 3
|
---|
25 | WrapModeClamp ' 4
|
---|
26 | End Enum
|
---|
27 |
|
---|
28 | Const Enum DashStyle
|
---|
29 | DashStyleSolid ' 0
|
---|
30 | DashStyleDash ' 1
|
---|
31 | DashStyleDot ' 2
|
---|
32 | DashStyleDashDot ' 3
|
---|
33 | DashStyleDashDotDot ' 4
|
---|
34 | DashStyleCustom ' 5
|
---|
35 | End Enum
|
---|
36 |
|
---|
37 | Const Enum CustomLineCapType
|
---|
38 | CustomLineCapTypeDefault = 0
|
---|
39 | CustomLineCapTypeAdjustableArrow = 1
|
---|
40 | End Enum
|
---|
41 |
|
---|
42 | Const Enum PathPointType
|
---|
43 | PathPointTypeStart = 0
|
---|
44 | PathPointTypeLine = 1
|
---|
45 | PathPointTypeBezier = 3
|
---|
46 | PathPointTypePathTypeMask = &h07
|
---|
47 | PathPointTypeDashMode = &h10
|
---|
48 | PathPointTypePathMarker = &h20
|
---|
49 | PathPointTypeCloseSubpath = &h80
|
---|
50 | PathPointTypeBezier3 = 3
|
---|
51 | End Enum
|
---|
52 |
|
---|
53 | Const Enum ImageType
|
---|
54 | ImageTypeUnknown ' 0
|
---|
55 | ImageTypeBitmap ' 1
|
---|
56 | ImageTypeMetafile ' 2
|
---|
57 | End Enum
|
---|
58 |
|
---|
59 | Const Enum BrushType
|
---|
60 | BrushTypeSolidColor = 0
|
---|
61 | BrushTypeHatchFill = 1
|
---|
62 | BrushTypeTextureFill = 2
|
---|
63 | BrushTypePathGradient = 3
|
---|
64 | BrushTypeLinearGradient = 4
|
---|
65 | End Enum
|
---|
66 |
|
---|
67 | Const Enum GenericFontFamily
|
---|
68 | GenericFontFamilySerif
|
---|
69 | GenericFontFamilySansSerif
|
---|
70 | GenericFontFamilyMonospace
|
---|
71 | End Enum
|
---|
72 |
|
---|
73 | Const Enum FontStyle
|
---|
74 | FontStyleRegular = 0
|
---|
75 | FontStyleBold = 1
|
---|
76 | FontStyleItalic = 2
|
---|
77 | FontStyleBoldItalic = 3
|
---|
78 | FontStyleUnderline = 4
|
---|
79 | FontStyleStrikeout = 8
|
---|
80 | End Enum
|
---|
81 |
|
---|
82 | Const Enum MetafileType
|
---|
83 | MetafileTypeInvalid
|
---|
84 | MetafileTypeWmf
|
---|
85 | MetafileTypeWmfPlaceable
|
---|
86 | MetafileTypeEmf
|
---|
87 | MetafileTypeEmfPlusOnly
|
---|
88 | MetafileTypeEmfPlusDual
|
---|
89 | End Enum
|
---|
90 |
|
---|
91 | Const Enum EmfType
|
---|
92 | EmfTypeEmfOnly = MetafileTypeEmf
|
---|
93 | EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly
|
---|
94 | EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual
|
---|
95 | End Enum
|
---|
96 |
|
---|
97 | Const Enum ObjectType
|
---|
98 | ObjectTypeInvalid
|
---|
99 | ObjectTypeBrush
|
---|
100 | ObjectTypePen
|
---|
101 | ObjectTypePath
|
---|
102 | ObjectTypeRegion
|
---|
103 | ObjectTypeImage
|
---|
104 | ObjectTypeFont
|
---|
105 | ObjectTypeStringFormat
|
---|
106 | ObjectTypeImageAttributes
|
---|
107 | ObjectTypeCustomLineCap
|
---|
108 |
|
---|
109 | ' ObjectTypeMax = ObjectTypeCustomLineCap
|
---|
110 | ' ObjectTypeMin = ObjectTypeBrush
|
---|
111 | End Enum
|
---|
112 |
|
---|
113 | Const ObjectTypeIsValid(type_) = (type_ >= ObjectTypeMin) And (type_ <= ObjectTypeMax)
|
---|
114 |
|
---|
115 | Const Enum StringFormatFlags
|
---|
116 | StringFormatFlagsDirectionRightToLeft = &h00000001
|
---|
117 | StringFormatFlagsDirectionVertical = &h00000002
|
---|
118 | StringFormatFlagsNoFitBlackBox = &h00000004
|
---|
119 | StringFormatFlagsDisplayFormatControl = &h00000020
|
---|
120 | StringFormatFlagsNoFontFallback = &h00000400
|
---|
121 | StringFormatFlagsMeasureTrailingSpaces = &h00000800
|
---|
122 | StringFormatFlagsNoWrap = &h00001000
|
---|
123 | StringFormatFlagsLineLimit = &h00002000
|
---|
124 |
|
---|
125 | StringFormatFlagsNoClip = &h00004000
|
---|
126 | End Enum
|
---|
127 |
|
---|
128 | Const Enum StringTrimming
|
---|
129 | StringTrimmingNone = 0
|
---|
130 | StringTrimmingCharacter = 1
|
---|
131 | StringTrimmingWord = 2
|
---|
132 | StringTrimmingEllipsisCharacter = 3
|
---|
133 | StringTrimmingEllipsisWord = 4
|
---|
134 | StringTrimmingEllipsisPath = 5
|
---|
135 | End Enum
|
---|
136 |
|
---|
137 | Const Enum StringDigitSubstitute
|
---|
138 | StringDigitSubstituteUser = 0 ' As NLS setting
|
---|
139 | StringDigitSubstituteNone = 1
|
---|
140 | StringDigitSubstituteNational = 2
|
---|
141 | StringDigitSubstituteTraditional = 3
|
---|
142 | End Enum
|
---|
143 |
|
---|
144 | Const Enum HotkeyPrefix
|
---|
145 | HotkeyPrefixNone = 0
|
---|
146 | HotkeyPrefixShow = 1
|
---|
147 | HotkeyPrefixHide = 2
|
---|
148 | End Enum
|
---|
149 |
|
---|
150 | Const Enum StringAlignment
|
---|
151 | StringAlignmentNear = 0
|
---|
152 | StringAlignmentCenter = 1
|
---|
153 | StringAlignmentFar = 2
|
---|
154 | End Enum
|
---|
155 |
|
---|
156 | Const Enum DriverStringOptions
|
---|
157 | DriverStringOptionsCmapLookup = 1
|
---|
158 | DriverStringOptionsVertical = 2
|
---|
159 | DriverStringOptionsRealizedAdvance = 4
|
---|
160 | DriverStringOptionsLimitSubpixel = 8
|
---|
161 | End Enum
|
---|
162 |
|
---|
163 | Const Enum EncoderParameterValueType
|
---|
164 | EncoderParameterValueTypeByte = 1
|
---|
165 | EncoderParameterValueTypeASCII = 2
|
---|
166 | EncoderParameterValueTypeShort = 3
|
---|
167 | EncoderParameterValueTypeLong = 4
|
---|
168 | EncoderParameterValueTypeRational = 5
|
---|
169 | EncoderParameterValueTypeLongRange = 6
|
---|
170 | EncoderParameterValueTypeUndefined = 7
|
---|
171 | EncoderParameterValueTypeRationalRange = 8
|
---|
172 | End Enum
|
---|
173 |
|
---|
174 | Const Enum EncoderValue
|
---|
175 | EncoderValueColorTypeCMYK
|
---|
176 | EncoderValueColorTypeYCCK
|
---|
177 | EncoderValueCompressionLZW
|
---|
178 | EncoderValueCompressionCCITT3
|
---|
179 | EncoderValueCompressionCCITT4
|
---|
180 | EncoderValueCompressionRle
|
---|
181 | EncoderValueCompressionNone
|
---|
182 | EncoderValueScanMethodInterlaced
|
---|
183 | EncoderValueScanMethodNonInterlaced
|
---|
184 | EncoderValueVersionGif87
|
---|
185 | EncoderValueVersionGif89
|
---|
186 | EncoderValueRenderProgressive
|
---|
187 | EncoderValueRenderNonProgressive
|
---|
188 | EncoderValueTransformRotate90
|
---|
189 | EncoderValueTransformRotate180
|
---|
190 | EncoderValueTransformRotate270
|
---|
191 | EncoderValueTransformFlipHorizontal
|
---|
192 | EncoderValueTransformFlipVertical
|
---|
193 | EncoderValueMultiFrame
|
---|
194 | EncoderValueLastFrame
|
---|
195 | EncoderValueFlush
|
---|
196 | EncoderValueFrameDimensionTime
|
---|
197 | EncoderValueFrameDimensionResolution
|
---|
198 | EncoderValueFrameDimensionPage
|
---|
199 | End Enum
|
---|
200 |
|
---|
201 |
|
---|
202 | Const Enum EmfToWmfBitsFlags
|
---|
203 | EmfToWmfBitsFlagsDefault = &h00000000
|
---|
204 | EmfToWmfBitsFlagsEmbedEmf = &h00000001
|
---|
205 | EmfToWmfBitsFlagsIncludePlaceable = &h00000002
|
---|
206 | EmfToWmfBitsFlagsNoXORClip = &h00000004
|
---|
207 | End Enum
|
---|
208 |
|
---|
209 | Const Enum GpTestControlEnum
|
---|
210 | TestControlForceBilinear = 0
|
---|
211 | TestControlNoICM = 1
|
---|
212 | TestControlGetBuildNumber = 2
|
---|
213 | End Enum
|
---|
214 |
|
---|
215 | #endif '__GDUPLUSENUMS_AB__
|
---|