source: trunk/ab5.0/ablib/src/Classes/System/Drawing/Imaging/misc.ab

Last change on this file was 705, checked in by イグトランス (egtra), 15 years ago

Metafileクラスの追加
(#242)

File size: 28.8 KB
Line 
1' Classes/System/Drawing/Imaging/misc.ab
2
3TypeDef ARGB = DWord
4TypeDef ARGB64 = QWord
5
6Namespace System
7Namespace Drawing
8Namespace Imaging
9
10Enum ColorMode
11 Argb32Mode = 0
12 Argb64Mode = 1
13End Enum
14
15Const ALPHA_SHIFT = 24 As DWord
16Const RED_SHIFT = 16 As DWord
17Const GREEN_SHIFT = 8 As DWord
18Const BLUE_SHIFT = 0 As DWord
19Const ALPHA_MASK = ((&hff As ARGB) << ALPHA_SHIFT)
20
21' In-memory pixel data formats:
22' bits 0-7 = format index
23' bits 8-15 = pixel size (in bits)
24' bits 16-23 = flags
25' bits 24-31 = reserved
26
27Enum PixelFormat
28 Indexed = &h00010000
29 Gdi = &h00020000
30 Alpha = &h00040000
31 PAlpha = &h00080000
32 Extended = &h00100000
33 Canonical = &h00200000
34
35 Undefined = 0
36 DontCare = 0
37
38 Format1bppIndexed = (1 Or ( 1 << 8) Or PixelFormat.Indexed Or PixelFormat.Gdi)
39 Format4bppIndexed = (2 Or ( 4 << 8) Or PixelFormat.Indexed Or PixelFormat.Gdi)
40 Format8bppIndexed = (3 Or ( 8 << 8) Or PixelFormat.Indexed Or PixelFormat.Gdi)
41 Format16bppGrayScale = (4 Or (16 << 8) Or PixelFormat.Extended)
42 Format16bppRGB555 = (5 Or (16 << 8) Or PixelFormat.Gdi)
43 Format16bppRGB565 = (6 Or (16 << 8) Or PixelFormat.Gdi)
44 Format16bppARGB1555 = (7 Or (16 << 8) Or PixelFormat.Alpha Or PixelFormat.Gdi)
45 Format24bppRGB = (8 Or (24 << 8) Or PixelFormat.Gdi)
46 Format32bppRGB = (9 Or (32 << 8) Or PixelFormat.Gdi)
47 Format32bppARGB = (10 Or (32 << 8) Or PixelFormat.Alpha Or PixelFormat.Gdi Or PixelFormat.Canonical)
48 Format32bppPARGB = (11 Or (32 << 8) Or PixelFormat.Alpha Or PixelFormat.PAlpha Or PixelFormat.Gdi)
49 Format48bppRGB = (12 Or (48 << 8) Or PixelFormat.Extended)
50 Format64bppARGB = (13 Or (64 << 8) Or PixelFormat.Alpha Or PixelFormat.Canonical Or PixelFormat.Extended)
51 Format64bppPARGB = (14 Or (64 << 8) Or PixelFormat.Alpha Or PixelFormat.PAlpha Or PixelFormat.Extended)
52 Max = 15
53End Enum
54
55Const GetPixelFormatSize(pixfmt) = ((((pixfmt As PixelFormat) >> 8) And &hff) As DWord)
56
57Const IsIndexedPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Indexed) <> 0) As BOOL)
58
59Const IsAlphaPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Alpha) <> 0) As BOOL)
60
61Const IsExtendedPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Extended) <> 0) As BOOL)
62
63Const IsCanonicalPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Canonical) <> 0) As BOOL)
64
65Enum PaletteFlags
66 HasAlpha = 1
67 GrayScale = 2
68 Halftone = 4
69End Enum
70
71Type Align(8) ColorPalette
72 Flags As DWord
73 Count As DWord
74 Entries[1] As ARGB
75End Type
76
77Enum ColorAdjustType
78 Default
79 Bitmap
80 Brush
81 Pen
82 Text
83 Count
84 Any
85End Enum
86
87Type ColorMatrix
88 m[5][5] As Single
89End Type
90
91Type ColorMap
92 OldColor As Color
93 NewColor As Color
94End Type
95
96Enum ColorMatrixFlag
97 Default = 0
98 SkipGrays = 1
99 AltGray = 2
100End Enum
101
102Enum ImageCodecFlags
103 Encoder = &h00000001
104 Decoder = &h00000002
105 SupportBitmap = &h00000004
106 SupportVector = &h00000008
107 SeekableEncode = &h00000010
108 BlockingDecode = &h00000020
109
110 Builtin = &h00010000
111 System = &h00020000
112 User = &h00040000
113End Enum
114
115Enum ImageLockMode
116 Read = &h0001
117 Write = &h0002
118 UserInputBuf= &h0004
119End Enum
120
121Type Align(8) BitmapData
122 Width As DWord
123 Height As DWord
124 Stride As Long
125 PixelFormat As PixelFormat
126 Scan0 As VoidPtr
127 Reserved As ULONG_PTR
128End Type
129
130Type Align(8) EncoderParameter
131 Guid As GUID
132 NumberOfValues As DWord
133 EncoderType As DWord '元はTypeという名前
134 Value As VoidPtr
135End Type
136
137Type Align(8) PropertyItem
138 id As PROPID
139 length As DWord
140 piType As Word
141 value As VoidPtr
142End Type
143
144Enum ColorChannelFlag
145 ColorChannelC = 0
146 ColorChannelM
147 ColorChannelY
148 ColorChannelK
149 ColorChannelLast
150End Enum
151
152Enum MetafileType
153 Invalid
154 Wmf
155 WmfPlaceable
156 Emf
157 EmfPlusOnly
158 EmfPlusDual
159End Enum
160
161Enum EmfType
162 EmfOnly = 4 'MetafileType.Emf As Long
163 EmfPlusOnly = 5 'MetafileType.EmfPlusOnly As Long
164 EmfPlusDual = 6 'MetafileType.EmfPlusDual As Long
165End Enum
166
167Enum MetafileFrameUnit
168 Pixel = 2
169 Point = 3
170 Inch = 4
171 Document = 5
172 Millimeter = 6
173 GdiCompatible
174End Enum
175
176Enum EncoderParameterValueType
177 ValueTypeByte = 1
178 ValueTypeAscii = 2
179 ValueTypeShort = 3
180 ValueTypeLong = 4
181 ValueTypeRational = 5
182 ValueTypeLongRange = 6
183 ValueTypeUndefined = 7
184 ValueTypeRationalRange = 8
185End Enum
186
187Enum EncoderValue
188 ColorTypeCMYK
189 ColorTypeYCCK
190 CompressionLZW
191 CompressionCCITT3
192 CompressionCCITT4
193 CompressionRle
194 CompressionNone
195 ScanMethodInterlaced
196 ScanMethodNonInterlaced
197 VersionGif87
198 VersionGif89
199 RenderProgressive
200 RenderNonProgressive
201 TransformRotate90
202 TransformRotate180
203 TransformRotate270
204 TransformFlipHorizontal
205 TransformFlipVertical
206 MultiFrame
207 LastFrame
208 Flush
209 FrameDimensionTime
210 FrameDimensionResolution
211 FrameDimensionPage
212End Enum
213
214Enum EmfPlusRecordType
215 WmfSetBkColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR)
216 WmfSetBkMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE)
217 WmfSetMapMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE)
218 WmfSetROP2 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETROP2)
219 WmfSetRelAbs = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETRELABS)
220 WmfSetPolyFillMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPOLYFILLMODE)
221 WmfSetStretchBltMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETSTRETCHBLTMODE)
222 WmfSetTextCharExtra = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCHAREXTRA)
223 WmfSetTextColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCOLOR)
224 WmfSetTextJustification = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTJUSTIFICATION)
225 WmfSetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWORG)
226 WmfSetWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWEXT)
227 WmfSetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTORG)
228 WmfSetViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTEXT)
229 WmfOffsetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETWINDOWORG)
230 WmfScaleWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEWINDOWEXT)
231 WmfOffsetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETVIEWPORTORG)
232 WmfScaleViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEVIEWPORTEXT)
233 WmfLineTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_LINETO)
234 WmfMoveTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_MOVETO)
235 WmfExcludeClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXCLUDECLIPRECT)
236 WmfIntersectClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_INTERSECTCLIPRECT)
237 WmfArc = GDIP_WMF_RECORD_TO_EMFPLUS(META_ARC)
238 WmfEllipse = GDIP_WMF_RECORD_TO_EMFPLUS(META_ELLIPSE)
239 WmfFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_FLOODFILL)
240 WmfPie = GDIP_WMF_RECORD_TO_EMFPLUS(META_PIE)
241 WmfRectangle = GDIP_WMF_RECORD_TO_EMFPLUS(META_RECTANGLE)
242 WmfRoundRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_ROUNDRECT)
243 WmfPatBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_PATBLT)
244 WmfSaveDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_SAVEDC)
245 WmfSetPixel = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPIXEL)
246 WmfOffsetClipRgn = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETCLIPRGN)
247 WmfTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_TEXTOUT)
248 WmfBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_BITBLT)
249 WmfStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHBLT)
250 WmfPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYGON)
251 WmfPolyline = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYLINE)
252 WmfEscape = GDIP_WMF_RECORD_TO_EMFPLUS(META_ESCAPE)
253 WmfRestoreDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESTOREDC)
254 WmfFillRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FILLREGION)
255 WmfFrameRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FRAMEREGION)
256 WmfInvertRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_INVERTREGION)
257 WmfPaintRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_PAINTREGION)
258 WmfSelectClipRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTCLIPREGION)
259 WmfSelectObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTOBJECT)
260 WmfSetTextAlign = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTALIGN)
261 WmfDrawText = GDIP_WMF_RECORD_TO_EMFPLUS(&h062F) ' META_DRAWTEXT
262 WmfChord = GDIP_WMF_RECORD_TO_EMFPLUS(META_CHORD)
263 WmfSetMapperFlags = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPPERFLAGS)
264 WmfExtTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTTEXTOUT)
265 WmfSetDIBToDev = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETDIBTODEV)
266 WmfSelectPalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTPALETTE)
267 WmfRealizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_REALIZEPALETTE)
268 WmfAnimatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_ANIMATEPALETTE)
269 WmfSetPalEntries = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPALENTRIES)
270 WmfPolyPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYPOLYGON)
271 WmfResizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESIZEPALETTE)
272 WmfDIBBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBBITBLT)
273 WmfDIBStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBSTRETCHBLT)
274 WmfDIBCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBCREATEPATTERNBRUSH)
275 WmfStretchDIB = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHDIB)
276 WmfExtFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTFLOODFILL)
277 WmfSetLayout = GDIP_WMF_RECORD_TO_EMFPLUS(&h0149) ' META_SETLAYOUT
278 WmfResetDC = GDIP_WMF_RECORD_TO_EMFPLUS(&h014C) ' META_RESETDC
279 WmfStartDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h014D) ' META_STARTDOC
280 WmfStartPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h004F) ' META_STARTPAGE
281 WmfEndPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h0050) ' META_ENDPAGE
282 WmfAbortDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h0052) ' META_ABORTDOC
283 WmfEndDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h005E) ' META_ENDDOC
284 WmfDeleteObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_DELETEOBJECT)
285 WmfCreatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPALETTE)
286 WmfCreateBrush = GDIP_WMF_RECORD_TO_EMFPLUS(&h00F8) ' META_CREATEBRUSH
287 WmfCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPATTERNBRUSH)
288 WmfCreatePenIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPENINDIRECT)
289 WmfCreateFontIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEFONTINDIRECT)
290 WmfCreateBrushIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEBRUSHINDIRECT)
291 WmfCreateBitmapIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(&h02FD) ' META_CREATEBITMAPINDIRECT
292 WmfCreateBitmap = GDIP_WMF_RECORD_TO_EMFPLUS(&h06FE) ' META_CREATEBITMAP
293 WmfCreateRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION)
294
295 EmfHeader = EMR_HEADER
296 EmfPolyBezier = EMR_POLYBEZIER
297 EmfPolygon = EMR_POLYGON
298 EmfPolyline = EMR_POLYLINE
299 EmfPolyBezierTo = EMR_POLYBEZIERTO
300 EmfPolyLineTo = EMR_POLYLINETO
301 EmfPolyPolyline = EMR_POLYPOLYLINE
302 EmfPolyPolygon = EMR_POLYPOLYGON
303 EmfSetWindowExtEx = EMR_SETWINDOWEXTEX
304 EmfSetWindowOrgEx = EMR_SETWINDOWORGEX
305 EmfSetViewportExtEx = EMR_SETVIEWPORTEXTEX
306 EmfSetViewportOrgEx = EMR_SETVIEWPORTORGEX
307 EmfSetBrushOrgEx = EMR_SETBRUSHORGEX
308 EmfEOF = EMR_EOF
309 EmfSetPixelV = EMR_SETPIXELV
310 EmfSetMapperFlags = EMR_SETMAPPERFLAGS
311 EmfSetMapMode = EMR_SETMAPMODE
312 EmfSetBkMode = EMR_SETBKMODE
313 EmfSetPolyFillMode = EMR_SETPOLYFILLMODE
314 EmfSetROP2 = EMR_SETROP2
315 EmfSetStretchBltMode = EMR_SETSTRETCHBLTMODE
316 EmfSetTextAlign = EMR_SETTEXTALIGN
317 EmfSetColorAdjustment = EMR_SETCOLORADJUSTMENT
318 EmfSetTextColor = EMR_SETTEXTCOLOR
319 EmfSetBkColor = EMR_SETBKCOLOR
320 EmfOffsetClipRgn = EMR_OFFSETCLIPRGN
321 EmfMoveToEx = EMR_MOVETOEX
322 EmfSetMetaRgn = EMR_SETMETARGN
323 EmfExcludeClipRect = EMR_EXCLUDECLIPRECT
324 EmfIntersectClipRect = EMR_INTERSECTCLIPRECT
325 EmfScaleViewportExtEx = EMR_SCALEVIEWPORTEXTEX
326 EmfScaleWindowExtEx = EMR_SCALEWINDOWEXTEX
327 EmfSaveDC = EMR_SAVEDC
328 EmfRestoreDC = EMR_RESTOREDC
329 EmfSetWorldTransform = EMR_SETWORLDTRANSFORM
330 EmfModifyWorldTransform = EMR_MODIFYWORLDTRANSFORM
331 EmfSelectObject = EMR_SELECTOBJECT
332 EmfCreatePen = EMR_CREATEPEN
333 EmfCreateBrushIndirect = EMR_CREATEBRUSHINDIRECT
334 EmfDeleteObject = EMR_DELETEOBJECT
335 EmfAngleArc = EMR_ANGLEARC
336 EmfEllipse = EMR_ELLIPSE
337 EmfRectangle = EMR_RECTANGLE
338 EmfRoundRect = EMR_ROUNDRECT
339 EmfArc = EMR_ARC
340 EmfChord = EMR_CHORD
341 EmfPie = EMR_PIE
342 EmfSelectPalette = EMR_SELECTPALETTE
343 EmfCreatePalette = EMR_CREATEPALETTE
344 EmfSetPaletteEntries = EMR_SETPALETTEENTRIES
345 EmfResizePalette = EMR_RESIZEPALETTE
346 EmfRealizePalette = EMR_REALIZEPALETTE
347 EmfExtFloodFill = EMR_EXTFLOODFILL
348 EmfLineTo = EMR_LINETO
349 EmfArcTo = EMR_ARCTO
350 EmfPolyDraw = EMR_POLYDRAW
351 EmfSetArcDirection = EMR_SETARCDIRECTION
352 EmfSetMiterLimit = EMR_SETMITERLIMIT
353 EmfBeginPath = EMR_BEGINPATH
354 EmfEndPath = EMR_ENDPATH
355 EmfCloseFigure = EMR_CLOSEFIGURE
356 EmfFillPath = EMR_FILLPATH
357 EmfStrokeAndFillPath = EMR_STROKEANDFILLPATH
358 EmfStrokePath = EMR_STROKEPATH
359 EmfFlattenPath = EMR_FLATTENPATH
360 EmfWidenPath = EMR_WIDENPATH
361 EmfSelectClipPath = EMR_SELECTCLIPPATH
362 EmfAbortPath = EMR_ABORTPATH
363 EmfReserved_069 = 69 ' Not Used
364 EmfGdiComment = EMR_GDICOMMENT
365 EmfFillRgn = EMR_FILLRGN
366 EmfFrameRgn = EMR_FRAMERGN
367 EmfInvertRgn = EMR_INVERTRGN
368 EmfPaintRgn = EMR_PAINTRGN
369 EmfExtSelectClipRgn = EMR_EXTSELECTCLIPRGN
370 EmfBitBlt = EMR_BITBLT
371 EmfStretchBlt = EMR_STRETCHBLT
372 EmfMaskBlt = EMR_MASKBLT
373 EmfPlgBlt = EMR_PLGBLT
374 EmfSetDIBitsToDevice = EMR_SETDIBITSTODEVICE
375 EmfStretchDIBits = EMR_STRETCHDIBITS
376 EmfExtCreateFontIndirect = EMR_EXTCREATEFONTINDIRECTW
377 EmfExtTextOutA = EMR_EXTTEXTOUTA
378 EmfExtTextOutW = EMR_EXTTEXTOUTW
379 EmfPolyBezier16 = EMR_POLYBEZIER16
380 EmfPolygon16 = EMR_POLYGON16
381 EmfPolyline16 = EMR_POLYLINE16
382 EmfPolyBezierTo16 = EMR_POLYBEZIERTO16
383 EmfPolylineTo16 = EMR_POLYLINETO16
384 EmfPolyPolyline16 = EMR_POLYPOLYLINE16
385 EmfPolyPolygon16 = EMR_POLYPOLYGON16
386 EmfPolyDraw16 = EMR_POLYDRAW16
387 EmfCreateMonoBrush = EMR_CREATEMONOBRUSH
388 EmfCreateDIBPatternBrushPt = EMR_CREATEDIBPATTERNBRUSHPT
389 EmfExtCreatePen = EMR_EXTCREATEPEN
390 EmfPolyTextOutA = EMR_POLYTEXTOUTA
391 EmfPolyTextOutW = EMR_POLYTEXTOUTW
392 EmfSetICMMode = 98 ' EMR_SETICMMODE
393 EmfCreateColorSpace = 99 ' EMR_CREATECOLORSPACE
394 EmfSetColorSpace = 100 ' EMR_SETCOLORSPACE
395 EmfDeleteColorSpace = 101 ' EMR_DELETECOLORSPACE
396 EmfGLSRecord = 102 ' EMR_GLSRECORD
397 EmfGLSBoundedRecord = 103 ' EMR_GLSBOUNDEDRECORD
398 EmfPixelFormat = 104 ' EMR_PIXELFORMAT
399 EmfDrawEscape = 105 ' EMR_RESERVED_105
400 EmfExtEscape = 106 ' EMR_RESERVED_106
401 EmfStartDoc = 107 ' EMR_RESERVED_107
402 EmfSmallTextOut = 108 ' EMR_RESERVED_108
403 EmfForceUFIMapping = 109 ' EMR_RESERVED_109
404 EmfNamedEscape = 110 ' EMR_RESERVED_110
405 EmfColorCorrectPalette = 111 ' EMR_COLORCORRECTPALETTE
406 EmfSetICMProfileA = 112 ' EMR_SETICMPROFILEA
407 EmfSetICMProfileW = 113 ' EMR_SETICMPROFILEW
408 EmfAlphaBlend = 114 ' EMR_ALPHABLEND
409 EmfSetLayout = 115 ' EMR_SETLAYOUT
410 EmfTransparentBlt = 116 ' EMR_TRANSPARENTBLT
411 EmfReserved_117 = 117 ' Not Used
412 EmfGradientFill = 118 ' EMR_GRADIENTFILL
413 EmfSetLinkedUFIs = 119 ' EMR_RESERVED_119
414 EmfSetTextJustification = 120 ' EMR_RESERVED_120
415 EmfColorMatchToTargetW = 121 ' EMR_COLORMATCHTOTARGETW
416 EmfCreateColorSpaceW = 122 ' EMR_CREATECOLORSPACEW
417 EmfMax = 122
418 EmfMin = 1
419
420 EmfPlusInvalid = GDIP_EMFPLUS_RECORD_BASE
421 EmfPlusHeader
422 EmfPlusEndOfFile
423
424 EmfPlusComment
425
426 EmfPlusGetDC
427
428 EmfPlusMultiFormatStart
429 EmfPlusMultiFormatSection
430 EmfPlusMultiFormatEnd
431
432 EmfPlusObject
433
434 EmfPlusClear
435 EmfPlusFillRects
436 EmfPlusDrawRects
437 EmfPlusFillPolygon
438 EmfPlusDrawLines
439 EmfPlusFillEllipse
440 EmfPlusDrawEllipse
441 EmfPlusFillPie
442 EmfPlusDrawPie
443 EmfPlusDrawArc
444 EmfPlusFillRegion
445 EmfPlusFillPath
446 EmfPlusDrawPath
447 EmfPlusFillClosedCurve
448 EmfPlusDrawClosedCurve
449 EmfPlusDrawCurve
450 EmfPlusDrawBeziers
451 EmfPlusDrawImage
452 EmfPlusDrawImagePoints
453 EmfPlusDrawString
454
455 EmfPlusSetRenderingOrigin
456 EmfPlusSetAntiAliasMode
457 EmfPlusSetTextRenderingHint
458 EmfPlusSetTextContrast
459 EmfPlusSetInterpolationMode
460 EmfPlusSetPixelOffsetMode
461 EmfPlusSetCompositingMode
462 EmfPlusSetCompositingQuality
463 EmfPlusSave
464 EmfPlusRestore
465 EmfPlusBeginContainer
466 EmfPlusBeginContainerNoParams
467 EmfPlusEndContainer
468 EmfPlusSetWorldTransform
469 EmfPlusResetWorldTransform
470 EmfPlusMultiplyWorldTransform
471 EmfPlusTranslateWorldTransform
472 EmfPlusScaleWorldTransform
473 EmfPlusRotateWorldTransform
474 EmfPlusSetPageTransform
475 EmfPlusResetClip
476 EmfPlusSetClipRect
477 EmfPlusSetClipPath
478 EmfPlusSetClipRegion
479 EmfPlusOffsetClip
480
481 EmfPlusDrawDriverString
482
483 EmfPlusRecordTotal
484
485 EmfPlusRecordTypeMax = EmfPlusRecordTotal - 1
486' EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader
487End Enum
488
489End Namespace
490End Namespace
491End Namespace
492
493Namespace Gdiplus
494Const PropertyTagTypeByte = 1
495Const PropertyTagTypeASCII = 2
496Const PropertyTagTypeShort = 3
497Const PropertyTagTypeLong = 4
498Const PropertyTagTypeRational = 5
499Const PropertyTagTypeUndefined = 7
500Const PropertyTagTypeSLONG = 9
501Const PropertyTagTypeSRational = 10
502
503Const PropertyTagExifIFD = &h8769
504Const PropertyTagGpsIFD = &h8825
505
506Const PropertyTagNewSubfileType = &h00FE
507Const PropertyTagSubfileType = &h00FF
508Const PropertyTagImageWidth = &h0100
509Const PropertyTagImageHeight = &h0101
510Const PropertyTagBitsPerSample = &h0102
511Const PropertyTagCompression = &h0103
512Const PropertyTagPhotometricInterp = &h0106
513Const PropertyTagThreshHolding = &h0107
514Const PropertyTagCellWidth = &h0108
515Const PropertyTagCellHeight = &h0109
516Const PropertyTagFillOrder = &h010A
517Const PropertyTagDocumentName = &h010D
518Const PropertyTagImageDescription = &h010E
519Const PropertyTagEquipMake = &h010F
520Const PropertyTagEquipModel = &h0110
521Const PropertyTagStripOffsets = &h0111
522Const PropertyTagOrientation = &h0112
523Const PropertyTagSamplesPerPixel = &h0115
524Const PropertyTagRowsPerStrip = &h0116
525Const PropertyTagStripBytesCount = &h0117
526Const PropertyTagMinSampleValue = &h0118
527Const PropertyTagMaxSampleValue = &h0119
528Const PropertyTagXResolution = &h011A
529Const PropertyTagYResolution = &h011B
530Const PropertyTagPlanarConfig = &h011C
531Const PropertyTagPageName = &h011D
532Const PropertyTagXPosition = &h011E
533Const PropertyTagYPosition = &h011F
534Const PropertyTagFreeOffset = &h0120
535Const PropertyTagFreeByteCounts = &h0121
536Const PropertyTagGrayResponseUnit = &h0122
537Const PropertyTagGrayResponseCurve = &h0123
538Const PropertyTagT4Option = &h0124
539Const PropertyTagT6Option = &h0125
540Const PropertyTagResolutionUnit = &h0128
541Const PropertyTagPageNumber = &h0129
542Const PropertyTagTransferFuncition = &h012D
543Const PropertyTagSoftwareUsed = &h0131
544Const PropertyTagDateTime = &h0132
545Const PropertyTagArtist = &h013B
546Const PropertyTagHostComputer = &h013C
547Const PropertyTagPredictor = &h013D
548Const PropertyTagWhitePoint = &h013E
549Const PropertyTagPrimaryChromaticities = &h013F
550Const PropertyTagColorMap = &h0140
551Const PropertyTagHalftoneHints = &h0141
552Const PropertyTagTileWidth = &h0142
553Const PropertyTagTileLength = &h0143
554Const PropertyTagTileOffset = &h0144
555Const PropertyTagTileByteCounts = &h0145
556Const PropertyTagInkSet = &h014C
557Const PropertyTagInkNames = &h014D
558Const PropertyTagNumberOfInks = &h014E
559Const PropertyTagDotRange = &h0150
560Const PropertyTagTargetPrinter = &h0151
561Const PropertyTagExtraSamples = &h0152
562Const PropertyTagSampleFormat = &h0153
563Const PropertyTagSMinSampleValue = &h0154
564Const PropertyTagSMaxSampleValue = &h0155
565Const PropertyTagTransferRange = &h0156
566
567Const PropertyTagJPEGProc = &h0200
568Const PropertyTagJPEGInterFormat = &h0201
569Const PropertyTagJPEGInterLength = &h0202
570Const PropertyTagJPEGRestartInterval = &h0203
571Const PropertyTagJPEGLosslessPredictors = &h0205
572Const PropertyTagJPEGPointTransforms = &h0206
573Const PropertyTagJPEGQTables = &h0207
574Const PropertyTagJPEGDCTables = &h0208
575Const PropertyTagJPEGACTables = &h0209
576
577Const PropertyTagYCbCrCoefficients = &h0211
578Const PropertyTagYCbCrSubsampling = &h0212
579Const PropertyTagYCbCrPositioning = &h0213
580Const PropertyTagREFBlackWhite = &h0214
581
582Const PropertyTagICCProfile = &h8773
583Const PropertyTagGamma = &h0301
584Const PropertyTagICCProfileDescriptor = &h0302
585Const PropertyTagSRGBRenderingIntent = &h0303
586
587Const PropertyTagImageTitle = &h0320
588Const PropertyTagCopyright = &h8298
589
590' Extra TAGs (Like Adobe Image Information tags etc.)
591Const PropertyTagResolutionXUnit = &h5001
592Const PropertyTagResolutionYUnit = &h5002
593Const PropertyTagResolutionXLengthUnit = &h5003
594Const PropertyTagResolutionYLengthUnit = &h5004
595Const PropertyTagPrintFlags = &h5005
596Const PropertyTagPrintFlagsVersion = &h5006
597Const PropertyTagPrintFlagsCrop = &h5007
598Const PropertyTagPrintFlagsBleedWidth = &h5008
599Const PropertyTagPrintFlagsBleedWidthScale = &h5009
600Const PropertyTagHalftoneLPI = &h500A
601Const PropertyTagHalftoneLPIUnit = &h500B
602Const PropertyTagHalftoneDegree = &h500C
603Const PropertyTagHalftoneShape = &h500D
604Const PropertyTagHalftoneMisc = &h500E
605Const PropertyTagHalftoneScreen = &h500F
606Const PropertyTagJPEGQuality = &h5010
607Const PropertyTagGridSize = &h5011
608Const PropertyTagThumbnailFormat = &h5012
609Const PropertyTagThumbnailWidth = &h5013
610Const PropertyTagThumbnailHeight = &h5014
611Const PropertyTagThumbnailColorDepth = &h5015
612Const PropertyTagThumbnailPlanes = &h5016
613Const PropertyTagThumbnailRawBytes = &h5017
614Const PropertyTagThumbnailSize = &h5018
615Const PropertyTagThumbnailCompressedSize = &h5019
616Const PropertyTagColorTransferFunction = &h501A
617Const PropertyTagThumbnailData = &h501B
618
619' Thumbnail related TAGs
620Const PropertyTagThumbnailImageWidth = &h5020
621Const PropertyTagThumbnailImageHeight = &h5021
622Const PropertyTagThumbnailBitsPerSample = &h5022
623Const PropertyTagThumbnailCompression = &h5023
624Const PropertyTagThumbnailPhotometricInterp = &h5024
625Const PropertyTagThumbnailImageDescription = &h5025
626Const PropertyTagThumbnailEquipMake = &h5026
627Const PropertyTagThumbnailEquipModel = &h5027
628Const PropertyTagThumbnailStripOffsets = &h5028
629Const PropertyTagThumbnailOrientation = &h5029
630Const PropertyTagThumbnailSamplesPerPixel = &h502A
631Const PropertyTagThumbnailRowsPerStrip = &h502B
632Const PropertyTagThumbnailStripBytesCount = &h502C
633Const PropertyTagThumbnailResolutionX = &h502D
634Const PropertyTagThumbnailResolutionY = &h502E
635Const PropertyTagThumbnailPlanarConfig = &h502F
636Const PropertyTagThumbnailResolutionUnit = &h5030
637Const PropertyTagThumbnailTransferFunction = &h5031
638Const PropertyTagThumbnailSoftwareUsed = &h5032
639Const PropertyTagThumbnailDateTime = &h5033
640Const PropertyTagThumbnailArtist = &h5034
641Const PropertyTagThumbnailWhitePoint = &h5035
642Const PropertyTagThumbnailPrimaryChromaticities = &h5036
643Const PropertyTagThumbnailYCbCrCoefficients = &h5037
644Const PropertyTagThumbnailYCbCrSubsampling = &h5038
645Const PropertyTagThumbnailYCbCrPositioning = &h5039
646Const PropertyTagThumbnailRefBlackWhite = &h503A
647Const PropertyTagThumbnailCopyRight = &h503B
648
649Const PropertyTagLuminanceTable = &h5090
650Const PropertyTagChrominanceTable = &h5091
651
652Const PropertyTagFrameDelay = &h5100
653Const PropertyTagLoopCount = &h5101
654
655Const PropertyTagPixelUnit = &h5110
656Const PropertyTagPixelPerUnitX = &h5111
657Const PropertyTagPixelPerUnitY = &h5112
658Const PropertyTagPaletteHistogram = &h5113
659
660' EXIF specific tag
661Const PropertyTagExifExposureTime = &h829A
662Const PropertyTagExifFNumber = &h829D
663
664Const PropertyTagExifExposureProg = &h8822
665Const PropertyTagExifSpectralSense = &h8824
666Const PropertyTagExifISOSpeed = &h8827
667Const PropertyTagExifOECF = &h8828
668
669Const PropertyTagExifVer = &h9000
670Const PropertyTagExifDTOrig = &h9003
671Const PropertyTagExifDTDigitized = &h9004
672
673Const PropertyTagExifCompConfig = &h9101
674Const PropertyTagExifCompBPP = &h9102
675
676Const PropertyTagExifShutterSpeed = &h9201
677Const PropertyTagExifAperture = &h9202
678Const PropertyTagExifBrightness = &h9203
679Const PropertyTagExifExposureBias = &h9204
680Const PropertyTagExifMaxAperture = &h9205
681Const PropertyTagExifSubjectDist = &h9206
682Const PropertyTagExifMeteringMode = &h9207
683Const PropertyTagExifLightSource = &h9208
684Const PropertyTagExifFlash = &h9209
685Const PropertyTagExifFocalLength = &h920A
686Const PropertyTagExifMakerNote = &h927C
687Const PropertyTagExifUserComment = &h9286
688Const PropertyTagExifDTSubsec = &h9290
689Const PropertyTagExifDTOrigSS = &h9291
690Const PropertyTagExifDTDigSS = &h9292
691
692Const PropertyTagExifFPXVer = &hA000
693Const PropertyTagExifColorSpace = &hA001
694Const PropertyTagExifPixXDim = &hA002
695Const PropertyTagExifPixYDim = &hA003
696Const PropertyTagExifRelatedWav = &hA004
697Const PropertyTagExifInterop = &hA005
698Const PropertyTagExifFlashEnergy = &hA20B
699Const PropertyTagExifSpatialFR = &hA20C
700Const PropertyTagExifFocalXRes = &hA20E
701Const PropertyTagExifFocalYRes = &hA20F
702Const PropertyTagExifFocalResUnit = &hA210
703Const PropertyTagExifSubjectLoc = &hA214
704Const PropertyTagExifExposureIndex = &hA215
705Const PropertyTagExifSensingMethod = &hA217
706Const PropertyTagExifFileSource = &hA300
707Const PropertyTagExifSceneType = &hA301
708Const PropertyTagExifCfaPattern = &hA302
709
710Const PropertyTagGpsVer = &h0000
711Const PropertyTagGpsLatitudeRef = &h0001
712Const PropertyTagGpsLatitude = &h0002
713Const PropertyTagGpsLongitudeRef = &h0003
714Const PropertyTagGpsLongitude = &h0004
715Const PropertyTagGpsAltitudeRef = &h0005
716Const PropertyTagGpsAltitude = &h0006
717Const PropertyTagGpsGpsTime = &h0007
718Const PropertyTagGpsGpsSatellites = &h0008
719Const PropertyTagGpsGpsStatus = &h0009
720Const PropertyTagGpsGpsMeasureMode = &h000A
721Const PropertyTagGpsGpsDop = &h000B
722Const PropertyTagGpsSpeedRef = &h000C
723Const PropertyTagGpsSpeed = &h000D
724Const PropertyTagGpsTrackRef = &h000E
725Const PropertyTagGpsTrack = &h000F
726Const PropertyTagGpsImgDirRef = &h0010
727Const PropertyTagGpsImgDir = &h0011
728Const PropertyTagGpsMapDatum = &h0012
729Const PropertyTagGpsDestLatRef = &h0013
730Const PropertyTagGpsDestLat = &h0014
731Const PropertyTagGpsDestLongRef = &h0015
732Const PropertyTagGpsDestLong = &h0016
733Const PropertyTagGpsDestBearRef = &h0017
734Const PropertyTagGpsDestBear = &h0018
735Const PropertyTagGpsDestDistRef = &h0019
736Const PropertyTagGpsDestDist = &h001A
737End Namespace
Note: See TracBrowser for help on using the repository browser.