source: Include/GdiPlusEnums.ab@ 232

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

Graphics クラスの追加とそれに伴う修正

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