Changeset 705
- Timestamp:
- Apr 9, 2009, 10:24:28 PM (16 years ago)
- Location:
- trunk/ab5.0/ablib/src
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/Drawing/Graphics.ab
r703 r705 7 7 Public 8 8 nativeImage As *GpImageAttributes 9 End Class10 Class Metafile11 Inherits Image12 9 End Class 13 10 Class Region … … 894 891 End Sub 895 892 896 Sub EnumerateMetafile(metafile As Metafile, ByRef destPoint As PointF,893 Sub EnumerateMetafile(metafile As Imaging.Metafile, ByRef destPoint As PointF, 897 894 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) 898 895 … … 906 903 End Sub 907 904 908 Sub EnumerateMetafile(metafile As Metafile, ByRef destPoint As Point,905 Sub EnumerateMetafile(metafile As Imaging.Metafile, ByRef destPoint As Point, 909 906 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) 910 907 … … 918 915 End Sub 919 916 920 Sub EnumerateMetafile(metafile As Metafile, ByRef destRect As RectangleF,917 Sub EnumerateMetafile(metafile As Imaging.Metafile, ByRef destRect As RectangleF, 921 918 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) 922 919 … … 930 927 End Sub 931 928 932 Sub EnumerateMetafile(metafile As Metafile, ByRef destRect As Rectangle,929 Sub EnumerateMetafile(metafile As Imaging.Metafile, ByRef destRect As Rectangle, 933 930 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) 934 931 … … 942 939 End Sub 943 940 944 Sub EnumerateMetafile(metafile As Metafile, destPoints As *PointF, count As Long,941 Sub EnumerateMetafile(metafile As Imaging.Metafile, destPoints As *PointF, count As Long, 945 942 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) 946 943 … … 954 951 End Sub 955 952 956 Sub EnumerateMetafile(metafile As Metafile, destPoints As *Point, count As Long,953 Sub EnumerateMetafile(metafile As Imaging.Metafile, destPoints As *Point, count As Long, 957 954 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) 958 955 … … 966 963 End Sub 967 964 968 Sub EnumerateMetafile(metafile As Metafile,965 Sub EnumerateMetafile(metafile As Imaging.Metafile, 969 966 ByRef destPoint As PointF, ByRef srcRect As RectangleF, srcUnit As GraphicsUnit, 970 967 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) … … 979 976 End Sub 980 977 981 Sub EnumerateMetafile(metafile As Metafile,978 Sub EnumerateMetafile(metafile As Imaging.Metafile, 982 979 ByRef destPoint As Point, ByRef srcRect As Rectangle, srcUnit As GraphicsUnit, 983 980 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) … … 992 989 End Sub 993 990 994 Sub EnumerateMetafile(metafile As Metafile,991 Sub EnumerateMetafile(metafile As Imaging.Metafile, 995 992 ByRef destRect As RectangleF, ByRef srcRect As RectangleF, srcUnit As GraphicsUnit, 996 993 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) … … 1005 1002 End Sub 1006 1003 1007 Sub EnumerateMetafile(metafile As Metafile,1004 Sub EnumerateMetafile(metafile As Imaging.Metafile, 1008 1005 ByRef destRect As Rectangle, ByRef srcRect As Rectangle, srcUnit As GraphicsUnit, 1009 1006 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) … … 1018 1015 End Sub 1019 1016 1020 Sub EnumerateMetafile(metafile As Metafile,1017 Sub EnumerateMetafile(metafile As Imaging.Metafile, 1021 1018 destPoints As *PointF, count As Long, ByRef srcRect As RectangleF, srcUnit As GraphicsUnit, 1022 1019 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) … … 1031 1028 End Sub 1032 1029 1033 Sub EnumerateMetafile(metafile As Metafile,1030 Sub EnumerateMetafile(metafile As Imaging.Metafile, 1034 1031 destPoints As *Point, count As Long, ByRef srcRect As Rectangle, srcUnit As GraphicsUnit, 1035 1032 callback As EnumerateMetafileProc, callbackData = 0 As VoidPtr, imageAttr = Nothing As ImageAttributes) -
trunk/ab5.0/ablib/src/Classes/System/Drawing/Imaging/misc.ab
r703 r705 9 9 10 10 Enum ColorMode 11 A RGB32= 012 A RGB64= 111 Argb32Mode = 0 12 Argb64Mode = 1 13 13 End Enum 14 14 … … 64 64 65 65 Enum PaletteFlags 66 PaletteFlagsHasAlpha = &h000167 PaletteFlagsGrayScale = &h000268 PaletteFlagsHalftone = &h000466 HasAlpha = 1 67 GrayScale = 2 68 Halftone = 4 69 69 End Enum 70 70 … … 95 95 96 96 Enum ColorMatrixFlag 97 Default 97 Default = 0 98 98 SkipGrays = 1 99 AltGray 99 AltGray = 2 100 100 End Enum 101 101 102 102 Enum ImageCodecFlags 103 Encoder 104 Decoder 105 SupportBitmap 106 SupportVector 107 SeekableEncode 108 BlockingDecode 109 110 Builtin 111 System 112 User 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 113 113 End Enum 114 114 115 115 Enum ImageLockMode 116 Read 117 Write 116 Read = &h0001 117 Write = &h0002 118 118 UserInputBuf= &h0004 119 119 End Enum … … 142 142 End Type 143 143 144 Const PropertyTagTypeByte = 1145 Const PropertyTagTypeASCII = 2146 Const PropertyTagTypeShort = 3147 Const PropertyTagTypeLong = 4148 Const PropertyTagTypeRational = 5149 Const PropertyTagTypeUndefined = 7150 Const PropertyTagTypeSLONG = 9151 Const PropertyTagTypeSRational = 10152 153 Const PropertyTagExifIFD = &h8769154 Const PropertyTagGpsIFD = &h8825155 156 Const PropertyTagNewSubfileType = &h00FE157 Const PropertyTagSubfileType = &h00FF158 Const PropertyTagImageWidth = &h0100159 Const PropertyTagImageHeight = &h0101160 Const PropertyTagBitsPerSample = &h0102161 Const PropertyTagCompression = &h0103162 Const PropertyTagPhotometricInterp = &h0106163 Const PropertyTagThreshHolding = &h0107164 Const PropertyTagCellWidth = &h0108165 Const PropertyTagCellHeight = &h0109166 Const PropertyTagFillOrder = &h010A167 Const PropertyTagDocumentName = &h010D168 Const PropertyTagImageDescription = &h010E169 Const PropertyTagEquipMake = &h010F170 Const PropertyTagEquipModel = &h0110171 Const PropertyTagStripOffsets = &h0111172 Const PropertyTagOrientation = &h0112173 Const PropertyTagSamplesPerPixel = &h0115174 Const PropertyTagRowsPerStrip = &h0116175 Const PropertyTagStripBytesCount = &h0117176 Const PropertyTagMinSampleValue = &h0118177 Const PropertyTagMaxSampleValue = &h0119178 Const PropertyTagXResolution = &h011A ' Image resolution in width direction179 Const PropertyTagYResolution = &h011B ' Image resolution in height direction180 Const PropertyTagPlanarConfig = &h011C ' Image data arrangement181 Const PropertyTagPageName = &h011D182 Const PropertyTagXPosition = &h011E183 Const PropertyTagYPosition = &h011F184 Const PropertyTagFreeOffset = &h0120185 Const PropertyTagFreeByteCounts = &h0121186 Const PropertyTagGrayResponseUnit = &h0122187 Const PropertyTagGrayResponseCurve = &h0123188 Const PropertyTagT4Option = &h0124189 Const PropertyTagT6Option = &h0125190 Const PropertyTagResolutionUnit = &h0128 ' Unit of X and Y resolution191 Const PropertyTagPageNumber = &h0129192 Const PropertyTagTransferFuncition = &h012D193 Const PropertyTagSoftwareUsed = &h0131194 Const PropertyTagDateTime = &h0132195 Const PropertyTagArtist = &h013B196 Const PropertyTagHostComputer = &h013C197 Const PropertyTagPredictor = &h013D198 Const PropertyTagWhitePoint = &h013E199 Const PropertyTagPrimaryChromaticities = &h013F200 Const PropertyTagColorMap = &h0140201 Const PropertyTagHalftoneHints = &h0141202 Const PropertyTagTileWidth = &h0142203 Const PropertyTagTileLength = &h0143204 Const PropertyTagTileOffset = &h0144205 Const PropertyTagTileByteCounts = &h0145206 Const PropertyTagInkSet = &h014C207 Const PropertyTagInkNames = &h014D208 Const PropertyTagNumberOfInks = &h014E209 Const PropertyTagDotRange = &h0150210 Const PropertyTagTargetPrinter = &h0151211 Const PropertyTagExtraSamples = &h0152212 Const PropertyTagSampleFormat = &h0153213 Const PropertyTagSMinSampleValue = &h0154214 Const PropertyTagSMaxSampleValue = &h0155215 Const PropertyTagTransferRange = &h0156216 217 Const PropertyTagJPEGProc = &h0200218 Const PropertyTagJPEGInterFormat = &h0201219 Const PropertyTagJPEGInterLength = &h0202220 Const PropertyTagJPEGRestartInterval = &h0203221 Const PropertyTagJPEGLosslessPredictors = &h0205222 Const PropertyTagJPEGPointTransforms = &h0206223 Const PropertyTagJPEGQTables = &h0207224 Const PropertyTagJPEGDCTables = &h0208225 Const PropertyTagJPEGACTables = &h0209226 227 Const PropertyTagYCbCrCoefficients = &h0211228 Const PropertyTagYCbCrSubsampling = &h0212229 Const PropertyTagYCbCrPositioning = &h0213230 Const PropertyTagREFBlackWhite = &h0214231 232 Const PropertyTagICCProfile = &h8773 ' This TAG is defined by ICC233 ' for embedded ICC in TIFF234 Const PropertyTagGamma = &h0301235 Const PropertyTagICCProfileDescriptor = &h0302236 Const PropertyTagSRGBRenderingIntent = &h0303237 238 Const PropertyTagImageTitle = &h0320239 Const PropertyTagCopyright = &h8298240 241 ' Extra TAGs (Like Adobe Image Information tags etc.)242 243 Const PropertyTagResolutionXUnit = &h5001244 Const PropertyTagResolutionYUnit = &h5002245 Const PropertyTagResolutionXLengthUnit = &h5003246 Const PropertyTagResolutionYLengthUnit = &h5004247 Const PropertyTagPrintFlags = &h5005248 Const PropertyTagPrintFlagsVersion = &h5006249 Const PropertyTagPrintFlagsCrop = &h5007250 Const PropertyTagPrintFlagsBleedWidth = &h5008251 Const PropertyTagPrintFlagsBleedWidthScale = &h5009252 Const PropertyTagHalftoneLPI = &h500A253 Const PropertyTagHalftoneLPIUnit = &h500B254 Const PropertyTagHalftoneDegree = &h500C255 Const PropertyTagHalftoneShape = &h500D256 Const PropertyTagHalftoneMisc = &h500E257 Const PropertyTagHalftoneScreen = &h500F258 Const PropertyTagJPEGQuality = &h5010259 Const PropertyTagGridSize = &h5011260 Const PropertyTagThumbnailFormat = &h5012 ' 1 = JPEG, 0 = RAW RGB261 Const PropertyTagThumbnailWidth = &h5013262 Const PropertyTagThumbnailHeight = &h5014263 Const PropertyTagThumbnailColorDepth = &h5015264 Const PropertyTagThumbnailPlanes = &h5016265 Const PropertyTagThumbnailRawBytes = &h5017266 Const PropertyTagThumbnailSize = &h5018267 Const PropertyTagThumbnailCompressedSize = &h5019268 Const PropertyTagColorTransferFunction = &h501A269 Const PropertyTagThumbnailData = &h501B' RAW thumbnail bits in270 ' JPEG format or RGB format271 ' depends on272 ' PropertyTagThumbnailFormat273 274 ' Thumbnail related TAGs275 276 Const PropertyTagThumbnailImageWidth = &h5020 ' Thumbnail width277 Const PropertyTagThumbnailImageHeight = &h5021 ' Thumbnail height278 Const PropertyTagThumbnailBitsPerSample = &h5022 ' Number of bits per279 ' component280 Const PropertyTagThumbnailCompression = &h5023 ' Compression Scheme281 Const PropertyTagThumbnailPhotometricInterp = &h5024 ' Pixel composition282 Const PropertyTagThumbnailImageDescription = &h5025 ' Image Tile283 Const PropertyTagThumbnailEquipMake = &h5026 ' Manufacturer of Image284 ' Input equipment285 Const PropertyTagThumbnailEquipModel = &h5027 ' Model of Image input286 ' equipment287 Const PropertyTagThumbnailStripOffsets = &h5028 ' Image data location288 Const PropertyTagThumbnailOrientation = &h5029 ' Orientation of image289 Const PropertyTagThumbnailSamplesPerPixel = &h502A ' Number of components290 Const PropertyTagThumbnailRowsPerStrip = &h502B ' Number of rows per strip291 Const PropertyTagThumbnailStripBytesCount = &h502C ' Bytes per compressed292 ' strip293 Const PropertyTagThumbnailResolutionX = &h502D ' Resolution in width294 ' direction295 Const PropertyTagThumbnailResolutionY = &h502E ' Resolution in height296 ' direction297 Const PropertyTagThumbnailPlanarConfig = &h502F ' Image data arrangement298 Const PropertyTagThumbnailResolutionUnit = &h5030 ' Unit of X and Y299 ' Resolution300 Const PropertyTagThumbnailTransferFunction = &h5031 ' Transfer function301 Const PropertyTagThumbnailSoftwareUsed = &h5032 ' Software used302 Const PropertyTagThumbnailDateTime = &h5033 ' File change date and303 ' time304 Const PropertyTagThumbnailArtist = &h5034 ' Person who created the305 ' image306 Const PropertyTagThumbnailWhitePoint = &h5035 ' White point chromaticity307 Const PropertyTagThumbnailPrimaryChromaticities = &h5036308 ' Chromaticities of309 ' primaries310 Const PropertyTagThumbnailYCbCrCoefficients = &h5037 ' Color space transforma-311 ' tion coefficients312 Const PropertyTagThumbnailYCbCrSubsampling = &h5038 ' Subsampling ratio of Y313 ' to C314 Const PropertyTagThumbnailYCbCrPositioning = &h5039 ' Y and C position315 Const PropertyTagThumbnailRefBlackWhite = &h503A ' Pair of black and white316 ' reference values317 Const PropertyTagThumbnailCopyRight = &h503B ' CopyRight holder318 319 Const PropertyTagLuminanceTable = &h5090320 Const PropertyTagChrominanceTable = &h5091321 322 Const PropertyTagFrameDelay = &h5100323 Const PropertyTagLoopCount = &h5101324 325 Const PropertyTagPixelUnit = &h5110 ' Unit specifier for pixel/unit326 Const PropertyTagPixelPerUnitX = &h5111 ' Pixels per unit in X327 Const PropertyTagPixelPerUnitY = &h5112 ' Pixels per unit in Y328 Const PropertyTagPaletteHistogram = &h5113 ' Palette histogram329 330 ' EXIF specific tag331 332 Const PropertyTagExifExposureTime = &h829A333 Const PropertyTagExifFNumber = &h829D334 335 Const PropertyTagExifExposureProg = &h8822336 Const PropertyTagExifSpectralSense = &h8824337 Const PropertyTagExifISOSpeed = &h8827338 Const PropertyTagExifOECF = &h8828339 340 Const PropertyTagExifVer = &h9000341 Const PropertyTagExifDTOrig = &h9003 ' Date & time of original342 Const PropertyTagExifDTDigitized = &h9004 ' Date & time of digital data generation343 344 Const PropertyTagExifCompConfig = &h9101345 Const PropertyTagExifCompBPP = &h9102346 347 Const PropertyTagExifShutterSpeed = &h9201348 Const PropertyTagExifAperture = &h9202349 Const PropertyTagExifBrightness = &h9203350 Const PropertyTagExifExposureBias = &h9204351 Const PropertyTagExifMaxAperture = &h9205352 Const PropertyTagExifSubjectDist = &h9206353 Const PropertyTagExifMeteringMode = &h9207354 Const PropertyTagExifLightSource = &h9208355 Const PropertyTagExifFlash = &h9209356 Const PropertyTagExifFocalLength = &h920A357 Const PropertyTagExifMakerNote = &h927C358 Const PropertyTagExifUserComment = &h9286359 Const PropertyTagExifDTSubsec = &h9290 ' Date & Time subseconds360 Const PropertyTagExifDTOrigSS = &h9291 ' Date & Time original subseconds361 Const PropertyTagExifDTDigSS = &h9292 ' Date & TIme digitized subseconds362 363 Const PropertyTagExifFPXVer = &hA000364 Const PropertyTagExifColorSpace = &hA001365 Const PropertyTagExifPixXDim = &hA002366 Const PropertyTagExifPixYDim = &hA003367 Const PropertyTagExifRelatedWav = &hA004 ' related sound file368 Const PropertyTagExifInterop = &hA005369 Const PropertyTagExifFlashEnergy = &hA20B370 Const PropertyTagExifSpatialFR = &hA20C ' Spatial Frequency Response371 Const PropertyTagExifFocalXRes = &hA20E ' Focal Plane X Resolution372 Const PropertyTagExifFocalYRes = &hA20F ' Focal Plane Y Resolution373 Const PropertyTagExifFocalResUnit = &hA210 ' Focal Plane Resolution Unit374 Const PropertyTagExifSubjectLoc = &hA214375 Const PropertyTagExifExposureIndex = &hA215376 Const PropertyTagExifSensingMethod = &hA217377 Const PropertyTagExifFileSource = &hA300378 Const PropertyTagExifSceneType = &hA301379 Const PropertyTagExifCfaPattern = &hA302380 381 Const PropertyTagGpsVer = &h0000382 Const PropertyTagGpsLatitudeRef = &h0001383 Const PropertyTagGpsLatitude = &h0002384 Const PropertyTagGpsLongitudeRef = &h0003385 Const PropertyTagGpsLongitude = &h0004386 Const PropertyTagGpsAltitudeRef = &h0005387 Const PropertyTagGpsAltitude = &h0006388 Const PropertyTagGpsGpsTime = &h0007389 Const PropertyTagGpsGpsSatellites = &h0008390 Const PropertyTagGpsGpsStatus = &h0009391 Const PropertyTagGpsGpsMeasureMode = &h00A392 Const PropertyTagGpsGpsDop = &h000B ' Measurement precision393 Const PropertyTagGpsSpeedRef = &h000C394 Const PropertyTagGpsSpeed = &h000D395 Const PropertyTagGpsTrackRef = &h000E396 Const PropertyTagGpsTrack = &h000F397 Const PropertyTagGpsImgDirRef = &h0010398 Const PropertyTagGpsImgDir = &h0011399 Const PropertyTagGpsMapDatum = &h0012400 Const PropertyTagGpsDestLatRef = &h0013401 Const PropertyTagGpsDestLat = &h0014402 Const PropertyTagGpsDestLongRef = &h0015403 Const PropertyTagGpsDestLong = &h0016404 Const PropertyTagGpsDestBearRef = &h0017405 Const PropertyTagGpsDestBear = &h0018406 Const PropertyTagGpsDestDistRef = &h0019407 Const PropertyTagGpsDestDist = &h001A408 409 144 Enum ColorChannelFlag 410 145 ColorChannelC = 0 … … 425 160 426 161 Enum EmfType 427 Only = 4 'MetafileType.Emf As Long 428 PlusOnly = 5 'MetafileType.EmfPlusOnly As Long 429 PlusDual = 6 'MetafileType.EmfPlusDual As Long 162 EmfOnly = 4 'MetafileType.Emf As Long 163 EmfPlusOnly = 5 'MetafileType.EmfPlusOnly As Long 164 EmfPlusDual = 6 'MetafileType.EmfPlusDual As Long 165 End Enum 166 167 Enum MetafileFrameUnit 168 Pixel = 2 169 Point = 3 170 Inch = 4 171 Document = 5 172 Millimeter = 6 173 GdiCompatible 430 174 End Enum 431 175 432 176 Enum EncoderParameterValueType 433 Byte= 1434 ASCII= 2435 Short= 3436 Long= 4437 Rational= 5438 LongRange= 6439 Undefined= 7440 RationalRange= 8177 ValueTypeByte = 1 178 ValueTypeAscii = 2 179 ValueTypeShort = 3 180 ValueTypeLong = 4 181 ValueTypeRational = 5 182 ValueTypeLongRange = 6 183 ValueTypeUndefined = 7 184 ValueTypeRationalRange = 8 441 185 End Enum 442 186 … … 746 490 End Namespace 747 491 End Namespace 492 493 Namespace Gdiplus 494 Const PropertyTagTypeByte = 1 495 Const PropertyTagTypeASCII = 2 496 Const PropertyTagTypeShort = 3 497 Const PropertyTagTypeLong = 4 498 Const PropertyTagTypeRational = 5 499 Const PropertyTagTypeUndefined = 7 500 Const PropertyTagTypeSLONG = 9 501 Const PropertyTagTypeSRational = 10 502 503 Const PropertyTagExifIFD = &h8769 504 Const PropertyTagGpsIFD = &h8825 505 506 Const PropertyTagNewSubfileType = &h00FE 507 Const PropertyTagSubfileType = &h00FF 508 Const PropertyTagImageWidth = &h0100 509 Const PropertyTagImageHeight = &h0101 510 Const PropertyTagBitsPerSample = &h0102 511 Const PropertyTagCompression = &h0103 512 Const PropertyTagPhotometricInterp = &h0106 513 Const PropertyTagThreshHolding = &h0107 514 Const PropertyTagCellWidth = &h0108 515 Const PropertyTagCellHeight = &h0109 516 Const PropertyTagFillOrder = &h010A 517 Const PropertyTagDocumentName = &h010D 518 Const PropertyTagImageDescription = &h010E 519 Const PropertyTagEquipMake = &h010F 520 Const PropertyTagEquipModel = &h0110 521 Const PropertyTagStripOffsets = &h0111 522 Const PropertyTagOrientation = &h0112 523 Const PropertyTagSamplesPerPixel = &h0115 524 Const PropertyTagRowsPerStrip = &h0116 525 Const PropertyTagStripBytesCount = &h0117 526 Const PropertyTagMinSampleValue = &h0118 527 Const PropertyTagMaxSampleValue = &h0119 528 Const PropertyTagXResolution = &h011A 529 Const PropertyTagYResolution = &h011B 530 Const PropertyTagPlanarConfig = &h011C 531 Const PropertyTagPageName = &h011D 532 Const PropertyTagXPosition = &h011E 533 Const PropertyTagYPosition = &h011F 534 Const PropertyTagFreeOffset = &h0120 535 Const PropertyTagFreeByteCounts = &h0121 536 Const PropertyTagGrayResponseUnit = &h0122 537 Const PropertyTagGrayResponseCurve = &h0123 538 Const PropertyTagT4Option = &h0124 539 Const PropertyTagT6Option = &h0125 540 Const PropertyTagResolutionUnit = &h0128 541 Const PropertyTagPageNumber = &h0129 542 Const PropertyTagTransferFuncition = &h012D 543 Const PropertyTagSoftwareUsed = &h0131 544 Const PropertyTagDateTime = &h0132 545 Const PropertyTagArtist = &h013B 546 Const PropertyTagHostComputer = &h013C 547 Const PropertyTagPredictor = &h013D 548 Const PropertyTagWhitePoint = &h013E 549 Const PropertyTagPrimaryChromaticities = &h013F 550 Const PropertyTagColorMap = &h0140 551 Const PropertyTagHalftoneHints = &h0141 552 Const PropertyTagTileWidth = &h0142 553 Const PropertyTagTileLength = &h0143 554 Const PropertyTagTileOffset = &h0144 555 Const PropertyTagTileByteCounts = &h0145 556 Const PropertyTagInkSet = &h014C 557 Const PropertyTagInkNames = &h014D 558 Const PropertyTagNumberOfInks = &h014E 559 Const PropertyTagDotRange = &h0150 560 Const PropertyTagTargetPrinter = &h0151 561 Const PropertyTagExtraSamples = &h0152 562 Const PropertyTagSampleFormat = &h0153 563 Const PropertyTagSMinSampleValue = &h0154 564 Const PropertyTagSMaxSampleValue = &h0155 565 Const PropertyTagTransferRange = &h0156 566 567 Const PropertyTagJPEGProc = &h0200 568 Const PropertyTagJPEGInterFormat = &h0201 569 Const PropertyTagJPEGInterLength = &h0202 570 Const PropertyTagJPEGRestartInterval = &h0203 571 Const PropertyTagJPEGLosslessPredictors = &h0205 572 Const PropertyTagJPEGPointTransforms = &h0206 573 Const PropertyTagJPEGQTables = &h0207 574 Const PropertyTagJPEGDCTables = &h0208 575 Const PropertyTagJPEGACTables = &h0209 576 577 Const PropertyTagYCbCrCoefficients = &h0211 578 Const PropertyTagYCbCrSubsampling = &h0212 579 Const PropertyTagYCbCrPositioning = &h0213 580 Const PropertyTagREFBlackWhite = &h0214 581 582 Const PropertyTagICCProfile = &h8773 583 Const PropertyTagGamma = &h0301 584 Const PropertyTagICCProfileDescriptor = &h0302 585 Const PropertyTagSRGBRenderingIntent = &h0303 586 587 Const PropertyTagImageTitle = &h0320 588 Const PropertyTagCopyright = &h8298 589 590 ' Extra TAGs (Like Adobe Image Information tags etc.) 591 Const PropertyTagResolutionXUnit = &h5001 592 Const PropertyTagResolutionYUnit = &h5002 593 Const PropertyTagResolutionXLengthUnit = &h5003 594 Const PropertyTagResolutionYLengthUnit = &h5004 595 Const PropertyTagPrintFlags = &h5005 596 Const PropertyTagPrintFlagsVersion = &h5006 597 Const PropertyTagPrintFlagsCrop = &h5007 598 Const PropertyTagPrintFlagsBleedWidth = &h5008 599 Const PropertyTagPrintFlagsBleedWidthScale = &h5009 600 Const PropertyTagHalftoneLPI = &h500A 601 Const PropertyTagHalftoneLPIUnit = &h500B 602 Const PropertyTagHalftoneDegree = &h500C 603 Const PropertyTagHalftoneShape = &h500D 604 Const PropertyTagHalftoneMisc = &h500E 605 Const PropertyTagHalftoneScreen = &h500F 606 Const PropertyTagJPEGQuality = &h5010 607 Const PropertyTagGridSize = &h5011 608 Const PropertyTagThumbnailFormat = &h5012 609 Const PropertyTagThumbnailWidth = &h5013 610 Const PropertyTagThumbnailHeight = &h5014 611 Const PropertyTagThumbnailColorDepth = &h5015 612 Const PropertyTagThumbnailPlanes = &h5016 613 Const PropertyTagThumbnailRawBytes = &h5017 614 Const PropertyTagThumbnailSize = &h5018 615 Const PropertyTagThumbnailCompressedSize = &h5019 616 Const PropertyTagColorTransferFunction = &h501A 617 Const PropertyTagThumbnailData = &h501B 618 619 ' Thumbnail related TAGs 620 Const PropertyTagThumbnailImageWidth = &h5020 621 Const PropertyTagThumbnailImageHeight = &h5021 622 Const PropertyTagThumbnailBitsPerSample = &h5022 623 Const PropertyTagThumbnailCompression = &h5023 624 Const PropertyTagThumbnailPhotometricInterp = &h5024 625 Const PropertyTagThumbnailImageDescription = &h5025 626 Const PropertyTagThumbnailEquipMake = &h5026 627 Const PropertyTagThumbnailEquipModel = &h5027 628 Const PropertyTagThumbnailStripOffsets = &h5028 629 Const PropertyTagThumbnailOrientation = &h5029 630 Const PropertyTagThumbnailSamplesPerPixel = &h502A 631 Const PropertyTagThumbnailRowsPerStrip = &h502B 632 Const PropertyTagThumbnailStripBytesCount = &h502C 633 Const PropertyTagThumbnailResolutionX = &h502D 634 Const PropertyTagThumbnailResolutionY = &h502E 635 Const PropertyTagThumbnailPlanarConfig = &h502F 636 Const PropertyTagThumbnailResolutionUnit = &h5030 637 Const PropertyTagThumbnailTransferFunction = &h5031 638 Const PropertyTagThumbnailSoftwareUsed = &h5032 639 Const PropertyTagThumbnailDateTime = &h5033 640 Const PropertyTagThumbnailArtist = &h5034 641 Const PropertyTagThumbnailWhitePoint = &h5035 642 Const PropertyTagThumbnailPrimaryChromaticities = &h5036 643 Const PropertyTagThumbnailYCbCrCoefficients = &h5037 644 Const PropertyTagThumbnailYCbCrSubsampling = &h5038 645 Const PropertyTagThumbnailYCbCrPositioning = &h5039 646 Const PropertyTagThumbnailRefBlackWhite = &h503A 647 Const PropertyTagThumbnailCopyRight = &h503B 648 649 Const PropertyTagLuminanceTable = &h5090 650 Const PropertyTagChrominanceTable = &h5091 651 652 Const PropertyTagFrameDelay = &h5100 653 Const PropertyTagLoopCount = &h5101 654 655 Const PropertyTagPixelUnit = &h5110 656 Const PropertyTagPixelPerUnitX = &h5111 657 Const PropertyTagPixelPerUnitY = &h5112 658 Const PropertyTagPaletteHistogram = &h5113 659 660 ' EXIF specific tag 661 Const PropertyTagExifExposureTime = &h829A 662 Const PropertyTagExifFNumber = &h829D 663 664 Const PropertyTagExifExposureProg = &h8822 665 Const PropertyTagExifSpectralSense = &h8824 666 Const PropertyTagExifISOSpeed = &h8827 667 Const PropertyTagExifOECF = &h8828 668 669 Const PropertyTagExifVer = &h9000 670 Const PropertyTagExifDTOrig = &h9003 671 Const PropertyTagExifDTDigitized = &h9004 672 673 Const PropertyTagExifCompConfig = &h9101 674 Const PropertyTagExifCompBPP = &h9102 675 676 Const PropertyTagExifShutterSpeed = &h9201 677 Const PropertyTagExifAperture = &h9202 678 Const PropertyTagExifBrightness = &h9203 679 Const PropertyTagExifExposureBias = &h9204 680 Const PropertyTagExifMaxAperture = &h9205 681 Const PropertyTagExifSubjectDist = &h9206 682 Const PropertyTagExifMeteringMode = &h9207 683 Const PropertyTagExifLightSource = &h9208 684 Const PropertyTagExifFlash = &h9209 685 Const PropertyTagExifFocalLength = &h920A 686 Const PropertyTagExifMakerNote = &h927C 687 Const PropertyTagExifUserComment = &h9286 688 Const PropertyTagExifDTSubsec = &h9290 689 Const PropertyTagExifDTOrigSS = &h9291 690 Const PropertyTagExifDTDigSS = &h9292 691 692 Const PropertyTagExifFPXVer = &hA000 693 Const PropertyTagExifColorSpace = &hA001 694 Const PropertyTagExifPixXDim = &hA002 695 Const PropertyTagExifPixYDim = &hA003 696 Const PropertyTagExifRelatedWav = &hA004 697 Const PropertyTagExifInterop = &hA005 698 Const PropertyTagExifFlashEnergy = &hA20B 699 Const PropertyTagExifSpatialFR = &hA20C 700 Const PropertyTagExifFocalXRes = &hA20E 701 Const PropertyTagExifFocalYRes = &hA20F 702 Const PropertyTagExifFocalResUnit = &hA210 703 Const PropertyTagExifSubjectLoc = &hA214 704 Const PropertyTagExifExposureIndex = &hA215 705 Const PropertyTagExifSensingMethod = &hA217 706 Const PropertyTagExifFileSource = &hA300 707 Const PropertyTagExifSceneType = &hA301 708 Const PropertyTagExifCfaPattern = &hA302 709 710 Const PropertyTagGpsVer = &h0000 711 Const PropertyTagGpsLatitudeRef = &h0001 712 Const PropertyTagGpsLatitude = &h0002 713 Const PropertyTagGpsLongitudeRef = &h0003 714 Const PropertyTagGpsLongitude = &h0004 715 Const PropertyTagGpsAltitudeRef = &h0005 716 Const PropertyTagGpsAltitude = &h0006 717 Const PropertyTagGpsGpsTime = &h0007 718 Const PropertyTagGpsGpsSatellites = &h0008 719 Const PropertyTagGpsGpsStatus = &h0009 720 Const PropertyTagGpsGpsMeasureMode = &h000A 721 Const PropertyTagGpsGpsDop = &h000B 722 Const PropertyTagGpsSpeedRef = &h000C 723 Const PropertyTagGpsSpeed = &h000D 724 Const PropertyTagGpsTrackRef = &h000E 725 Const PropertyTagGpsTrack = &h000F 726 Const PropertyTagGpsImgDirRef = &h0010 727 Const PropertyTagGpsImgDir = &h0011 728 Const PropertyTagGpsMapDatum = &h0012 729 Const PropertyTagGpsDestLatRef = &h0013 730 Const PropertyTagGpsDestLat = &h0014 731 Const PropertyTagGpsDestLongRef = &h0015 732 Const PropertyTagGpsDestLong = &h0016 733 Const PropertyTagGpsDestBearRef = &h0017 734 Const PropertyTagGpsDestBear = &h0018 735 Const PropertyTagGpsDestDistRef = &h0019 736 Const PropertyTagGpsDestDist = &h001A 737 End Namespace -
trunk/ab5.0/ablib/src/Classes/System/Drawing/misc.ab
r701 r705 51 51 TextRenderingHintAntiAlias 52 52 TextRenderingHintClearTypeGridFit 53 End Enum54 55 Enum MetafileFrameUnit56 Pixel = 257 Point = 358 Inch = 459 Document = 560 Millimeter = 661 Gdi62 53 End Enum 63 54 -
trunk/ab5.0/ablib/src/GdiPlusFlat.ab
r704 r705 569 569 Declare Function GdipCreateMetafileFromStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef metafile As *GpMetafile) As GpStatus 570 570 Declare Function GdipRecordMetafile Lib "gdiplus.dll" (ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 571 Declare Function GdipRecordMetafileI Lib "gdiplus.dll" (ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRect F, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus571 Declare Function GdipRecordMetafileI Lib "gdiplus.dll" (ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRect, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 572 572 Declare Function GdipRecordMetafileFileName Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 573 Declare Function GdipRecordMetafileFileNameI Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRect F, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus573 Declare Function GdipRecordMetafileFileNameI Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRect, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 574 574 Declare Function GdipRecordMetafileStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 575 Declare Function GdipRecordMetafileStreamI Lib "gdiplus.dll" (ByVal stream As *IStream, ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRect F, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus575 Declare Function GdipRecordMetafileStreamI Lib "gdiplus.dll" (ByVal stream As *IStream, ByVal referenceHdc As HDC, ByVal emfType As Long /*EmfType*/, ByRef frameRect As GpRect, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 576 576 Declare Function GdipSetMetafileDownLevelRasterizationLimit Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByVal metafileRasterizationLimitDpi As DWord) As GpStatus 577 577 Declare Function GdipGetMetafileDownLevelRasterizationLimit Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByRef metafileRasterizationLimitDpi As DWord) As GpStatus
Note:
See TracChangeset
for help on using the changeset viewer.