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

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

Imageクラスを追加
(#242)

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