- Timestamp:
- May 9, 2007, 10:26:36 PM (18 years ago)
- Location:
- branch/egtra-gdiplus
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branch/egtra-gdiplus/Classes/System/Drawing/Imaging/misc.ab
r212 r241 1 ' 1 'Classes/System/Drawing/Imaging/misc.ab 2 2 3 3 #ifndef __SYSTEM_DRAWING_IMAGING_MISC_AB__ … … 6 6 #include <Classes/System/Drawing/Color.ab> 7 7 8 TypeDef ARGB = DWord 9 TypeDef ARGB64 = QWord 8 Namespace System 9 Namespace Drawing 10 Namespace Imaging 10 11 11 12 Enum ColorMode … … 13 14 ARGB64 = 1 14 15 End Enum 15 16 Const ALPHA_SHIFT = 24 As DWord17 Const RED_SHIFT = 16 As DWord18 Const GREEN_SHIFT = 8 As DWord19 Const BLUE_SHIFT = 0 As DWord20 Const ALPHA_MASK = ((&hff As ARGB) << ALPHA_SHIFT)21 16 22 17 ' In-memory pixel data formats: … … 54 49 End Enum 55 50 56 Const GetPixelFormatSize(pixfmt) = ((((pixfmt As PixelFormat) >> 8) And &hff) As DWord)57 58 Const IsIndexedPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Indexed) <> 0) As BOOL)59 60 Const IsAlphaPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Alpha) <> 0) As BOOL)61 62 Const IsExtendedPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Extended) <> 0) As BOOL)63 64 Const IsCanonicalPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Canonical) <> 0) As BOOL)65 66 51 Enum PaletteFlags 67 52 PaletteFlagsHasAlpha = &h0001 … … 69 54 PaletteFlagsHalftone = &h0004 70 55 End Enum 71 72 Type Align(8) ColorPalette73 Flags As DWord74 Count As DWord75 Entries[1] As ARGB76 End Type77 56 78 57 Enum ColorAdjustType … … 86 65 End Enum 87 66 88 Type ColorMatrix89 m[5][5] As Single90 End Type91 92 67 Type ColorMap 93 68 OldColor As Color … … 129 104 End Type 130 105 131 Type Align(8) EncoderParameter132 Guid As GUID133 NumberOfValues As DWord134 EncoderType As DWord '元はTypeという名前135 Value As VoidPtr136 End Type137 138 Type Align(8) EncoderParameters139 Count As DWord140 Parameter[1] As EncoderParameter141 End Type142 143 106 Type Align(8) PropertyItem 144 107 id As PROPID … … 148 111 End Type 149 112 150 Const PropertyTagTypeByte = 1151 Const PropertyTagTypeASCII = 2152 Const PropertyTagTypeShort = 3153 Const PropertyTagTypeLong = 4154 Const PropertyTagTypeRational = 5155 Const PropertyTagTypeUndefined = 7156 Const PropertyTagTypeSLONG = 9157 Const PropertyTagTypeSRational = 10158 159 Const PropertyTagExifIFD = &h8769160 Const PropertyTagGpsIFD = &h8825161 162 Const PropertyTagNewSubfileType = &h00FE163 Const PropertyTagSubfileType = &h00FF164 Const PropertyTagImageWidth = &h0100165 Const PropertyTagImageHeight = &h0101166 Const PropertyTagBitsPerSample = &h0102167 Const PropertyTagCompression = &h0103168 Const PropertyTagPhotometricInterp = &h0106169 Const PropertyTagThreshHolding = &h0107170 Const PropertyTagCellWidth = &h0108171 Const PropertyTagCellHeight = &h0109172 Const PropertyTagFillOrder = &h010A173 Const PropertyTagDocumentName = &h010D174 Const PropertyTagImageDescription = &h010E175 Const PropertyTagEquipMake = &h010F176 Const PropertyTagEquipModel = &h0110177 Const PropertyTagStripOffsets = &h0111178 Const PropertyTagOrientation = &h0112179 Const PropertyTagSamplesPerPixel = &h0115180 Const PropertyTagRowsPerStrip = &h0116181 Const PropertyTagStripBytesCount = &h0117182 Const PropertyTagMinSampleValue = &h0118183 Const PropertyTagMaxSampleValue = &h0119184 Const PropertyTagXResolution = &h011A ' Image resolution in width direction185 Const PropertyTagYResolution = &h011B ' Image resolution in height direction186 Const PropertyTagPlanarConfig = &h011C ' Image data arrangement187 Const PropertyTagPageName = &h011D188 Const PropertyTagXPosition = &h011E189 Const PropertyTagYPosition = &h011F190 Const PropertyTagFreeOffset = &h0120191 Const PropertyTagFreeByteCounts = &h0121192 Const PropertyTagGrayResponseUnit = &h0122193 Const PropertyTagGrayResponseCurve = &h0123194 Const PropertyTagT4Option = &h0124195 Const PropertyTagT6Option = &h0125196 Const PropertyTagResolutionUnit = &h0128 ' Unit of X and Y resolution197 Const PropertyTagPageNumber = &h0129198 Const PropertyTagTransferFuncition = &h012D199 Const PropertyTagSoftwareUsed = &h0131200 Const PropertyTagDateTime = &h0132201 Const PropertyTagArtist = &h013B202 Const PropertyTagHostComputer = &h013C203 Const PropertyTagPredictor = &h013D204 Const PropertyTagWhitePoint = &h013E205 Const PropertyTagPrimaryChromaticities = &h013F206 Const PropertyTagColorMap = &h0140207 Const PropertyTagHalftoneHints = &h0141208 Const PropertyTagTileWidth = &h0142209 Const PropertyTagTileLength = &h0143210 Const PropertyTagTileOffset = &h0144211 Const PropertyTagTileByteCounts = &h0145212 Const PropertyTagInkSet = &h014C213 Const PropertyTagInkNames = &h014D214 Const PropertyTagNumberOfInks = &h014E215 Const PropertyTagDotRange = &h0150216 Const PropertyTagTargetPrinter = &h0151217 Const PropertyTagExtraSamples = &h0152218 Const PropertyTagSampleFormat = &h0153219 Const PropertyTagSMinSampleValue = &h0154220 Const PropertyTagSMaxSampleValue = &h0155221 Const PropertyTagTransferRange = &h0156222 223 Const PropertyTagJPEGProc = &h0200224 Const PropertyTagJPEGInterFormat = &h0201225 Const PropertyTagJPEGInterLength = &h0202226 Const PropertyTagJPEGRestartInterval = &h0203227 Const PropertyTagJPEGLosslessPredictors = &h0205228 Const PropertyTagJPEGPointTransforms = &h0206229 Const PropertyTagJPEGQTables = &h0207230 Const PropertyTagJPEGDCTables = &h0208231 Const PropertyTagJPEGACTables = &h0209232 233 Const PropertyTagYCbCrCoefficients = &h0211234 Const PropertyTagYCbCrSubsampling = &h0212235 Const PropertyTagYCbCrPositioning = &h0213236 Const PropertyTagREFBlackWhite = &h0214237 238 Const PropertyTagICCProfile = &h8773 ' This TAG is defined by ICC239 ' for embedded ICC in TIFF240 Const PropertyTagGamma = &h0301241 Const PropertyTagICCProfileDescriptor = &h0302242 Const PropertyTagSRGBRenderingIntent = &h0303243 244 Const PropertyTagImageTitle = &h0320245 Const PropertyTagCopyright = &h8298246 247 ' Extra TAGs (Like Adobe Image Information tags etc.)248 249 Const PropertyTagResolutionXUnit = &h5001250 Const PropertyTagResolutionYUnit = &h5002251 Const PropertyTagResolutionXLengthUnit = &h5003252 Const PropertyTagResolutionYLengthUnit = &h5004253 Const PropertyTagPrintFlags = &h5005254 Const PropertyTagPrintFlagsVersion = &h5006255 Const PropertyTagPrintFlagsCrop = &h5007256 Const PropertyTagPrintFlagsBleedWidth = &h5008257 Const PropertyTagPrintFlagsBleedWidthScale = &h5009258 Const PropertyTagHalftoneLPI = &h500A259 Const PropertyTagHalftoneLPIUnit = &h500B260 Const PropertyTagHalftoneDegree = &h500C261 Const PropertyTagHalftoneShape = &h500D262 Const PropertyTagHalftoneMisc = &h500E263 Const PropertyTagHalftoneScreen = &h500F264 Const PropertyTagJPEGQuality = &h5010265 Const PropertyTagGridSize = &h5011266 Const PropertyTagThumbnailFormat = &h5012 ' 1 = JPEG, 0 = RAW RGB267 Const PropertyTagThumbnailWidth = &h5013268 Const PropertyTagThumbnailHeight = &h5014269 Const PropertyTagThumbnailColorDepth = &h5015270 Const PropertyTagThumbnailPlanes = &h5016271 Const PropertyTagThumbnailRawBytes = &h5017272 Const PropertyTagThumbnailSize = &h5018273 Const PropertyTagThumbnailCompressedSize = &h5019274 Const PropertyTagColorTransferFunction = &h501A275 Const PropertyTagThumbnailData = &h501B' RAW thumbnail bits in276 ' JPEG format or RGB format277 ' depends on278 ' PropertyTagThumbnailFormat279 280 ' Thumbnail related TAGs281 282 Const PropertyTagThumbnailImageWidth = &h5020 ' Thumbnail width283 Const PropertyTagThumbnailImageHeight = &h5021 ' Thumbnail height284 Const PropertyTagThumbnailBitsPerSample = &h5022 ' Number of bits per285 ' component286 Const PropertyTagThumbnailCompression = &h5023 ' Compression Scheme287 Const PropertyTagThumbnailPhotometricInterp = &h5024 ' Pixel composition288 Const PropertyTagThumbnailImageDescription = &h5025 ' Image Tile289 Const PropertyTagThumbnailEquipMake = &h5026 ' Manufacturer of Image290 ' Input equipment291 Const PropertyTagThumbnailEquipModel = &h5027 ' Model of Image input292 ' equipment293 Const PropertyTagThumbnailStripOffsets = &h5028 ' Image data location294 Const PropertyTagThumbnailOrientation = &h5029 ' Orientation of image295 Const PropertyTagThumbnailSamplesPerPixel = &h502A ' Number of components296 Const PropertyTagThumbnailRowsPerStrip = &h502B ' Number of rows per strip297 Const PropertyTagThumbnailStripBytesCount = &h502C ' Bytes per compressed298 ' strip299 Const PropertyTagThumbnailResolutionX = &h502D ' Resolution in width300 ' direction301 Const PropertyTagThumbnailResolutionY = &h502E ' Resolution in height302 ' direction303 Const PropertyTagThumbnailPlanarConfig = &h502F ' Image data arrangement304 Const PropertyTagThumbnailResolutionUnit = &h5030 ' Unit of X and Y305 ' Resolution306 Const PropertyTagThumbnailTransferFunction = &h5031 ' Transfer function307 Const PropertyTagThumbnailSoftwareUsed = &h5032 ' Software used308 Const PropertyTagThumbnailDateTime = &h5033 ' File change date and309 ' time310 Const PropertyTagThumbnailArtist = &h5034 ' Person who created the311 ' image312 Const PropertyTagThumbnailWhitePoint = &h5035 ' White point chromaticity313 Const PropertyTagThumbnailPrimaryChromaticities = &h5036314 ' Chromaticities of315 ' primaries316 Const PropertyTagThumbnailYCbCrCoefficients = &h5037 ' Color space transforma-317 ' tion coefficients318 Const PropertyTagThumbnailYCbCrSubsampling = &h5038 ' Subsampling ratio of Y319 ' to C320 Const PropertyTagThumbnailYCbCrPositioning = &h5039 ' Y and C position321 Const PropertyTagThumbnailRefBlackWhite = &h503A ' Pair of black and white322 ' reference values323 Const PropertyTagThumbnailCopyRight = &h503B ' CopyRight holder324 325 Const PropertyTagLuminanceTable = &h5090326 Const PropertyTagChrominanceTable = &h5091327 328 Const PropertyTagFrameDelay = &h5100329 Const PropertyTagLoopCount = &h5101330 331 Const PropertyTagPixelUnit = &h5110 ' Unit specifier for pixel/unit332 Const PropertyTagPixelPerUnitX = &h5111 ' Pixels per unit in X333 Const PropertyTagPixelPerUnitY = &h5112 ' Pixels per unit in Y334 Const PropertyTagPaletteHistogram = &h5113 ' Palette histogram335 336 ' EXIF specific tag337 338 Const PropertyTagExifExposureTime = &h829A339 Const PropertyTagExifFNumber = &h829D340 341 Const PropertyTagExifExposureProg = &h8822342 Const PropertyTagExifSpectralSense = &h8824343 Const PropertyTagExifISOSpeed = &h8827344 Const PropertyTagExifOECF = &h8828345 346 Const PropertyTagExifVer = &h9000347 Const PropertyTagExifDTOrig = &h9003 ' Date & time of original348 Const PropertyTagExifDTDigitized = &h9004 ' Date & time of digital data generation349 350 Const PropertyTagExifCompConfig = &h9101351 Const PropertyTagExifCompBPP = &h9102352 353 Const PropertyTagExifShutterSpeed = &h9201354 Const PropertyTagExifAperture = &h9202355 Const PropertyTagExifBrightness = &h9203356 Const PropertyTagExifExposureBias = &h9204357 Const PropertyTagExifMaxAperture = &h9205358 Const PropertyTagExifSubjectDist = &h9206359 Const PropertyTagExifMeteringMode = &h9207360 Const PropertyTagExifLightSource = &h9208361 Const PropertyTagExifFlash = &h9209362 Const PropertyTagExifFocalLength = &h920A363 Const PropertyTagExifMakerNote = &h927C364 Const PropertyTagExifUserComment = &h9286365 Const PropertyTagExifDTSubsec = &h9290 ' Date & Time subseconds366 Const PropertyTagExifDTOrigSS = &h9291 ' Date & Time original subseconds367 Const PropertyTagExifDTDigSS = &h9292 ' Date & TIme digitized subseconds368 369 Const PropertyTagExifFPXVer = &hA000370 Const PropertyTagExifColorSpace = &hA001371 Const PropertyTagExifPixXDim = &hA002372 Const PropertyTagExifPixYDim = &hA003373 Const PropertyTagExifRelatedWav = &hA004 ' related sound file374 Const PropertyTagExifInterop = &hA005375 Const PropertyTagExifFlashEnergy = &hA20B376 Const PropertyTagExifSpatialFR = &hA20C ' Spatial Frequency Response377 Const PropertyTagExifFocalXRes = &hA20E ' Focal Plane X Resolution378 Const PropertyTagExifFocalYRes = &hA20F ' Focal Plane Y Resolution379 Const PropertyTagExifFocalResUnit = &hA210 ' Focal Plane Resolution Unit380 Const PropertyTagExifSubjectLoc = &hA214381 Const PropertyTagExifExposureIndex = &hA215382 Const PropertyTagExifSensingMethod = &hA217383 Const PropertyTagExifFileSource = &hA300384 Const PropertyTagExifSceneType = &hA301385 Const PropertyTagExifCfaPattern = &hA302386 387 Const PropertyTagGpsVer = &h0000388 Const PropertyTagGpsLatitudeRef = &h0001389 Const PropertyTagGpsLatitude = &h0002390 Const PropertyTagGpsLongitudeRef = &h0003391 Const PropertyTagGpsLongitude = &h0004392 Const PropertyTagGpsAltitudeRef = &h0005393 Const PropertyTagGpsAltitude = &h0006394 Const PropertyTagGpsGpsTime = &h0007395 Const PropertyTagGpsGpsSatellites = &h0008396 Const PropertyTagGpsGpsStatus = &h0009397 Const PropertyTagGpsGpsMeasureMode = &h00A398 Const PropertyTagGpsGpsDop = &h000B ' Measurement precision399 Const PropertyTagGpsSpeedRef = &h000C400 Const PropertyTagGpsSpeed = &h000D401 Const PropertyTagGpsTrackRef = &h000E402 Const PropertyTagGpsTrack = &h000F403 Const PropertyTagGpsImgDirRef = &h0010404 Const PropertyTagGpsImgDir = &h0011405 Const PropertyTagGpsMapDatum = &h0012406 Const PropertyTagGpsDestLatRef = &h0013407 Const PropertyTagGpsDestLat = &h0014408 Const PropertyTagGpsDestLongRef = &h0015409 Const PropertyTagGpsDestLong = &h0016410 Const PropertyTagGpsDestBearRef = &h0017411 Const PropertyTagGpsDestBear = &h0018412 Const PropertyTagGpsDestDistRef = &h0019413 Const PropertyTagGpsDestDist = &h001A414 415 Type ImageCodecInfo416 Clsid As CLSID417 FormatID As GUID418 CodecName As PCWSTR419 DllName As PCWSTR420 FormatDescription As PCWSTR421 FilenameExtension As PCWSTR422 MimeType As PCWSTR423 Flags As DWord424 Version As DWord425 SigCount As DWord426 SigSize As DWord427 SigPattern As *Byte428 SigMask As DWord429 End Type430 431 113 Enum ColorChannelFlag 432 114 ColorChannelC = 0 … … 437 119 End Enum 438 120 121 Const GDIP_EMFPLUS_RECORD_BASE = &h00004000 122 Const GDIP_WMF_RECORD_BASE = &h00010000 123 Const GDIP_WMF_RECORD_TO_EMFPLUS(n) = ((n) Or GDIP_WMF_RECORD_BASE) ' As EmfPlusRecordType 124 Const GDIP_EMFPLUS_RECORD_TO_WMF(n) = ((n) And (Not GDIP_WMF_RECORD_BASE)) 125 'Const GDIP_IS_WMF_RECORDTYPE(n) (((n) And GDIP_WMF_RECORD_BASE) <> 0) 126 Function GDIP_IS_WMF_RECORDTYPE(n As DWord) As BOOL 127 If (n And GDIP_WMF_RECORD_BASE) <> 0 Then 128 GDIP_IS_WMF_RECORDTYPE = TRUE 129 Else 130 GDIP_IS_WMF_RECORDTYPE = FALSE 131 End If 132 End Function 133 134 Enum EmfPlusRecordType 135 /* 136 WmfRecordTypeSetBkColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR) 137 WmfRecordTypeSetBkMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE) 138 WmfRecordTypeSetMapMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE) 139 WmfRecordTypeSetROP2 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETROP2) 140 WmfRecordTypeSetRelAbs = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETRELABS) 141 WmfRecordTypeSetPolyFillMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPOLYFILLMODE) 142 WmfRecordTypeSetStretchBltMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETSTRETCHBLTMODE) 143 WmfRecordTypeSetTextCharExtra = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCHAREXTRA) 144 WmfRecordTypeSetTextColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCOLOR) 145 WmfRecordTypeSetTextJustification = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTJUSTIFICATION) 146 WmfRecordTypeSetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWORG) 147 WmfRecordTypeSetWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWEXT) 148 WmfRecordTypeSetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTORG) 149 WmfRecordTypeSetViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTEXT) 150 WmfRecordTypeOffsetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETWINDOWORG) 151 WmfRecordTypeScaleWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEWINDOWEXT) 152 WmfRecordTypeOffsetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETVIEWPORTORG) 153 WmfRecordTypeScaleViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEVIEWPORTEXT) 154 WmfRecordTypeLineTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_LINETO) 155 WmfRecordTypeMoveTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_MOVETO) 156 WmfRecordTypeExcludeClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXCLUDECLIPRECT) 157 WmfRecordTypeIntersectClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_INTERSECTCLIPRECT) 158 WmfRecordTypeArc = GDIP_WMF_RECORD_TO_EMFPLUS(META_ARC) 159 WmfRecordTypeEllipse = GDIP_WMF_RECORD_TO_EMFPLUS(META_ELLIPSE) 160 WmfRecordTypeFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_FLOODFILL) 161 WmfRecordTypePie = GDIP_WMF_RECORD_TO_EMFPLUS(META_PIE) 162 WmfRecordTypeRectangle = GDIP_WMF_RECORD_TO_EMFPLUS(META_RECTANGLE) 163 WmfRecordTypeRoundRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_ROUNDRECT) 164 WmfRecordTypePatBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_PATBLT) 165 WmfRecordTypeSaveDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_SAVEDC) 166 WmfRecordTypeSetPixel = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPIXEL) 167 WmfRecordTypeOffsetClipRgn = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETCLIPRGN) 168 WmfRecordTypeTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_TEXTOUT) 169 WmfRecordTypeBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_BITBLT) 170 WmfRecordTypeStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHBLT) 171 WmfRecordTypePolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYGON) 172 WmfRecordTypePolyline = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYLINE) 173 WmfRecordTypeEscape = GDIP_WMF_RECORD_TO_EMFPLUS(META_ESCAPE) 174 WmfRecordTypeRestoreDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESTOREDC) 175 WmfRecordTypeFillRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FILLREGION) 176 WmfRecordTypeFrameRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FRAMEREGION) 177 WmfRecordTypeInvertRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_INVERTREGION) 178 WmfRecordTypePaintRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_PAINTREGION) 179 WmfRecordTypeSelectClipRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTCLIPREGION) 180 WmfRecordTypeSelectObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTOBJECT) 181 WmfRecordTypeSetTextAlign = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTALIGN) 182 WmfRecordTypeDrawText = GDIP_WMF_RECORD_TO_EMFPLUS(&h062F) ' META_DRAWTEXT 183 WmfRecordTypeChord = GDIP_WMF_RECORD_TO_EMFPLUS(META_CHORD) 184 WmfRecordTypeSetMapperFlags = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPPERFLAGS) 185 WmfRecordTypeExtTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTTEXTOUT) 186 WmfRecordTypeSetDIBToDev = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETDIBTODEV) 187 WmfRecordTypeSelectPalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTPALETTE) 188 WmfRecordTypeRealizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_REALIZEPALETTE) 189 WmfRecordTypeAnimatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_ANIMATEPALETTE) 190 WmfRecordTypeSetPalEntries = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPALENTRIES) 191 WmfRecordTypePolyPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYPOLYGON) 192 WmfRecordTypeResizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESIZEPALETTE) 193 WmfRecordTypeDIBBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBBITBLT) 194 WmfRecordTypeDIBStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBSTRETCHBLT) 195 WmfRecordTypeDIBCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBCREATEPATTERNBRUSH) 196 WmfRecordTypeStretchDIB = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHDIB) 197 WmfRecordTypeExtFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTFLOODFILL) 198 WmfRecordTypeSetLayout = GDIP_WMF_RECORD_TO_EMFPLUS(&h0149) ' META_SETLAYOUT 199 WmfRecordTypeResetDC = GDIP_WMF_RECORD_TO_EMFPLUS(&h014C) ' META_RESETDC 200 WmfRecordTypeStartDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h014D) ' META_STARTDOC 201 WmfRecordTypeStartPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h004F) ' META_STARTPAGE 202 WmfRecordTypeEndPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h0050) ' META_ENDPAGE 203 WmfRecordTypeAbortDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h0052) ' META_ABORTDOC 204 WmfRecordTypeEndDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h005E) ' META_ENDDOC 205 WmfRecordTypeDeleteObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_DELETEOBJECT) 206 WmfRecordTypeCreatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPALETTE) 207 WmfRecordTypeCreateBrush = GDIP_WMF_RECORD_TO_EMFPLUS(&h00F8) ' META_CREATEBRUSH 208 WmfRecordTypeCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPATTERNBRUSH) 209 WmfRecordTypeCreatePenIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPENINDIRECT) 210 WmfRecordTypeCreateFontIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEFONTINDIRECT) 211 WmfRecordTypeCreateBrushIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEBRUSHINDIRECT) 212 WmfRecordTypeCreateBitmapIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(&h02FD) ' META_CREATEBITMAPINDIRECT 213 WmfRecordTypeCreateBitmap = GDIP_WMF_RECORD_TO_EMFPLUS(&h06FE) ' META_CREATEBITMAP 214 WmfRecordTypeCreateRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION) 215 216 EmfRecordTypeHeader = EMR_HEADER 217 EmfRecordTypePolyBezier = EMR_POLYBEZIER 218 EmfRecordTypePolygon = EMR_POLYGON 219 EmfRecordTypePolyline = EMR_POLYLINE 220 EmfRecordTypePolyBezierTo = EMR_POLYBEZIERTO 221 EmfRecordTypePolyLineTo = EMR_POLYLINETO 222 EmfRecordTypePolyPolyline = EMR_POLYPOLYLINE 223 EmfRecordTypePolyPolygon = EMR_POLYPOLYGON 224 EmfRecordTypeSetWindowExtEx = EMR_SETWINDOWEXTEX 225 EmfRecordTypeSetWindowOrgEx = EMR_SETWINDOWORGEX 226 EmfRecordTypeSetViewportExtEx = EMR_SETVIEWPORTEXTEX 227 EmfRecordTypeSetViewportOrgEx = EMR_SETVIEWPORTORGEX 228 EmfRecordTypeSetBrushOrgEx = EMR_SETBRUSHORGEX 229 EmfRecordTypeEOF = EMR_EOF 230 EmfRecordTypeSetPixelV = EMR_SETPIXELV 231 EmfRecordTypeSetMapperFlags = EMR_SETMAPPERFLAGS 232 EmfRecordTypeSetMapMode = EMR_SETMAPMODE 233 EmfRecordTypeSetBkMode = EMR_SETBKMODE 234 EmfRecordTypeSetPolyFillMode = EMR_SETPOLYFILLMODE 235 EmfRecordTypeSetROP2 = EMR_SETROP2 236 EmfRecordTypeSetStretchBltMode = EMR_SETSTRETCHBLTMODE 237 EmfRecordTypeSetTextAlign = EMR_SETTEXTALIGN 238 EmfRecordTypeSetColorAdjustment = EMR_SETCOLORADJUSTMENT 239 EmfRecordTypeSetTextColor = EMR_SETTEXTCOLOR 240 EmfRecordTypeSetBkColor = EMR_SETBKCOLOR 241 EmfRecordTypeOffsetClipRgn = EMR_OFFSETCLIPRGN 242 EmfRecordTypeMoveToEx = EMR_MOVETOEX 243 EmfRecordTypeSetMetaRgn = EMR_SETMETARGN 244 EmfRecordTypeExcludeClipRect = EMR_EXCLUDECLIPRECT 245 EmfRecordTypeIntersectClipRect = EMR_INTERSECTCLIPRECT 246 EmfRecordTypeScaleViewportExtEx = EMR_SCALEVIEWPORTEXTEX 247 EmfRecordTypeScaleWindowExtEx = EMR_SCALEWINDOWEXTEX 248 EmfRecordTypeSaveDC = EMR_SAVEDC 249 EmfRecordTypeRestoreDC = EMR_RESTOREDC 250 EmfRecordTypeSetWorldTransform = EMR_SETWORLDTRANSFORM 251 EmfRecordTypeModifyWorldTransform = EMR_MODIFYWORLDTRANSFORM 252 EmfRecordTypeSelectObject = EMR_SELECTOBJECT 253 EmfRecordTypeCreatePen = EMR_CREATEPEN 254 EmfRecordTypeCreateBrushIndirect = EMR_CREATEBRUSHINDIRECT 255 EmfRecordTypeDeleteObject = EMR_DELETEOBJECT 256 EmfRecordTypeAngleArc = EMR_ANGLEARC 257 EmfRecordTypeEllipse = EMR_ELLIPSE 258 EmfRecordTypeRectangle = EMR_RECTANGLE 259 EmfRecordTypeRoundRect = EMR_ROUNDRECT 260 EmfRecordTypeArc = EMR_ARC 261 EmfRecordTypeChord = EMR_CHORD 262 EmfRecordTypePie = EMR_PIE 263 EmfRecordTypeSelectPalette = EMR_SELECTPALETTE 264 EmfRecordTypeCreatePalette = EMR_CREATEPALETTE 265 EmfRecordTypeSetPaletteEntries = EMR_SETPALETTEENTRIES 266 EmfRecordTypeResizePalette = EMR_RESIZEPALETTE 267 EmfRecordTypeRealizePalette = EMR_REALIZEPALETTE 268 EmfRecordTypeExtFloodFill = EMR_EXTFLOODFILL 269 EmfRecordTypeLineTo = EMR_LINETO 270 EmfRecordTypeArcTo = EMR_ARCTO 271 EmfRecordTypePolyDraw = EMR_POLYDRAW 272 EmfRecordTypeSetArcDirection = EMR_SETARCDIRECTION 273 EmfRecordTypeSetMiterLimit = EMR_SETMITERLIMIT 274 EmfRecordTypeBeginPath = EMR_BEGINPATH 275 EmfRecordTypeEndPath = EMR_ENDPATH 276 EmfRecordTypeCloseFigure = EMR_CLOSEFIGURE 277 EmfRecordTypeFillPath = EMR_FILLPATH 278 EmfRecordTypeStrokeAndFillPath = EMR_STROKEANDFILLPATH 279 EmfRecordTypeStrokePath = EMR_STROKEPATH 280 EmfRecordTypeFlattenPath = EMR_FLATTENPATH 281 EmfRecordTypeWidenPath = EMR_WIDENPATH 282 EmfRecordTypeSelectClipPath = EMR_SELECTCLIPPATH 283 EmfRecordTypeAbortPath = EMR_ABORTPATH 284 EmfRecordTypeReserved_069 = 69 ' Not Used 285 EmfRecordTypeGdiComment = EMR_GDICOMMENT 286 EmfRecordTypeFillRgn = EMR_FILLRGN 287 EmfRecordTypeFrameRgn = EMR_FRAMERGN 288 EmfRecordTypeInvertRgn = EMR_INVERTRGN 289 EmfRecordTypePaintRgn = EMR_PAINTRGN 290 EmfRecordTypeExtSelectClipRgn = EMR_EXTSELECTCLIPRGN 291 EmfRecordTypeBitBlt = EMR_BITBLT 292 EmfRecordTypeStretchBlt = EMR_STRETCHBLT 293 EmfRecordTypeMaskBlt = EMR_MASKBLT 294 EmfRecordTypePlgBlt = EMR_PLGBLT 295 EmfRecordTypeSetDIBitsToDevice = EMR_SETDIBITSTODEVICE 296 EmfRecordTypeStretchDIBits = EMR_STRETCHDIBITS 297 EmfRecordTypeExtCreateFontIndirect = EMR_EXTCREATEFONTINDIRECTW 298 EmfRecordTypeExtTextOutA = EMR_EXTTEXTOUTA 299 EmfRecordTypeExtTextOutW = EMR_EXTTEXTOUTW 300 EmfRecordTypePolyBezier16 = EMR_POLYBEZIER16 301 EmfRecordTypePolygon16 = EMR_POLYGON16 302 EmfRecordTypePolyline16 = EMR_POLYLINE16 303 EmfRecordTypePolyBezierTo16 = EMR_POLYBEZIERTO16 304 EmfRecordTypePolylineTo16 = EMR_POLYLINETO16 305 EmfRecordTypePolyPolyline16 = EMR_POLYPOLYLINE16 306 EmfRecordTypePolyPolygon16 = EMR_POLYPOLYGON16 307 EmfRecordTypePolyDraw16 = EMR_POLYDRAW16 308 EmfRecordTypeCreateMonoBrush = EMR_CREATEMONOBRUSH 309 EmfRecordTypeCreateDIBPatternBrushPt = EMR_CREATEDIBPATTERNBRUSHPT 310 EmfRecordTypeExtCreatePen = EMR_EXTCREATEPEN 311 EmfRecordTypePolyTextOutA = EMR_POLYTEXTOUTA 312 EmfRecordTypePolyTextOutW = EMR_POLYTEXTOUTW 313 EmfRecordTypeSetICMMode = 98 ' EMR_SETICMMODE 314 EmfRecordTypeCreateColorSpace = 99 ' EMR_CREATECOLORSPACE 315 EmfRecordTypeSetColorSpace = 100 ' EMR_SETCOLORSPACE 316 EmfRecordTypeDeleteColorSpace = 101 ' EMR_DELETECOLORSPACE 317 EmfRecordTypeGLSRecord = 102 ' EMR_GLSRECORD 318 EmfRecordTypeGLSBoundedRecord = 103 ' EMR_GLSBOUNDEDRECORD 319 EmfRecordTypePixelFormat = 104 ' EMR_PIXELFORMAT 320 EmfRecordTypeDrawEscape = 105 ' EMR_RESERVED_105 321 EmfRecordTypeExtEscape = 106 ' EMR_RESERVED_106 322 EmfRecordTypeStartDoc = 107 ' EMR_RESERVED_107 323 EmfRecordTypeSmallTextOut = 108 ' EMR_RESERVED_108 324 EmfRecordTypeForceUFIMapping = 109 ' EMR_RESERVED_109 325 EmfRecordTypeNamedEscape = 110 ' EMR_RESERVED_110 326 EmfRecordTypeColorCorrectPalette = 111 ' EMR_COLORCORRECTPALETTE 327 EmfRecordTypeSetICMProfileA = 112 ' EMR_SETICMPROFILEA 328 EmfRecordTypeSetICMProfileW = 113 ' EMR_SETICMPROFILEW 329 EmfRecordTypeAlphaBlend = 114 ' EMR_ALPHABLEND 330 EmfRecordTypeSetLayout = 115 ' EMR_SETLAYOUT 331 EmfRecordTypeTransparentBlt = 116 ' EMR_TRANSPARENTBLT 332 EmfRecordTypeReserved_117 = 117 ' Not Used 333 EmfRecordTypeGradientFill = 118 ' EMR_GRADIENTFILL 334 EmfRecordTypeSetLinkedUFIs = 119 ' EMR_RESERVED_119 335 EmfRecordTypeSetTextJustification = 120 ' EMR_RESERVED_120 336 EmfRecordTypeColorMatchToTargetW = 121 ' EMR_COLORMATCHTOTARGETW 337 EmfRecordTypeCreateColorSpaceW = 122 ' EMR_CREATECOLORSPACEW 338 EmfRecordTypeMax = 122 339 EmfRecordTypeMin = 1 340 341 EmfPlusRecordTypeInvalid = GDIP_EMFPLUS_RECORD_BASE 342 EmfPlusRecordTypeHeader 343 EmfPlusRecordTypeEndOfFile 344 345 EmfPlusRecordTypeComment 346 347 EmfPlusRecordTypeGetDC 348 349 EmfPlusRecordTypeMultiFormatStart 350 EmfPlusRecordTypeMultiFormatSection 351 EmfPlusRecordTypeMultiFormatEnd 352 353 EmfPlusRecordTypeObject 354 355 EmfPlusRecordTypeClear 356 EmfPlusRecordTypeFillRects 357 EmfPlusRecordTypeDrawRects 358 EmfPlusRecordTypeFillPolygon 359 EmfPlusRecordTypeDrawLines 360 EmfPlusRecordTypeFillEllipse 361 EmfPlusRecordTypeDrawEllipse 362 EmfPlusRecordTypeFillPie 363 EmfPlusRecordTypeDrawPie 364 EmfPlusRecordTypeDrawArc 365 EmfPlusRecordTypeFillRegion 366 EmfPlusRecordTypeFillPath 367 EmfPlusRecordTypeDrawPath 368 EmfPlusRecordTypeFillClosedCurve 369 EmfPlusRecordTypeDrawClosedCurve 370 EmfPlusRecordTypeDrawCurve 371 EmfPlusRecordTypeDrawBeziers 372 EmfPlusRecordTypeDrawImage 373 EmfPlusRecordTypeDrawImagePoints 374 EmfPlusRecordTypeDrawString 375 376 EmfPlusRecordTypeSetRenderingOrigin 377 EmfPlusRecordTypeSetAntiAliasMode 378 EmfPlusRecordTypeSetTextRenderingHint 379 EmfPlusRecordTypeSetTextContrast 380 EmfPlusRecordTypeSetInterpolationMode 381 EmfPlusRecordTypeSetPixelOffsetMode 382 EmfPlusRecordTypeSetCompositingMode 383 EmfPlusRecordTypeSetCompositingQuality 384 EmfPlusRecordTypeSave 385 EmfPlusRecordTypeRestore 386 EmfPlusRecordTypeBeginContainer 387 EmfPlusRecordTypeBeginContainerNoParams 388 EmfPlusRecordTypeEndContainer 389 EmfPlusRecordTypeSetWorldTransform 390 EmfPlusRecordTypeResetWorldTransform 391 EmfPlusRecordTypeMultiplyWorldTransform 392 EmfPlusRecordTypeTranslateWorldTransform 393 EmfPlusRecordTypeScaleWorldTransform 394 EmfPlusRecordTypeRotateWorldTransform 395 EmfPlusRecordTypeSetPageTransform 396 EmfPlusRecordTypeResetClip 397 EmfPlusRecordTypeSetClipRect 398 EmfPlusRecordTypeSetClipPath 399 EmfPlusRecordTypeSetClipRegion 400 EmfPlusRecordTypeOffsetClip 401 402 EmfPlusRecordTypeDrawDriverString 403 404 EmfPlusRecordTotal 405 406 EmfPlusRecordTypeMax = EmfPlusRecordTotal-1 407 EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader */ 408 End Enum 409 410 End Namespace 'System 411 End Namespace 'Drawing 412 End Namespace 'Imaging 413 414 439 415 #endif '__SYSTEM_DRAWING_IMAGING_MISC_AB__
Note:
See TracChangeset
for help on using the changeset viewer.