source: Include/GdiPlusEnums.ab@ 17

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

new

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