source: branch/egtra-stream-without-en_dec/GdiPlusEnums.ab@ 676

Last change on this file since 676 was 497, checked in by イグトランス (egtra), 17 years ago

インクルードガードとその他不要な前処理定義などの削除

File size: 25.9 KB
Line 
1' GdiPlusEnums.ab
2
3Const FlatnessDefault = 1.0 / 4.0
4
5TypeDef GraphicsState = DWord
6TypeDef GraphicsContainer = DWord
7
8Const Enum MetafileFrameUnit
9 MetafileFrameUnitPixel = 2
10 MetafileFrameUnitPoint = 3
11 MetafileFrameUnitInch = 4
12 MetafileFrameUnitDocument = 5
13 MetafileFrameUnitMillimeter = 6
14 MetafileFrameUnitGdi
15End Enum
16
17Const Enum WrapMode
18 WrapModeTile ' 0
19 WrapModeTileFlipX ' 1
20 WrapModeTileFlipY ' 2
21 WrapModeTileFlipXY ' 3
22 WrapModeClamp ' 4
23End Enum
24
25Const Enum HatchStyle
26 HatchStyleHorizontal ' 0
27 HatchStyleVertical ' 1
28 HatchStyleForwardDiagonal ' 2
29 HatchStyleBackwardDiagonal ' 3
30 HatchStyleCross ' 4
31 HatchStyleDiagonalCross ' 5
32 HatchStyle05Percent ' 6
33 HatchStyle10Percent ' 7
34 HatchStyle20Percent ' 8
35 HatchStyle25Percent ' 9
36 HatchStyle30Percent ' 10
37 HatchStyle40Percent ' 11
38 HatchStyle50Percent ' 12
39 HatchStyle60Percent ' 13
40 HatchStyle70Percent ' 14
41 HatchStyle75Percent ' 15
42 HatchStyle80Percent ' 16
43 HatchStyle90Percent ' 17
44 HatchStyleLightDownwardDiagonal ' 18
45 HatchStyleLightUpwardDiagonal ' 19
46 HatchStyleDarkDownwardDiagonal ' 20
47 HatchStyleDarkUpwardDiagonal ' 21
48 HatchStyleWideDownwardDiagonal ' 22
49 HatchStyleWideUpwardDiagonal ' 23
50 HatchStyleLightVertical ' 24
51 HatchStyleLightHorizontal ' 25
52 HatchStyleNarrowVertical ' 26
53 HatchStyleNarrowHorizontal ' 27
54 HatchStyleDarkVertical ' 28
55 HatchStyleDarkHorizontal ' 29
56 HatchStyleDashedDownwardDiagonal ' 30
57 HatchStyleDashedUpwardDiagonal ' 31
58 HatchStyleDashedHorizontal ' 32
59 HatchStyleDashedVertical ' 33
60 HatchStyleSmallConfetti ' 34
61 HatchStyleLargeConfetti ' 35
62 HatchStyleZigZag ' 36
63 HatchStyleWave ' 37
64 HatchStyleDiagonalBrick ' 38
65 HatchStyleHorizontalBrick ' 39
66 HatchStyleWeave ' 40
67 HatchStylePlaid ' 41
68 HatchStyleDivot ' 42
69 HatchStyleDottedGrid ' 43
70 HatchStyleDottedDiamond ' 44
71 HatchStyleShingle ' 45
72 HatchStyleTrellis ' 46
73 HatchStyleSphere ' 47
74 HatchStyleSmallGrid ' 48
75 HatchStyleSmallCheckerBoard ' 49
76 HatchStyleLargeCheckerBoard ' 50
77 HatchStyleOutlinedDiamond ' 51
78 HatchStyleSolidDiamond ' 52
79
80 HatchStyleTotal
81' HatchStyleLargeGrid = HatchStyleCross ' 4
82
83' HatchStyleMin = HatchStyleHorizontal
84' HatchStyleMax = HatchStyleTotal - 1
85End Enum
86
87Const Enum DashStyle
88 DashStyleSolid ' 0
89 DashStyleDash ' 1
90 DashStyleDot ' 2
91 DashStyleDashDot ' 3
92 DashStyleDashDotDot ' 4
93 DashStyleCustom ' 5
94End Enum
95
96Const Enum DashCap
97 DashCapFlat = 0
98 DashCapRound = 2
99 DashCapTriangle = 3
100End Enum
101
102Const Enum LineCap
103 LineCapFlat = 0
104 LineCapSquare = 1
105 LineCapRound = 2
106 LineCapTriangle = 3
107
108 LineCapNoAnchor = &h10
109 LineCapSquareAnchor = &h11
110 LineCapRoundAnchor = &h12
111 LineCapDiamondAnchor = &h13
112 LineCapArrowAnchor = &h14
113
114 LineCapCustom = &hff
115
116 LineCapAnchorMask = &hf0
117End Enum
118
119Const Enum CustomLineCapType
120 CustomLineCapTypeDefault = 0
121 CustomLineCapTypeAdjustableArrow = 1
122End Enum
123
124Const Enum LineJoin
125 LineJoinMiter = 0
126 LineJoinBevel = 1
127 LineJoinRound = 2
128 LineJoinMiterClipped = 3
129End Enum
130
131Const Enum PathPointType
132 PathPointTypeStart = 0
133 PathPointTypeLine = 1
134 PathPointTypeBezier = 3
135 PathPointTypePathTypeMask = &h07
136 PathPointTypeDashMode = &h10
137 PathPointTypePathMarker = &h20
138 PathPointTypeCloseSubpath = &h80
139 PathPointTypeBezier3 = 3
140End Enum
141
142Const Enum WarpMode
143 WarpModePerspective ' 0
144 WarpModeBilinear ' 1
145End Enum
146
147Const Enum LinearGradientMode
148 LinearGradientModeHorizontal ' 0
149 LinearGradientModeVertical ' 1
150 LinearGradientModeForwardDiagonal ' 2
151 LinearGradientModeBackwardDiagonal ' 3
152End Enum
153
154Const Enum ImageType
155 ImageTypeUnknown ' 0
156 ImageTypeBitmap ' 1
157 ImageTypeMetafile ' 2
158End Enum
159
160Const Enum PenAlignment
161 PenAlignmentCenter = 0
162 PenAlignmentInset = 1
163End Enum
164
165Const Enum BrushType
166 BrushTypeSolidColor = 0
167 BrushTypeHatchFill = 1
168 BrushTypeTextureFill = 2
169 BrushTypePathGradient = 3
170 BrushTypeLinearGradient = 4
171End Enum
172
173Const Enum PenType
174 PenTypeSolidColor = BrushTypeSolidColor
175 PenTypeHatchFill = BrushTypeHatchFill
176 PenTypeTextureFill = BrushTypeTextureFill
177 PenTypePathGradient = BrushTypePathGradient
178 PenTypeLinearGradient = BrushTypeLinearGradient
179 PenTypeUnknown = -1
180End Enum
181
182Const Enum GenericFontFamily
183 GenericFontFamilySerif
184 GenericFontFamilySansSerif
185 GenericFontFamilyMonospace
186End Enum
187
188Const Enum FontStyle
189 FontStyleRegular = 0
190 FontStyleBold = 1
191 FontStyleItalic = 2
192 FontStyleBoldItalic = 3
193 FontStyleUnderline = 4
194 FontStyleStrikeout = 8
195End Enum
196
197Const Enum MetafileType
198 MetafileTypeInvalid
199 MetafileTypeWmf
200 MetafileTypeWmfPlaceable
201 MetafileTypeEmf
202 MetafileTypeEmfPlusOnly
203 MetafileTypeEmfPlusDual
204End Enum
205
206Const Enum EmfType
207 EmfTypeEmfOnly = MetafileTypeEmf
208 EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly
209 EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual
210End Enum
211
212Const Enum ObjectType
213 ObjectTypeInvalid
214 ObjectTypeBrush
215 ObjectTypePen
216 ObjectTypePath
217 ObjectTypeRegion
218 ObjectTypeImage
219 ObjectTypeFont
220 ObjectTypeStringFormat
221 ObjectTypeImageAttributes
222 ObjectTypeCustomLineCap
223
224' ObjectTypeMax = ObjectTypeCustomLineCap
225' ObjectTypeMin = ObjectTypeBrush
226End Enum
227
228Const ObjectTypeIsValid(type_) = (type_ >= ObjectTypeMin) And (type_ <= ObjectTypeMax)
229
230Const GDIP_EMFPLUS_RECORD_BASE = &h00004000
231Const GDIP_WMF_RECORD_BASE = &h00010000
232Const GDIP_WMF_RECORD_TO_EMFPLUS(n) = ((n) Or GDIP_WMF_RECORD_BASE) ' As EmfPlusRecordType
233Const GDIP_EMFPLUS_RECORD_TO_WMF(n) = ((n) And (Not GDIP_WMF_RECORD_BASE))
234'Const GDIP_IS_WMF_RECORDTYPE(n) (((n) And GDIP_WMF_RECORD_BASE) <> 0)
235Function GDIP_IS_WMF_RECORDTYPE(n As DWord) As BOOL
236 If (n And GDIP_WMF_RECORD_BASE) <> 0 Then
237 GDIP_IS_WMF_RECORDTYPE = TRUE
238 Else
239 GDIP_IS_WMF_RECORDTYPE = FALSE
240 End If
241End Function
242
243Const Enum EmfPlusRecordType
244/*
245 WmfRecordTypeSetBkColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR)
246 WmfRecordTypeSetBkMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE)
247 WmfRecordTypeSetMapMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE)
248 WmfRecordTypeSetROP2 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETROP2)
249 WmfRecordTypeSetRelAbs = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETRELABS)
250 WmfRecordTypeSetPolyFillMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPOLYFILLMODE)
251 WmfRecordTypeSetStretchBltMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETSTRETCHBLTMODE)
252 WmfRecordTypeSetTextCharExtra = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCHAREXTRA)
253 WmfRecordTypeSetTextColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCOLOR)
254 WmfRecordTypeSetTextJustification = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTJUSTIFICATION)
255 WmfRecordTypeSetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWORG)
256 WmfRecordTypeSetWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWEXT)
257 WmfRecordTypeSetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTORG)
258 WmfRecordTypeSetViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTEXT)
259 WmfRecordTypeOffsetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETWINDOWORG)
260 WmfRecordTypeScaleWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEWINDOWEXT)
261 WmfRecordTypeOffsetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETVIEWPORTORG)
262 WmfRecordTypeScaleViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEVIEWPORTEXT)
263 WmfRecordTypeLineTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_LINETO)
264 WmfRecordTypeMoveTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_MOVETO)
265 WmfRecordTypeExcludeClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXCLUDECLIPRECT)
266 WmfRecordTypeIntersectClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_INTERSECTCLIPRECT)
267 WmfRecordTypeArc = GDIP_WMF_RECORD_TO_EMFPLUS(META_ARC)
268 WmfRecordTypeEllipse = GDIP_WMF_RECORD_TO_EMFPLUS(META_ELLIPSE)
269 WmfRecordTypeFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_FLOODFILL)
270 WmfRecordTypePie = GDIP_WMF_RECORD_TO_EMFPLUS(META_PIE)
271 WmfRecordTypeRectangle = GDIP_WMF_RECORD_TO_EMFPLUS(META_RECTANGLE)
272 WmfRecordTypeRoundRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_ROUNDRECT)
273 WmfRecordTypePatBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_PATBLT)
274 WmfRecordTypeSaveDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_SAVEDC)
275 WmfRecordTypeSetPixel = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPIXEL)
276 WmfRecordTypeOffsetClipRgn = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETCLIPRGN)
277 WmfRecordTypeTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_TEXTOUT)
278 WmfRecordTypeBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_BITBLT)
279 WmfRecordTypeStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHBLT)
280 WmfRecordTypePolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYGON)
281 WmfRecordTypePolyline = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYLINE)
282 WmfRecordTypeEscape = GDIP_WMF_RECORD_TO_EMFPLUS(META_ESCAPE)
283 WmfRecordTypeRestoreDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESTOREDC)
284 WmfRecordTypeFillRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FILLREGION)
285 WmfRecordTypeFrameRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FRAMEREGION)
286 WmfRecordTypeInvertRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_INVERTREGION)
287 WmfRecordTypePaintRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_PAINTREGION)
288 WmfRecordTypeSelectClipRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTCLIPREGION)
289 WmfRecordTypeSelectObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTOBJECT)
290 WmfRecordTypeSetTextAlign = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTALIGN)
291 WmfRecordTypeDrawText = GDIP_WMF_RECORD_TO_EMFPLUS(&h062F) ' META_DRAWTEXT
292 WmfRecordTypeChord = GDIP_WMF_RECORD_TO_EMFPLUS(META_CHORD)
293 WmfRecordTypeSetMapperFlags = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPPERFLAGS)
294 WmfRecordTypeExtTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTTEXTOUT)
295 WmfRecordTypeSetDIBToDev = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETDIBTODEV)
296 WmfRecordTypeSelectPalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTPALETTE)
297 WmfRecordTypeRealizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_REALIZEPALETTE)
298 WmfRecordTypeAnimatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_ANIMATEPALETTE)
299 WmfRecordTypeSetPalEntries = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPALENTRIES)
300 WmfRecordTypePolyPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYPOLYGON)
301 WmfRecordTypeResizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESIZEPALETTE)
302 WmfRecordTypeDIBBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBBITBLT)
303 WmfRecordTypeDIBStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBSTRETCHBLT)
304 WmfRecordTypeDIBCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBCREATEPATTERNBRUSH)
305 WmfRecordTypeStretchDIB = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHDIB)
306 WmfRecordTypeExtFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTFLOODFILL)
307 WmfRecordTypeSetLayout = GDIP_WMF_RECORD_TO_EMFPLUS(&h0149) ' META_SETLAYOUT
308 WmfRecordTypeResetDC = GDIP_WMF_RECORD_TO_EMFPLUS(&h014C) ' META_RESETDC
309 WmfRecordTypeStartDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h014D) ' META_STARTDOC
310 WmfRecordTypeStartPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h004F) ' META_STARTPAGE
311 WmfRecordTypeEndPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h0050) ' META_ENDPAGE
312 WmfRecordTypeAbortDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h0052) ' META_ABORTDOC
313 WmfRecordTypeEndDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h005E) ' META_ENDDOC
314 WmfRecordTypeDeleteObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_DELETEOBJECT)
315 WmfRecordTypeCreatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPALETTE)
316 WmfRecordTypeCreateBrush = GDIP_WMF_RECORD_TO_EMFPLUS(&h00F8) ' META_CREATEBRUSH
317 WmfRecordTypeCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPATTERNBRUSH)
318 WmfRecordTypeCreatePenIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPENINDIRECT)
319 WmfRecordTypeCreateFontIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEFONTINDIRECT)
320 WmfRecordTypeCreateBrushIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEBRUSHINDIRECT)
321 WmfRecordTypeCreateBitmapIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(&h02FD) ' META_CREATEBITMAPINDIRECT
322 WmfRecordTypeCreateBitmap = GDIP_WMF_RECORD_TO_EMFPLUS(&h06FE) ' META_CREATEBITMAP
323 WmfRecordTypeCreateRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION)
324
325 EmfRecordTypeHeader = EMR_HEADER
326 EmfRecordTypePolyBezier = EMR_POLYBEZIER
327 EmfRecordTypePolygon = EMR_POLYGON
328 EmfRecordTypePolyline = EMR_POLYLINE
329 EmfRecordTypePolyBezierTo = EMR_POLYBEZIERTO
330 EmfRecordTypePolyLineTo = EMR_POLYLINETO
331 EmfRecordTypePolyPolyline = EMR_POLYPOLYLINE
332 EmfRecordTypePolyPolygon = EMR_POLYPOLYGON
333 EmfRecordTypeSetWindowExtEx = EMR_SETWINDOWEXTEX
334 EmfRecordTypeSetWindowOrgEx = EMR_SETWINDOWORGEX
335 EmfRecordTypeSetViewportExtEx = EMR_SETVIEWPORTEXTEX
336 EmfRecordTypeSetViewportOrgEx = EMR_SETVIEWPORTORGEX
337 EmfRecordTypeSetBrushOrgEx = EMR_SETBRUSHORGEX
338 EmfRecordTypeEOF = EMR_EOF
339 EmfRecordTypeSetPixelV = EMR_SETPIXELV
340 EmfRecordTypeSetMapperFlags = EMR_SETMAPPERFLAGS
341 EmfRecordTypeSetMapMode = EMR_SETMAPMODE
342 EmfRecordTypeSetBkMode = EMR_SETBKMODE
343 EmfRecordTypeSetPolyFillMode = EMR_SETPOLYFILLMODE
344 EmfRecordTypeSetROP2 = EMR_SETROP2
345 EmfRecordTypeSetStretchBltMode = EMR_SETSTRETCHBLTMODE
346 EmfRecordTypeSetTextAlign = EMR_SETTEXTALIGN
347 EmfRecordTypeSetColorAdjustment = EMR_SETCOLORADJUSTMENT
348 EmfRecordTypeSetTextColor = EMR_SETTEXTCOLOR
349 EmfRecordTypeSetBkColor = EMR_SETBKCOLOR
350 EmfRecordTypeOffsetClipRgn = EMR_OFFSETCLIPRGN
351 EmfRecordTypeMoveToEx = EMR_MOVETOEX
352 EmfRecordTypeSetMetaRgn = EMR_SETMETARGN
353 EmfRecordTypeExcludeClipRect = EMR_EXCLUDECLIPRECT
354 EmfRecordTypeIntersectClipRect = EMR_INTERSECTCLIPRECT
355 EmfRecordTypeScaleViewportExtEx = EMR_SCALEVIEWPORTEXTEX
356 EmfRecordTypeScaleWindowExtEx = EMR_SCALEWINDOWEXTEX
357 EmfRecordTypeSaveDC = EMR_SAVEDC
358 EmfRecordTypeRestoreDC = EMR_RESTOREDC
359 EmfRecordTypeSetWorldTransform = EMR_SETWORLDTRANSFORM
360 EmfRecordTypeModifyWorldTransform = EMR_MODIFYWORLDTRANSFORM
361 EmfRecordTypeSelectObject = EMR_SELECTOBJECT
362 EmfRecordTypeCreatePen = EMR_CREATEPEN
363 EmfRecordTypeCreateBrushIndirect = EMR_CREATEBRUSHINDIRECT
364 EmfRecordTypeDeleteObject = EMR_DELETEOBJECT
365 EmfRecordTypeAngleArc = EMR_ANGLEARC
366 EmfRecordTypeEllipse = EMR_ELLIPSE
367 EmfRecordTypeRectangle = EMR_RECTANGLE
368 EmfRecordTypeRoundRect = EMR_ROUNDRECT
369 EmfRecordTypeArc = EMR_ARC
370 EmfRecordTypeChord = EMR_CHORD
371 EmfRecordTypePie = EMR_PIE
372 EmfRecordTypeSelectPalette = EMR_SELECTPALETTE
373 EmfRecordTypeCreatePalette = EMR_CREATEPALETTE
374 EmfRecordTypeSetPaletteEntries = EMR_SETPALETTEENTRIES
375 EmfRecordTypeResizePalette = EMR_RESIZEPALETTE
376 EmfRecordTypeRealizePalette = EMR_REALIZEPALETTE
377 EmfRecordTypeExtFloodFill = EMR_EXTFLOODFILL
378 EmfRecordTypeLineTo = EMR_LINETO
379 EmfRecordTypeArcTo = EMR_ARCTO
380 EmfRecordTypePolyDraw = EMR_POLYDRAW
381 EmfRecordTypeSetArcDirection = EMR_SETARCDIRECTION
382 EmfRecordTypeSetMiterLimit = EMR_SETMITERLIMIT
383 EmfRecordTypeBeginPath = EMR_BEGINPATH
384 EmfRecordTypeEndPath = EMR_ENDPATH
385 EmfRecordTypeCloseFigure = EMR_CLOSEFIGURE
386 EmfRecordTypeFillPath = EMR_FILLPATH
387 EmfRecordTypeStrokeAndFillPath = EMR_STROKEANDFILLPATH
388 EmfRecordTypeStrokePath = EMR_STROKEPATH
389 EmfRecordTypeFlattenPath = EMR_FLATTENPATH
390 EmfRecordTypeWidenPath = EMR_WIDENPATH
391 EmfRecordTypeSelectClipPath = EMR_SELECTCLIPPATH
392 EmfRecordTypeAbortPath = EMR_ABORTPATH
393 EmfRecordTypeReserved_069 = 69 ' Not Used
394 EmfRecordTypeGdiComment = EMR_GDICOMMENT
395 EmfRecordTypeFillRgn = EMR_FILLRGN
396 EmfRecordTypeFrameRgn = EMR_FRAMERGN
397 EmfRecordTypeInvertRgn = EMR_INVERTRGN
398 EmfRecordTypePaintRgn = EMR_PAINTRGN
399 EmfRecordTypeExtSelectClipRgn = EMR_EXTSELECTCLIPRGN
400 EmfRecordTypeBitBlt = EMR_BITBLT
401 EmfRecordTypeStretchBlt = EMR_STRETCHBLT
402 EmfRecordTypeMaskBlt = EMR_MASKBLT
403 EmfRecordTypePlgBlt = EMR_PLGBLT
404 EmfRecordTypeSetDIBitsToDevice = EMR_SETDIBITSTODEVICE
405 EmfRecordTypeStretchDIBits = EMR_STRETCHDIBITS
406 EmfRecordTypeExtCreateFontIndirect = EMR_EXTCREATEFONTINDIRECTW
407 EmfRecordTypeExtTextOutA = EMR_EXTTEXTOUTA
408 EmfRecordTypeExtTextOutW = EMR_EXTTEXTOUTW
409 EmfRecordTypePolyBezier16 = EMR_POLYBEZIER16
410 EmfRecordTypePolygon16 = EMR_POLYGON16
411 EmfRecordTypePolyline16 = EMR_POLYLINE16
412 EmfRecordTypePolyBezierTo16 = EMR_POLYBEZIERTO16
413 EmfRecordTypePolylineTo16 = EMR_POLYLINETO16
414 EmfRecordTypePolyPolyline16 = EMR_POLYPOLYLINE16
415 EmfRecordTypePolyPolygon16 = EMR_POLYPOLYGON16
416 EmfRecordTypePolyDraw16 = EMR_POLYDRAW16
417 EmfRecordTypeCreateMonoBrush = EMR_CREATEMONOBRUSH
418 EmfRecordTypeCreateDIBPatternBrushPt = EMR_CREATEDIBPATTERNBRUSHPT
419 EmfRecordTypeExtCreatePen = EMR_EXTCREATEPEN
420 EmfRecordTypePolyTextOutA = EMR_POLYTEXTOUTA
421 EmfRecordTypePolyTextOutW = EMR_POLYTEXTOUTW
422 EmfRecordTypeSetICMMode = 98 ' EMR_SETICMMODE
423 EmfRecordTypeCreateColorSpace = 99 ' EMR_CREATECOLORSPACE
424 EmfRecordTypeSetColorSpace = 100 ' EMR_SETCOLORSPACE
425 EmfRecordTypeDeleteColorSpace = 101 ' EMR_DELETECOLORSPACE
426 EmfRecordTypeGLSRecord = 102 ' EMR_GLSRECORD
427 EmfRecordTypeGLSBoundedRecord = 103 ' EMR_GLSBOUNDEDRECORD
428 EmfRecordTypePixelFormat = 104 ' EMR_PIXELFORMAT
429 EmfRecordTypeDrawEscape = 105 ' EMR_RESERVED_105
430 EmfRecordTypeExtEscape = 106 ' EMR_RESERVED_106
431 EmfRecordTypeStartDoc = 107 ' EMR_RESERVED_107
432 EmfRecordTypeSmallTextOut = 108 ' EMR_RESERVED_108
433 EmfRecordTypeForceUFIMapping = 109 ' EMR_RESERVED_109
434 EmfRecordTypeNamedEscape = 110 ' EMR_RESERVED_110
435 EmfRecordTypeColorCorrectPalette = 111 ' EMR_COLORCORRECTPALETTE
436 EmfRecordTypeSetICMProfileA = 112 ' EMR_SETICMPROFILEA
437 EmfRecordTypeSetICMProfileW = 113 ' EMR_SETICMPROFILEW
438 EmfRecordTypeAlphaBlend = 114 ' EMR_ALPHABLEND
439 EmfRecordTypeSetLayout = 115 ' EMR_SETLAYOUT
440 EmfRecordTypeTransparentBlt = 116 ' EMR_TRANSPARENTBLT
441 EmfRecordTypeReserved_117 = 117 ' Not Used
442 EmfRecordTypeGradientFill = 118 ' EMR_GRADIENTFILL
443 EmfRecordTypeSetLinkedUFIs = 119 ' EMR_RESERVED_119
444 EmfRecordTypeSetTextJustification = 120 ' EMR_RESERVED_120
445 EmfRecordTypeColorMatchToTargetW = 121 ' EMR_COLORMATCHTOTARGETW
446 EmfRecordTypeCreateColorSpaceW = 122 ' EMR_CREATECOLORSPACEW
447 EmfRecordTypeMax = 122
448 EmfRecordTypeMin = 1
449
450 EmfPlusRecordTypeInvalid = GDIP_EMFPLUS_RECORD_BASE
451 EmfPlusRecordTypeHeader
452 EmfPlusRecordTypeEndOfFile
453
454 EmfPlusRecordTypeComment
455
456 EmfPlusRecordTypeGetDC
457
458 EmfPlusRecordTypeMultiFormatStart
459 EmfPlusRecordTypeMultiFormatSection
460 EmfPlusRecordTypeMultiFormatEnd
461
462 EmfPlusRecordTypeObject
463
464 EmfPlusRecordTypeClear
465 EmfPlusRecordTypeFillRects
466 EmfPlusRecordTypeDrawRects
467 EmfPlusRecordTypeFillPolygon
468 EmfPlusRecordTypeDrawLines
469 EmfPlusRecordTypeFillEllipse
470 EmfPlusRecordTypeDrawEllipse
471 EmfPlusRecordTypeFillPie
472 EmfPlusRecordTypeDrawPie
473 EmfPlusRecordTypeDrawArc
474 EmfPlusRecordTypeFillRegion
475 EmfPlusRecordTypeFillPath
476 EmfPlusRecordTypeDrawPath
477 EmfPlusRecordTypeFillClosedCurve
478 EmfPlusRecordTypeDrawClosedCurve
479 EmfPlusRecordTypeDrawCurve
480 EmfPlusRecordTypeDrawBeziers
481 EmfPlusRecordTypeDrawImage
482 EmfPlusRecordTypeDrawImagePoints
483 EmfPlusRecordTypeDrawString
484
485 EmfPlusRecordTypeSetRenderingOrigin
486 EmfPlusRecordTypeSetAntiAliasMode
487 EmfPlusRecordTypeSetTextRenderingHint
488 EmfPlusRecordTypeSetTextContrast
489 EmfPlusRecordTypeSetInterpolationMode
490 EmfPlusRecordTypeSetPixelOffsetMode
491 EmfPlusRecordTypeSetCompositingMode
492 EmfPlusRecordTypeSetCompositingQuality
493 EmfPlusRecordTypeSave
494 EmfPlusRecordTypeRestore
495 EmfPlusRecordTypeBeginContainer
496 EmfPlusRecordTypeBeginContainerNoParams
497 EmfPlusRecordTypeEndContainer
498 EmfPlusRecordTypeSetWorldTransform
499 EmfPlusRecordTypeResetWorldTransform
500 EmfPlusRecordTypeMultiplyWorldTransform
501 EmfPlusRecordTypeTranslateWorldTransform
502 EmfPlusRecordTypeScaleWorldTransform
503 EmfPlusRecordTypeRotateWorldTransform
504 EmfPlusRecordTypeSetPageTransform
505 EmfPlusRecordTypeResetClip
506 EmfPlusRecordTypeSetClipRect
507 EmfPlusRecordTypeSetClipPath
508 EmfPlusRecordTypeSetClipRegion
509 EmfPlusRecordTypeOffsetClip
510
511 EmfPlusRecordTypeDrawDriverString
512
513 EmfPlusRecordTotal
514
515 EmfPlusRecordTypeMax = EmfPlusRecordTotal-1
516 EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader */
517End Enum
518
519Const Enum StringFormatFlags
520 StringFormatFlagsDirectionRightToLeft = &h00000001
521 StringFormatFlagsDirectionVertical = &h00000002
522 StringFormatFlagsNoFitBlackBox = &h00000004
523 StringFormatFlagsDisplayFormatControl = &h00000020
524 StringFormatFlagsNoFontFallback = &h00000400
525 StringFormatFlagsMeasureTrailingSpaces = &h00000800
526 StringFormatFlagsNoWrap = &h00001000
527 StringFormatFlagsLineLimit = &h00002000
528
529 StringFormatFlagsNoClip = &h00004000
530End Enum
531
532Const Enum StringTrimming
533 StringTrimmingNone = 0
534 StringTrimmingCharacter = 1
535 StringTrimmingWord = 2
536 StringTrimmingEllipsisCharacter = 3
537 StringTrimmingEllipsisWord = 4
538 StringTrimmingEllipsisPath = 5
539End Enum
540
541Const Enum StringDigitSubstitute
542 StringDigitSubstituteUser = 0 ' As NLS setting
543 StringDigitSubstituteNone = 1
544 StringDigitSubstituteNational = 2
545 StringDigitSubstituteTraditional = 3
546End Enum
547
548Const Enum HotkeyPrefix
549 HotkeyPrefixNone = 0
550 HotkeyPrefixShow = 1
551 HotkeyPrefixHide = 2
552End Enum
553
554Const Enum StringAlignment
555 StringAlignmentNear = 0
556 StringAlignmentCenter = 1
557 StringAlignmentFar = 2
558End Enum
559
560Const Enum DriverStringOptions
561 DriverStringOptionsCmapLookup = 1
562 DriverStringOptionsVertical = 2
563 DriverStringOptionsRealizedAdvance = 4
564 DriverStringOptionsLimitSubpixel = 8
565End Enum
566
567Const Enum EncoderParameterValueType
568 EncoderParameterValueTypeByte = 1
569 EncoderParameterValueTypeASCII = 2
570 EncoderParameterValueTypeShort = 3
571 EncoderParameterValueTypeLong = 4
572 EncoderParameterValueTypeRational = 5
573 EncoderParameterValueTypeLongRange = 6
574 EncoderParameterValueTypeUndefined = 7
575 EncoderParameterValueTypeRationalRange = 8
576End Enum
577
578Const Enum EncoderValue
579 EncoderValueColorTypeCMYK
580 EncoderValueColorTypeYCCK
581 EncoderValueCompressionLZW
582 EncoderValueCompressionCCITT3
583 EncoderValueCompressionCCITT4
584 EncoderValueCompressionRle
585 EncoderValueCompressionNone
586 EncoderValueScanMethodInterlaced
587 EncoderValueScanMethodNonInterlaced
588 EncoderValueVersionGif87
589 EncoderValueVersionGif89
590 EncoderValueRenderProgressive
591 EncoderValueRenderNonProgressive
592 EncoderValueTransformRotate90
593 EncoderValueTransformRotate180
594 EncoderValueTransformRotate270
595 EncoderValueTransformFlipHorizontal
596 EncoderValueTransformFlipVertical
597 EncoderValueMultiFrame
598 EncoderValueLastFrame
599 EncoderValueFlush
600 EncoderValueFrameDimensionTime
601 EncoderValueFrameDimensionResolution
602 EncoderValueFrameDimensionPage
603End Enum
604
605Const Enum EmfToWmfBitsFlags
606 EmfToWmfBitsFlagsDefault = &h00000000
607 EmfToWmfBitsFlagsEmbedEmf = &h00000001
608 EmfToWmfBitsFlagsIncludePlaceable = &h00000002
609 EmfToWmfBitsFlagsNoXORClip = &h00000004
610End Enum
611
612Const Enum GpTestControlEnum
613 TestControlForceBilinear = 0
614 TestControlNoICM = 1
615 TestControlGetBuildNumber = 2
616End Enum
Note: See TracBrowser for help on using the repository browser.