source: branch/egtra-gdiplus/GdiPlusEnums.ab@ 353

Last change on this file since 353 was 241, checked in by イグトランス (egtra), 18 years ago

GDI+に対して名前空間で囲ったものの、現在コンパイルできないため分岐させておく

File size: 5.6 KB
Line 
1' GdiPlusEnums.ab
2
3#ifndef __GDUPLUSENUMS_AB__
4#define __GDUPLUSENUMS_AB__
5
6Const FlatnessDefault = 1.0 / 4.0
7
8TypeDef GraphicsState = DWord
9TypeDef GraphicsContainer = DWord
10
11Const Enum MetafileFrameUnit
12 MetafileFrameUnitPixel = 2
13 MetafileFrameUnitPoint = 3
14 MetafileFrameUnitInch = 4
15 MetafileFrameUnitDocument = 5
16 MetafileFrameUnitMillimeter = 6
17 MetafileFrameUnitGdi
18End Enum
19
20Const Enum WrapMode
21 WrapModeTile ' 0
22 WrapModeTileFlipX ' 1
23 WrapModeTileFlipY ' 2
24 WrapModeTileFlipXY ' 3
25 WrapModeClamp ' 4
26End Enum
27
28Const Enum DashStyle
29 DashStyleSolid ' 0
30 DashStyleDash ' 1
31 DashStyleDot ' 2
32 DashStyleDashDot ' 3
33 DashStyleDashDotDot ' 4
34 DashStyleCustom ' 5
35End Enum
36
37Const Enum CustomLineCapType
38 CustomLineCapTypeDefault = 0
39 CustomLineCapTypeAdjustableArrow = 1
40End Enum
41
42Const 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
51End Enum
52
53Const Enum ImageType
54 ImageTypeUnknown ' 0
55 ImageTypeBitmap ' 1
56 ImageTypeMetafile ' 2
57End Enum
58
59Const Enum BrushType
60 BrushTypeSolidColor = 0
61 BrushTypeHatchFill = 1
62 BrushTypeTextureFill = 2
63 BrushTypePathGradient = 3
64 BrushTypeLinearGradient = 4
65End Enum
66
67Const Enum GenericFontFamily
68 GenericFontFamilySerif
69 GenericFontFamilySansSerif
70 GenericFontFamilyMonospace
71End Enum
72
73Const Enum FontStyle
74 FontStyleRegular = 0
75 FontStyleBold = 1
76 FontStyleItalic = 2
77 FontStyleBoldItalic = 3
78 FontStyleUnderline = 4
79 FontStyleStrikeout = 8
80End Enum
81
82Const Enum MetafileType
83 MetafileTypeInvalid
84 MetafileTypeWmf
85 MetafileTypeWmfPlaceable
86 MetafileTypeEmf
87 MetafileTypeEmfPlusOnly
88 MetafileTypeEmfPlusDual
89End Enum
90
91Const Enum EmfType
92 EmfTypeEmfOnly = MetafileTypeEmf
93 EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly
94 EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual
95End Enum
96
97Const 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
111End Enum
112
113Const ObjectTypeIsValid(type_) = (type_ >= ObjectTypeMin) And (type_ <= ObjectTypeMax)
114
115Const 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
126End Enum
127
128Const Enum StringTrimming
129 StringTrimmingNone = 0
130 StringTrimmingCharacter = 1
131 StringTrimmingWord = 2
132 StringTrimmingEllipsisCharacter = 3
133 StringTrimmingEllipsisWord = 4
134 StringTrimmingEllipsisPath = 5
135End Enum
136
137Const Enum StringDigitSubstitute
138 StringDigitSubstituteUser = 0 ' As NLS setting
139 StringDigitSubstituteNone = 1
140 StringDigitSubstituteNational = 2
141 StringDigitSubstituteTraditional = 3
142End Enum
143
144Const Enum HotkeyPrefix
145 HotkeyPrefixNone = 0
146 HotkeyPrefixShow = 1
147 HotkeyPrefixHide = 2
148End Enum
149
150Const Enum StringAlignment
151 StringAlignmentNear = 0
152 StringAlignmentCenter = 1
153 StringAlignmentFar = 2
154End Enum
155
156Const Enum DriverStringOptions
157 DriverStringOptionsCmapLookup = 1
158 DriverStringOptionsVertical = 2
159 DriverStringOptionsRealizedAdvance = 4
160 DriverStringOptionsLimitSubpixel = 8
161End Enum
162
163Const 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
172End Enum
173
174Const 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
199End Enum
200
201
202Const Enum EmfToWmfBitsFlags
203 EmfToWmfBitsFlagsDefault = &h00000000
204 EmfToWmfBitsFlagsEmbedEmf = &h00000001
205 EmfToWmfBitsFlagsIncludePlaceable = &h00000002
206 EmfToWmfBitsFlagsNoXORClip = &h00000004
207End Enum
208
209Const Enum GpTestControlEnum
210 TestControlForceBilinear = 0
211 TestControlNoICM = 1
212 TestControlGetBuildNumber = 2
213End Enum
214
215#endif '__GDUPLUSENUMS_AB__
Note: See TracBrowser for help on using the repository browser.