- Timestamp:
- Mar 31, 2009, 3:12:04 PM (16 years ago)
- Location:
- trunk/ab5.0/ablib/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/Drawing/Drawing2D/misc.ab
r698 r700 1 1 ' Classes/System/Drawing/Drawing2D/misc.ab 2 2 3 Namespace System 3 4 Namespace Drawing … … 138 139 End Enum 139 140 141 Enum WrapMode 142 Tile ' 0 143 TileFlipX ' 1 144 TileFlipY ' 2 145 TileFlipXY ' 3 146 Clamp ' 4 147 End Enum 148 149 Enum HatchStyle 150 Horizontal ' 0 151 Vertical ' 1 152 ForwardDiagonal ' 2 153 BackwardDiagonal ' 3 154 Cross ' 4 155 DiagonalCross ' 5 156 05Percent ' 6 157 10Percent ' 7 158 20Percent ' 8 159 25Percent ' 9 160 30Percent ' 10 161 40Percent ' 11 162 50Percent ' 12 163 60Percent ' 13 164 70Percent ' 14 165 75Percent ' 15 166 80Percent ' 16 167 90Percent ' 17 168 LightDownwardDiagonal ' 18 169 LightUpwardDiagonal ' 19 170 DarkDownwardDiagonal ' 20 171 DarkUpwardDiagonal ' 21 172 WideDownwardDiagonal ' 22 173 WideUpwardDiagonal ' 23 174 LightVertical ' 24 175 LightHorizontal ' 25 176 NarrowVertical ' 26 177 NarrowHorizontal ' 27 178 DarkVertical ' 28 179 DarkHorizontal ' 29 180 DashedDownwardDiagonal ' 30 181 DashedUpwardDiagonal ' 31 182 DashedHorizontal ' 32 183 DashedVertical ' 33 184 SmallConfetti ' 34 185 LargeConfetti ' 35 186 ZigZag ' 36 187 Wave ' 37 188 DiagonalBrick ' 38 189 HorizontalBrick ' 39 190 Weave ' 40 191 Plaid ' 41 192 Divot ' 42 193 DottedGrid ' 43 194 DottedDiamond ' 44 195 Shingle ' 45 196 Trellis ' 46 197 Sphere ' 47 198 SmallGrid ' 48 199 SmallCheckerBoard ' 49 200 LargeCheckerBoard ' 50 201 OutlinedDiamond ' 51 202 SolidDiamond ' 52 203 204 ' LargeGrid = HatchStyleCross ' 4 205 206 ' Min = HatchStyleHorizontal 207 ' Max = HatchStyleTotal - 1 208 End Enum 209 210 Enum PathPointType 211 Start = 0 212 Line = 1 213 Bezier = 3 214 PathTypeMask = &h07 215 DashMode = &h10 216 PathMarker = &h20 217 CloseSubpath = &h80 218 Bezier3 = 3 219 End Enum 220 221 Enum WarpMode 222 Perspective ' 0 223 Bilinear ' 1 224 End Enum 225 226 Enum LinearGradientMode 227 Horizontal ' 0 228 Vertical ' 1 229 ForwardDiagonal ' 2 230 BackwardDiagonal ' 3 231 End Enum 232 140 233 End Namespace 141 234 End Namespace -
trunk/ab5.0/ablib/src/Classes/System/Drawing/Graphics.ab
r698 r700 36 36 End Class 37 37 38 Delegate Function EnumerateMetafileProc(recordType As EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean38 Delegate Function EnumerateMetafileProc(recordType As Imaging.EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean 39 39 40 40 Namespace Detail 41 41 42 TypeDef NativeEnumerateMetafileProc = *Function(recordType As EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean42 TypeDef NativeEnumerateMetafileProc = *Function(recordType As Imaging.EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean 43 43 44 44 Type EnumerateMetafileProcData … … 47 47 End Type 48 48 49 Function NativeEnumerateMetafileProcEntry(recordType As EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean49 Function NativeEnumerateMetafileProcEntry(recordType As Imaging.EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean 50 50 Dim procData = callbackData As *EnumerateMetafileProcData 51 51 Dim proc = procData->Proc -
trunk/ab5.0/ablib/src/Classes/System/Drawing/Imaging/misc.ab
r698 r700 436 436 End Enum 437 437 438 Enum MetafileType 439 Invalid 440 Wmf 441 WmfPlaceable 442 Emf 443 EmfPlusOnly 444 EmfPlusDual 445 End Enum 446 447 Enum EmfType 448 Only = 4 'MetafileType.Emf As Long 449 PlusOnly = 5 'MetafileType.EmfPlusOnly As Long 450 PlusDual = 6 'MetafileType.EmfPlusDual As Long 451 End Enum 452 453 Enum EncoderParameterValueType 454 Byte = 1 455 ASCII = 2 456 Short = 3 457 Long = 4 458 Rational = 5 459 LongRange = 6 460 Undefined = 7 461 RationalRange = 8 462 End Enum 463 464 Enum EncoderValue 465 ColorTypeCMYK 466 ColorTypeYCCK 467 CompressionLZW 468 CompressionCCITT3 469 CompressionCCITT4 470 CompressionRle 471 CompressionNone 472 ScanMethodInterlaced 473 ScanMethodNonInterlaced 474 VersionGif87 475 VersionGif89 476 RenderProgressive 477 RenderNonProgressive 478 TransformRotate90 479 TransformRotate180 480 TransformRotate270 481 TransformFlipHorizontal 482 TransformFlipVertical 483 MultiFrame 484 LastFrame 485 Flush 486 FrameDimensionTime 487 FrameDimensionResolution 488 FrameDimensionPage 489 End Enum 490 491 Enum EmfPlusRecordType 492 WmfSetBkColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR) 493 WmfSetBkMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE) 494 WmfSetMapMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE) 495 WmfSetROP2 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETROP2) 496 WmfSetRelAbs = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETRELABS) 497 WmfSetPolyFillMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPOLYFILLMODE) 498 WmfSetStretchBltMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETSTRETCHBLTMODE) 499 WmfSetTextCharExtra = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCHAREXTRA) 500 WmfSetTextColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCOLOR) 501 WmfSetTextJustification = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTJUSTIFICATION) 502 WmfSetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWORG) 503 WmfSetWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWEXT) 504 WmfSetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTORG) 505 WmfSetViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTEXT) 506 WmfOffsetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETWINDOWORG) 507 WmfScaleWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEWINDOWEXT) 508 WmfOffsetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETVIEWPORTORG) 509 WmfScaleViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEVIEWPORTEXT) 510 WmfLineTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_LINETO) 511 WmfMoveTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_MOVETO) 512 WmfExcludeClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXCLUDECLIPRECT) 513 WmfIntersectClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_INTERSECTCLIPRECT) 514 WmfArc = GDIP_WMF_RECORD_TO_EMFPLUS(META_ARC) 515 WmfEllipse = GDIP_WMF_RECORD_TO_EMFPLUS(META_ELLIPSE) 516 WmfFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_FLOODFILL) 517 WmfPie = GDIP_WMF_RECORD_TO_EMFPLUS(META_PIE) 518 WmfRectangle = GDIP_WMF_RECORD_TO_EMFPLUS(META_RECTANGLE) 519 WmfRoundRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_ROUNDRECT) 520 WmfPatBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_PATBLT) 521 WmfSaveDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_SAVEDC) 522 WmfSetPixel = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPIXEL) 523 WmfOffsetClipRgn = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETCLIPRGN) 524 WmfTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_TEXTOUT) 525 WmfBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_BITBLT) 526 WmfStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHBLT) 527 WmfPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYGON) 528 WmfPolyline = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYLINE) 529 WmfEscape = GDIP_WMF_RECORD_TO_EMFPLUS(META_ESCAPE) 530 WmfRestoreDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESTOREDC) 531 WmfFillRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FILLREGION) 532 WmfFrameRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FRAMEREGION) 533 WmfInvertRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_INVERTREGION) 534 WmfPaintRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_PAINTREGION) 535 WmfSelectClipRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTCLIPREGION) 536 WmfSelectObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTOBJECT) 537 WmfSetTextAlign = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTALIGN) 538 WmfDrawText = GDIP_WMF_RECORD_TO_EMFPLUS(&h062F) ' META_DRAWTEXT 539 WmfChord = GDIP_WMF_RECORD_TO_EMFPLUS(META_CHORD) 540 WmfSetMapperFlags = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPPERFLAGS) 541 WmfExtTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTTEXTOUT) 542 WmfSetDIBToDev = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETDIBTODEV) 543 WmfSelectPalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTPALETTE) 544 WmfRealizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_REALIZEPALETTE) 545 WmfAnimatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_ANIMATEPALETTE) 546 WmfSetPalEntries = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPALENTRIES) 547 WmfPolyPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYPOLYGON) 548 WmfResizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESIZEPALETTE) 549 WmfDIBBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBBITBLT) 550 WmfDIBStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBSTRETCHBLT) 551 WmfDIBCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBCREATEPATTERNBRUSH) 552 WmfStretchDIB = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHDIB) 553 WmfExtFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTFLOODFILL) 554 WmfSetLayout = GDIP_WMF_RECORD_TO_EMFPLUS(&h0149) ' META_SETLAYOUT 555 WmfResetDC = GDIP_WMF_RECORD_TO_EMFPLUS(&h014C) ' META_RESETDC 556 WmfStartDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h014D) ' META_STARTDOC 557 WmfStartPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h004F) ' META_STARTPAGE 558 WmfEndPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h0050) ' META_ENDPAGE 559 WmfAbortDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h0052) ' META_ABORTDOC 560 WmfEndDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h005E) ' META_ENDDOC 561 WmfDeleteObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_DELETEOBJECT) 562 WmfCreatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPALETTE) 563 WmfCreateBrush = GDIP_WMF_RECORD_TO_EMFPLUS(&h00F8) ' META_CREATEBRUSH 564 WmfCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPATTERNBRUSH) 565 WmfCreatePenIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPENINDIRECT) 566 WmfCreateFontIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEFONTINDIRECT) 567 WmfCreateBrushIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEBRUSHINDIRECT) 568 WmfCreateBitmapIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(&h02FD) ' META_CREATEBITMAPINDIRECT 569 WmfCreateBitmap = GDIP_WMF_RECORD_TO_EMFPLUS(&h06FE) ' META_CREATEBITMAP 570 WmfCreateRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION) 571 572 EmfHeader = EMR_HEADER 573 EmfPolyBezier = EMR_POLYBEZIER 574 EmfPolygon = EMR_POLYGON 575 EmfPolyline = EMR_POLYLINE 576 EmfPolyBezierTo = EMR_POLYBEZIERTO 577 EmfPolyLineTo = EMR_POLYLINETO 578 EmfPolyPolyline = EMR_POLYPOLYLINE 579 EmfPolyPolygon = EMR_POLYPOLYGON 580 EmfSetWindowExtEx = EMR_SETWINDOWEXTEX 581 EmfSetWindowOrgEx = EMR_SETWINDOWORGEX 582 EmfSetViewportExtEx = EMR_SETVIEWPORTEXTEX 583 EmfSetViewportOrgEx = EMR_SETVIEWPORTORGEX 584 EmfSetBrushOrgEx = EMR_SETBRUSHORGEX 585 EmfEOF = EMR_EOF 586 EmfSetPixelV = EMR_SETPIXELV 587 EmfSetMapperFlags = EMR_SETMAPPERFLAGS 588 EmfSetMapMode = EMR_SETMAPMODE 589 EmfSetBkMode = EMR_SETBKMODE 590 EmfSetPolyFillMode = EMR_SETPOLYFILLMODE 591 EmfSetROP2 = EMR_SETROP2 592 EmfSetStretchBltMode = EMR_SETSTRETCHBLTMODE 593 EmfSetTextAlign = EMR_SETTEXTALIGN 594 EmfSetColorAdjustment = EMR_SETCOLORADJUSTMENT 595 EmfSetTextColor = EMR_SETTEXTCOLOR 596 EmfSetBkColor = EMR_SETBKCOLOR 597 EmfOffsetClipRgn = EMR_OFFSETCLIPRGN 598 EmfMoveToEx = EMR_MOVETOEX 599 EmfSetMetaRgn = EMR_SETMETARGN 600 EmfExcludeClipRect = EMR_EXCLUDECLIPRECT 601 EmfIntersectClipRect = EMR_INTERSECTCLIPRECT 602 EmfScaleViewportExtEx = EMR_SCALEVIEWPORTEXTEX 603 EmfScaleWindowExtEx = EMR_SCALEWINDOWEXTEX 604 EmfSaveDC = EMR_SAVEDC 605 EmfRestoreDC = EMR_RESTOREDC 606 EmfSetWorldTransform = EMR_SETWORLDTRANSFORM 607 EmfModifyWorldTransform = EMR_MODIFYWORLDTRANSFORM 608 EmfSelectObject = EMR_SELECTOBJECT 609 EmfCreatePen = EMR_CREATEPEN 610 EmfCreateBrushIndirect = EMR_CREATEBRUSHINDIRECT 611 EmfDeleteObject = EMR_DELETEOBJECT 612 EmfAngleArc = EMR_ANGLEARC 613 EmfEllipse = EMR_ELLIPSE 614 EmfRectangle = EMR_RECTANGLE 615 EmfRoundRect = EMR_ROUNDRECT 616 EmfArc = EMR_ARC 617 EmfChord = EMR_CHORD 618 EmfPie = EMR_PIE 619 EmfSelectPalette = EMR_SELECTPALETTE 620 EmfCreatePalette = EMR_CREATEPALETTE 621 EmfSetPaletteEntries = EMR_SETPALETTEENTRIES 622 EmfResizePalette = EMR_RESIZEPALETTE 623 EmfRealizePalette = EMR_REALIZEPALETTE 624 EmfExtFloodFill = EMR_EXTFLOODFILL 625 EmfLineTo = EMR_LINETO 626 EmfArcTo = EMR_ARCTO 627 EmfPolyDraw = EMR_POLYDRAW 628 EmfSetArcDirection = EMR_SETARCDIRECTION 629 EmfSetMiterLimit = EMR_SETMITERLIMIT 630 EmfBeginPath = EMR_BEGINPATH 631 EmfEndPath = EMR_ENDPATH 632 EmfCloseFigure = EMR_CLOSEFIGURE 633 EmfFillPath = EMR_FILLPATH 634 EmfStrokeAndFillPath = EMR_STROKEANDFILLPATH 635 EmfStrokePath = EMR_STROKEPATH 636 EmfFlattenPath = EMR_FLATTENPATH 637 EmfWidenPath = EMR_WIDENPATH 638 EmfSelectClipPath = EMR_SELECTCLIPPATH 639 EmfAbortPath = EMR_ABORTPATH 640 EmfReserved_069 = 69 ' Not Used 641 EmfGdiComment = EMR_GDICOMMENT 642 EmfFillRgn = EMR_FILLRGN 643 EmfFrameRgn = EMR_FRAMERGN 644 EmfInvertRgn = EMR_INVERTRGN 645 EmfPaintRgn = EMR_PAINTRGN 646 EmfExtSelectClipRgn = EMR_EXTSELECTCLIPRGN 647 EmfBitBlt = EMR_BITBLT 648 EmfStretchBlt = EMR_STRETCHBLT 649 EmfMaskBlt = EMR_MASKBLT 650 EmfPlgBlt = EMR_PLGBLT 651 EmfSetDIBitsToDevice = EMR_SETDIBITSTODEVICE 652 EmfStretchDIBits = EMR_STRETCHDIBITS 653 EmfExtCreateFontIndirect = EMR_EXTCREATEFONTINDIRECTW 654 EmfExtTextOutA = EMR_EXTTEXTOUTA 655 EmfExtTextOutW = EMR_EXTTEXTOUTW 656 EmfPolyBezier16 = EMR_POLYBEZIER16 657 EmfPolygon16 = EMR_POLYGON16 658 EmfPolyline16 = EMR_POLYLINE16 659 EmfPolyBezierTo16 = EMR_POLYBEZIERTO16 660 EmfPolylineTo16 = EMR_POLYLINETO16 661 EmfPolyPolyline16 = EMR_POLYPOLYLINE16 662 EmfPolyPolygon16 = EMR_POLYPOLYGON16 663 EmfPolyDraw16 = EMR_POLYDRAW16 664 EmfCreateMonoBrush = EMR_CREATEMONOBRUSH 665 EmfCreateDIBPatternBrushPt = EMR_CREATEDIBPATTERNBRUSHPT 666 EmfExtCreatePen = EMR_EXTCREATEPEN 667 EmfPolyTextOutA = EMR_POLYTEXTOUTA 668 EmfPolyTextOutW = EMR_POLYTEXTOUTW 669 EmfSetICMMode = 98 ' EMR_SETICMMODE 670 EmfCreateColorSpace = 99 ' EMR_CREATECOLORSPACE 671 EmfSetColorSpace = 100 ' EMR_SETCOLORSPACE 672 EmfDeleteColorSpace = 101 ' EMR_DELETECOLORSPACE 673 EmfGLSRecord = 102 ' EMR_GLSRECORD 674 EmfGLSBoundedRecord = 103 ' EMR_GLSBOUNDEDRECORD 675 EmfPixelFormat = 104 ' EMR_PIXELFORMAT 676 EmfDrawEscape = 105 ' EMR_RESERVED_105 677 EmfExtEscape = 106 ' EMR_RESERVED_106 678 EmfStartDoc = 107 ' EMR_RESERVED_107 679 EmfSmallTextOut = 108 ' EMR_RESERVED_108 680 EmfForceUFIMapping = 109 ' EMR_RESERVED_109 681 EmfNamedEscape = 110 ' EMR_RESERVED_110 682 EmfColorCorrectPalette = 111 ' EMR_COLORCORRECTPALETTE 683 EmfSetICMProfileA = 112 ' EMR_SETICMPROFILEA 684 EmfSetICMProfileW = 113 ' EMR_SETICMPROFILEW 685 EmfAlphaBlend = 114 ' EMR_ALPHABLEND 686 EmfSetLayout = 115 ' EMR_SETLAYOUT 687 EmfTransparentBlt = 116 ' EMR_TRANSPARENTBLT 688 EmfReserved_117 = 117 ' Not Used 689 EmfGradientFill = 118 ' EMR_GRADIENTFILL 690 EmfSetLinkedUFIs = 119 ' EMR_RESERVED_119 691 EmfSetTextJustification = 120 ' EMR_RESERVED_120 692 EmfColorMatchToTargetW = 121 ' EMR_COLORMATCHTOTARGETW 693 EmfCreateColorSpaceW = 122 ' EMR_CREATECOLORSPACEW 694 EmfMax = 122 695 EmfMin = 1 696 697 EmfPlusInvalid = GDIP_EMFPLUS_RECORD_BASE 698 EmfPlusHeader 699 EmfPlusEndOfFile 700 701 EmfPlusComment 702 703 EmfPlusGetDC 704 705 EmfPlusMultiFormatStart 706 EmfPlusMultiFormatSection 707 EmfPlusMultiFormatEnd 708 709 EmfPlusObject 710 711 EmfPlusClear 712 EmfPlusFillRects 713 EmfPlusDrawRects 714 EmfPlusFillPolygon 715 EmfPlusDrawLines 716 EmfPlusFillEllipse 717 EmfPlusDrawEllipse 718 EmfPlusFillPie 719 EmfPlusDrawPie 720 EmfPlusDrawArc 721 EmfPlusFillRegion 722 EmfPlusFillPath 723 EmfPlusDrawPath 724 EmfPlusFillClosedCurve 725 EmfPlusDrawClosedCurve 726 EmfPlusDrawCurve 727 EmfPlusDrawBeziers 728 EmfPlusDrawImage 729 EmfPlusDrawImagePoints 730 EmfPlusDrawString 731 732 EmfPlusSetRenderingOrigin 733 EmfPlusSetAntiAliasMode 734 EmfPlusSetTextRenderingHint 735 EmfPlusSetTextContrast 736 EmfPlusSetInterpolationMode 737 EmfPlusSetPixelOffsetMode 738 EmfPlusSetCompositingMode 739 EmfPlusSetCompositingQuality 740 EmfPlusSave 741 EmfPlusRestore 742 EmfPlusBeginContainer 743 EmfPlusBeginContainerNoParams 744 EmfPlusEndContainer 745 EmfPlusSetWorldTransform 746 EmfPlusResetWorldTransform 747 EmfPlusMultiplyWorldTransform 748 EmfPlusTranslateWorldTransform 749 EmfPlusScaleWorldTransform 750 EmfPlusRotateWorldTransform 751 EmfPlusSetPageTransform 752 EmfPlusResetClip 753 EmfPlusSetClipRect 754 EmfPlusSetClipPath 755 EmfPlusSetClipRegion 756 EmfPlusOffsetClip 757 758 EmfPlusDrawDriverString 759 760 EmfPlusRecordTotal 761 762 EmfPlusRecordTypeMax = EmfPlusRecordTotal - 1 763 ' EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader 764 End Enum 765 438 766 End Namespace 439 767 End Namespace -
trunk/ab5.0/ablib/src/Classes/System/Drawing/Text/misc.ab
r635 r700 13 13 End Enum 14 14 15 Enum GenericFontFamily 16 Serif 17 SansSerif 18 Monospace 19 End Enum 20 21 Enum HotkeyPrefix 22 None = 0 23 Show = 1 24 Hide = 2 25 End Enum 26 15 27 End Namespace 16 28 End Namespace -
trunk/ab5.0/ablib/src/Classes/System/Drawing/misc.ab
r698 r700 62 62 End Enum 63 63 64 Enum StringFormatFlags 65 DirectionRightToLeft = &h00000001 66 DirectionVertical = &h00000002 67 NoFitBlackBox = &h00000004 68 DisplayFormatControl = &h00000020 69 NoFontFallback = &h00000400 70 MeasureTrailingSpaces = &h00000800 71 NoWrap = &h00001000 72 LineLimit = &h00002000 73 NoClip = &h00004000 74 End Enum 75 76 Enum StringTrimming 77 None = 0 78 Character = 1 79 Word_ = 2 80 EllipsisCharacter = 3 81 EllipsisWord = 4 82 EllipsisPath = 5 83 End Enum 84 85 Enum StringDigitSubstitute 86 User = 0 87 None = 1 88 National = 2 89 Traditional = 3 90 End Enum 91 92 Enum StringAlignment 93 Near = 0 94 Center = 1 95 Far = 2 96 End Enum 97 64 98 Namespace Detail 65 99 Sub ThrowGdiplusException(status As Status) -
trunk/ab5.0/ablib/src/GdiPlusEnums.ab
r698 r700 5 5 TypeDef GraphicsState = DWord 6 6 7 Const Enum WrapMode8 WrapModeTile ' 09 WrapModeTileFlipX ' 110 WrapModeTileFlipY ' 211 WrapModeTileFlipXY ' 312 WrapModeClamp ' 413 End Enum14 15 Const Enum HatchStyle16 HatchStyleHorizontal ' 017 HatchStyleVertical ' 118 HatchStyleForwardDiagonal ' 219 HatchStyleBackwardDiagonal ' 320 HatchStyleCross ' 421 HatchStyleDiagonalCross ' 522 HatchStyle05Percent ' 623 HatchStyle10Percent ' 724 HatchStyle20Percent ' 825 HatchStyle25Percent ' 926 HatchStyle30Percent ' 1027 HatchStyle40Percent ' 1128 HatchStyle50Percent ' 1229 HatchStyle60Percent ' 1330 HatchStyle70Percent ' 1431 HatchStyle75Percent ' 1532 HatchStyle80Percent ' 1633 HatchStyle90Percent ' 1734 HatchStyleLightDownwardDiagonal ' 1835 HatchStyleLightUpwardDiagonal ' 1936 HatchStyleDarkDownwardDiagonal ' 2037 HatchStyleDarkUpwardDiagonal ' 2138 HatchStyleWideDownwardDiagonal ' 2239 HatchStyleWideUpwardDiagonal ' 2340 HatchStyleLightVertical ' 2441 HatchStyleLightHorizontal ' 2542 HatchStyleNarrowVertical ' 2643 HatchStyleNarrowHorizontal ' 2744 HatchStyleDarkVertical ' 2845 HatchStyleDarkHorizontal ' 2946 HatchStyleDashedDownwardDiagonal ' 3047 HatchStyleDashedUpwardDiagonal ' 3148 HatchStyleDashedHorizontal ' 3249 HatchStyleDashedVertical ' 3350 HatchStyleSmallConfetti ' 3451 HatchStyleLargeConfetti ' 3552 HatchStyleZigZag ' 3653 HatchStyleWave ' 3754 HatchStyleDiagonalBrick ' 3855 HatchStyleHorizontalBrick ' 3956 HatchStyleWeave ' 4057 HatchStylePlaid ' 4158 HatchStyleDivot ' 4259 HatchStyleDottedGrid ' 4360 HatchStyleDottedDiamond ' 4461 HatchStyleShingle ' 4562 HatchStyleTrellis ' 4663 HatchStyleSphere ' 4764 HatchStyleSmallGrid ' 4865 HatchStyleSmallCheckerBoard ' 4966 HatchStyleLargeCheckerBoard ' 5067 HatchStyleOutlinedDiamond ' 5168 HatchStyleSolidDiamond ' 5269 70 HatchStyleTotal71 ' HatchStyleLargeGrid = HatchStyleCross ' 472 73 ' HatchStyleMin = HatchStyleHorizontal74 ' HatchStyleMax = HatchStyleTotal - 175 End Enum76 77 7 Const Enum CustomLineCapType 78 8 CustomLineCapTypeDefault = 0 79 9 CustomLineCapTypeAdjustableArrow = 1 80 End Enum81 82 Const Enum PathPointType83 PathPointTypeStart = 084 PathPointTypeLine = 185 PathPointTypeBezier = 386 PathPointTypePathTypeMask = &h0787 PathPointTypeDashMode = &h1088 PathPointTypePathMarker = &h2089 PathPointTypeCloseSubpath = &h8090 PathPointTypeBezier3 = 391 End Enum92 93 Const Enum WarpMode94 WarpModePerspective ' 095 WarpModeBilinear ' 196 End Enum97 98 Const Enum LinearGradientMode99 LinearGradientModeHorizontal ' 0100 LinearGradientModeVertical ' 1101 LinearGradientModeForwardDiagonal ' 2102 LinearGradientModeBackwardDiagonal ' 3103 10 End Enum 104 11 … … 115 22 BrushTypePathGradient = 3 116 23 BrushTypeLinearGradient = 4 117 End Enum118 119 Const Enum GenericFontFamily120 GenericFontFamilySerif121 GenericFontFamilySansSerif122 GenericFontFamilyMonospace123 End Enum124 125 Const Enum MetafileType126 MetafileTypeInvalid127 MetafileTypeWmf128 MetafileTypeWmfPlaceable129 MetafileTypeEmf130 MetafileTypeEmfPlusOnly131 MetafileTypeEmfPlusDual132 End Enum133 134 Const Enum EmfType135 EmfTypeEmfOnly = MetafileTypeEmf136 EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly137 EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual138 24 End Enum 139 25 … … 169 55 End Function 170 56 171 Const Enum EmfPlusRecordType172 /*173 WmfRecordTypeSetBkColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR)174 WmfRecordTypeSetBkMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE)175 WmfRecordTypeSetMapMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE)176 WmfRecordTypeSetROP2 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETROP2)177 WmfRecordTypeSetRelAbs = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETRELABS)178 WmfRecordTypeSetPolyFillMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPOLYFILLMODE)179 WmfRecordTypeSetStretchBltMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETSTRETCHBLTMODE)180 WmfRecordTypeSetTextCharExtra = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCHAREXTRA)181 WmfRecordTypeSetTextColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCOLOR)182 WmfRecordTypeSetTextJustification = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTJUSTIFICATION)183 WmfRecordTypeSetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWORG)184 WmfRecordTypeSetWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWEXT)185 WmfRecordTypeSetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTORG)186 WmfRecordTypeSetViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTEXT)187 WmfRecordTypeOffsetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETWINDOWORG)188 WmfRecordTypeScaleWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEWINDOWEXT)189 WmfRecordTypeOffsetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETVIEWPORTORG)190 WmfRecordTypeScaleViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEVIEWPORTEXT)191 WmfRecordTypeLineTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_LINETO)192 WmfRecordTypeMoveTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_MOVETO)193 WmfRecordTypeExcludeClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXCLUDECLIPRECT)194 WmfRecordTypeIntersectClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_INTERSECTCLIPRECT)195 WmfRecordTypeArc = GDIP_WMF_RECORD_TO_EMFPLUS(META_ARC)196 WmfRecordTypeEllipse = GDIP_WMF_RECORD_TO_EMFPLUS(META_ELLIPSE)197 WmfRecordTypeFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_FLOODFILL)198 WmfRecordTypePie = GDIP_WMF_RECORD_TO_EMFPLUS(META_PIE)199 WmfRecordTypeRectangle = GDIP_WMF_RECORD_TO_EMFPLUS(META_RECTANGLE)200 WmfRecordTypeRoundRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_ROUNDRECT)201 WmfRecordTypePatBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_PATBLT)202 WmfRecordTypeSaveDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_SAVEDC)203 WmfRecordTypeSetPixel = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPIXEL)204 WmfRecordTypeOffsetClipRgn = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETCLIPRGN)205 WmfRecordTypeTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_TEXTOUT)206 WmfRecordTypeBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_BITBLT)207 WmfRecordTypeStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHBLT)208 WmfRecordTypePolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYGON)209 WmfRecordTypePolyline = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYLINE)210 WmfRecordTypeEscape = GDIP_WMF_RECORD_TO_EMFPLUS(META_ESCAPE)211 WmfRecordTypeRestoreDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESTOREDC)212 WmfRecordTypeFillRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FILLREGION)213 WmfRecordTypeFrameRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FRAMEREGION)214 WmfRecordTypeInvertRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_INVERTREGION)215 WmfRecordTypePaintRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_PAINTREGION)216 WmfRecordTypeSelectClipRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTCLIPREGION)217 WmfRecordTypeSelectObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTOBJECT)218 WmfRecordTypeSetTextAlign = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTALIGN)219 WmfRecordTypeDrawText = GDIP_WMF_RECORD_TO_EMFPLUS(&h062F) ' META_DRAWTEXT220 WmfRecordTypeChord = GDIP_WMF_RECORD_TO_EMFPLUS(META_CHORD)221 WmfRecordTypeSetMapperFlags = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPPERFLAGS)222 WmfRecordTypeExtTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTTEXTOUT)223 WmfRecordTypeSetDIBToDev = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETDIBTODEV)224 WmfRecordTypeSelectPalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTPALETTE)225 WmfRecordTypeRealizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_REALIZEPALETTE)226 WmfRecordTypeAnimatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_ANIMATEPALETTE)227 WmfRecordTypeSetPalEntries = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPALENTRIES)228 WmfRecordTypePolyPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYPOLYGON)229 WmfRecordTypeResizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESIZEPALETTE)230 WmfRecordTypeDIBBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBBITBLT)231 WmfRecordTypeDIBStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBSTRETCHBLT)232 WmfRecordTypeDIBCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBCREATEPATTERNBRUSH)233 WmfRecordTypeStretchDIB = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHDIB)234 WmfRecordTypeExtFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTFLOODFILL)235 WmfRecordTypeSetLayout = GDIP_WMF_RECORD_TO_EMFPLUS(&h0149) ' META_SETLAYOUT236 WmfRecordTypeResetDC = GDIP_WMF_RECORD_TO_EMFPLUS(&h014C) ' META_RESETDC237 WmfRecordTypeStartDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h014D) ' META_STARTDOC238 WmfRecordTypeStartPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h004F) ' META_STARTPAGE239 WmfRecordTypeEndPage = GDIP_WMF_RECORD_TO_EMFPLUS(&h0050) ' META_ENDPAGE240 WmfRecordTypeAbortDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h0052) ' META_ABORTDOC241 WmfRecordTypeEndDoc = GDIP_WMF_RECORD_TO_EMFPLUS(&h005E) ' META_ENDDOC242 WmfRecordTypeDeleteObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_DELETEOBJECT)243 WmfRecordTypeCreatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPALETTE)244 WmfRecordTypeCreateBrush = GDIP_WMF_RECORD_TO_EMFPLUS(&h00F8) ' META_CREATEBRUSH245 WmfRecordTypeCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPATTERNBRUSH)246 WmfRecordTypeCreatePenIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPENINDIRECT)247 WmfRecordTypeCreateFontIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEFONTINDIRECT)248 WmfRecordTypeCreateBrushIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEBRUSHINDIRECT)249 WmfRecordTypeCreateBitmapIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(&h02FD) ' META_CREATEBITMAPINDIRECT250 WmfRecordTypeCreateBitmap = GDIP_WMF_RECORD_TO_EMFPLUS(&h06FE) ' META_CREATEBITMAP251 WmfRecordTypeCreateRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION)252 253 EmfRecordTypeHeader = EMR_HEADER254 EmfRecordTypePolyBezier = EMR_POLYBEZIER255 EmfRecordTypePolygon = EMR_POLYGON256 EmfRecordTypePolyline = EMR_POLYLINE257 EmfRecordTypePolyBezierTo = EMR_POLYBEZIERTO258 EmfRecordTypePolyLineTo = EMR_POLYLINETO259 EmfRecordTypePolyPolyline = EMR_POLYPOLYLINE260 EmfRecordTypePolyPolygon = EMR_POLYPOLYGON261 EmfRecordTypeSetWindowExtEx = EMR_SETWINDOWEXTEX262 EmfRecordTypeSetWindowOrgEx = EMR_SETWINDOWORGEX263 EmfRecordTypeSetViewportExtEx = EMR_SETVIEWPORTEXTEX264 EmfRecordTypeSetViewportOrgEx = EMR_SETVIEWPORTORGEX265 EmfRecordTypeSetBrushOrgEx = EMR_SETBRUSHORGEX266 EmfRecordTypeEOF = EMR_EOF267 EmfRecordTypeSetPixelV = EMR_SETPIXELV268 EmfRecordTypeSetMapperFlags = EMR_SETMAPPERFLAGS269 EmfRecordTypeSetMapMode = EMR_SETMAPMODE270 EmfRecordTypeSetBkMode = EMR_SETBKMODE271 EmfRecordTypeSetPolyFillMode = EMR_SETPOLYFILLMODE272 EmfRecordTypeSetROP2 = EMR_SETROP2273 EmfRecordTypeSetStretchBltMode = EMR_SETSTRETCHBLTMODE274 EmfRecordTypeSetTextAlign = EMR_SETTEXTALIGN275 EmfRecordTypeSetColorAdjustment = EMR_SETCOLORADJUSTMENT276 EmfRecordTypeSetTextColor = EMR_SETTEXTCOLOR277 EmfRecordTypeSetBkColor = EMR_SETBKCOLOR278 EmfRecordTypeOffsetClipRgn = EMR_OFFSETCLIPRGN279 EmfRecordTypeMoveToEx = EMR_MOVETOEX280 EmfRecordTypeSetMetaRgn = EMR_SETMETARGN281 EmfRecordTypeExcludeClipRect = EMR_EXCLUDECLIPRECT282 EmfRecordTypeIntersectClipRect = EMR_INTERSECTCLIPRECT283 EmfRecordTypeScaleViewportExtEx = EMR_SCALEVIEWPORTEXTEX284 EmfRecordTypeScaleWindowExtEx = EMR_SCALEWINDOWEXTEX285 EmfRecordTypeSaveDC = EMR_SAVEDC286 EmfRecordTypeRestoreDC = EMR_RESTOREDC287 EmfRecordTypeSetWorldTransform = EMR_SETWORLDTRANSFORM288 EmfRecordTypeModifyWorldTransform = EMR_MODIFYWORLDTRANSFORM289 EmfRecordTypeSelectObject = EMR_SELECTOBJECT290 EmfRecordTypeCreatePen = EMR_CREATEPEN291 EmfRecordTypeCreateBrushIndirect = EMR_CREATEBRUSHINDIRECT292 EmfRecordTypeDeleteObject = EMR_DELETEOBJECT293 EmfRecordTypeAngleArc = EMR_ANGLEARC294 EmfRecordTypeEllipse = EMR_ELLIPSE295 EmfRecordTypeRectangle = EMR_RECTANGLE296 EmfRecordTypeRoundRect = EMR_ROUNDRECT297 EmfRecordTypeArc = EMR_ARC298 EmfRecordTypeChord = EMR_CHORD299 EmfRecordTypePie = EMR_PIE300 EmfRecordTypeSelectPalette = EMR_SELECTPALETTE301 EmfRecordTypeCreatePalette = EMR_CREATEPALETTE302 EmfRecordTypeSetPaletteEntries = EMR_SETPALETTEENTRIES303 EmfRecordTypeResizePalette = EMR_RESIZEPALETTE304 EmfRecordTypeRealizePalette = EMR_REALIZEPALETTE305 EmfRecordTypeExtFloodFill = EMR_EXTFLOODFILL306 EmfRecordTypeLineTo = EMR_LINETO307 EmfRecordTypeArcTo = EMR_ARCTO308 EmfRecordTypePolyDraw = EMR_POLYDRAW309 EmfRecordTypeSetArcDirection = EMR_SETARCDIRECTION310 EmfRecordTypeSetMiterLimit = EMR_SETMITERLIMIT311 EmfRecordTypeBeginPath = EMR_BEGINPATH312 EmfRecordTypeEndPath = EMR_ENDPATH313 EmfRecordTypeCloseFigure = EMR_CLOSEFIGURE314 EmfRecordTypeFillPath = EMR_FILLPATH315 EmfRecordTypeStrokeAndFillPath = EMR_STROKEANDFILLPATH316 EmfRecordTypeStrokePath = EMR_STROKEPATH317 EmfRecordTypeFlattenPath = EMR_FLATTENPATH318 EmfRecordTypeWidenPath = EMR_WIDENPATH319 EmfRecordTypeSelectClipPath = EMR_SELECTCLIPPATH320 EmfRecordTypeAbortPath = EMR_ABORTPATH321 EmfRecordTypeReserved_069 = 69 ' Not Used322 EmfRecordTypeGdiComment = EMR_GDICOMMENT323 EmfRecordTypeFillRgn = EMR_FILLRGN324 EmfRecordTypeFrameRgn = EMR_FRAMERGN325 EmfRecordTypeInvertRgn = EMR_INVERTRGN326 EmfRecordTypePaintRgn = EMR_PAINTRGN327 EmfRecordTypeExtSelectClipRgn = EMR_EXTSELECTCLIPRGN328 EmfRecordTypeBitBlt = EMR_BITBLT329 EmfRecordTypeStretchBlt = EMR_STRETCHBLT330 EmfRecordTypeMaskBlt = EMR_MASKBLT331 EmfRecordTypePlgBlt = EMR_PLGBLT332 EmfRecordTypeSetDIBitsToDevice = EMR_SETDIBITSTODEVICE333 EmfRecordTypeStretchDIBits = EMR_STRETCHDIBITS334 EmfRecordTypeExtCreateFontIndirect = EMR_EXTCREATEFONTINDIRECTW335 EmfRecordTypeExtTextOutA = EMR_EXTTEXTOUTA336 EmfRecordTypeExtTextOutW = EMR_EXTTEXTOUTW337 EmfRecordTypePolyBezier16 = EMR_POLYBEZIER16338 EmfRecordTypePolygon16 = EMR_POLYGON16339 EmfRecordTypePolyline16 = EMR_POLYLINE16340 EmfRecordTypePolyBezierTo16 = EMR_POLYBEZIERTO16341 EmfRecordTypePolylineTo16 = EMR_POLYLINETO16342 EmfRecordTypePolyPolyline16 = EMR_POLYPOLYLINE16343 EmfRecordTypePolyPolygon16 = EMR_POLYPOLYGON16344 EmfRecordTypePolyDraw16 = EMR_POLYDRAW16345 EmfRecordTypeCreateMonoBrush = EMR_CREATEMONOBRUSH346 EmfRecordTypeCreateDIBPatternBrushPt = EMR_CREATEDIBPATTERNBRUSHPT347 EmfRecordTypeExtCreatePen = EMR_EXTCREATEPEN348 EmfRecordTypePolyTextOutA = EMR_POLYTEXTOUTA349 EmfRecordTypePolyTextOutW = EMR_POLYTEXTOUTW350 EmfRecordTypeSetICMMode = 98 ' EMR_SETICMMODE351 EmfRecordTypeCreateColorSpace = 99 ' EMR_CREATECOLORSPACE352 EmfRecordTypeSetColorSpace = 100 ' EMR_SETCOLORSPACE353 EmfRecordTypeDeleteColorSpace = 101 ' EMR_DELETECOLORSPACE354 EmfRecordTypeGLSRecord = 102 ' EMR_GLSRECORD355 EmfRecordTypeGLSBoundedRecord = 103 ' EMR_GLSBOUNDEDRECORD356 EmfRecordTypePixelFormat = 104 ' EMR_PIXELFORMAT357 EmfRecordTypeDrawEscape = 105 ' EMR_RESERVED_105358 EmfRecordTypeExtEscape = 106 ' EMR_RESERVED_106359 EmfRecordTypeStartDoc = 107 ' EMR_RESERVED_107360 EmfRecordTypeSmallTextOut = 108 ' EMR_RESERVED_108361 EmfRecordTypeForceUFIMapping = 109 ' EMR_RESERVED_109362 EmfRecordTypeNamedEscape = 110 ' EMR_RESERVED_110363 EmfRecordTypeColorCorrectPalette = 111 ' EMR_COLORCORRECTPALETTE364 EmfRecordTypeSetICMProfileA = 112 ' EMR_SETICMPROFILEA365 EmfRecordTypeSetICMProfileW = 113 ' EMR_SETICMPROFILEW366 EmfRecordTypeAlphaBlend = 114 ' EMR_ALPHABLEND367 EmfRecordTypeSetLayout = 115 ' EMR_SETLAYOUT368 EmfRecordTypeTransparentBlt = 116 ' EMR_TRANSPARENTBLT369 EmfRecordTypeReserved_117 = 117 ' Not Used370 EmfRecordTypeGradientFill = 118 ' EMR_GRADIENTFILL371 EmfRecordTypeSetLinkedUFIs = 119 ' EMR_RESERVED_119372 EmfRecordTypeSetTextJustification = 120 ' EMR_RESERVED_120373 EmfRecordTypeColorMatchToTargetW = 121 ' EMR_COLORMATCHTOTARGETW374 EmfRecordTypeCreateColorSpaceW = 122 ' EMR_CREATECOLORSPACEW375 EmfRecordTypeMax = 122376 EmfRecordTypeMin = 1377 378 EmfPlusRecordTypeInvalid = GDIP_EMFPLUS_RECORD_BASE379 EmfPlusRecordTypeHeader380 EmfPlusRecordTypeEndOfFile381 382 EmfPlusRecordTypeComment383 384 EmfPlusRecordTypeGetDC385 386 EmfPlusRecordTypeMultiFormatStart387 EmfPlusRecordTypeMultiFormatSection388 EmfPlusRecordTypeMultiFormatEnd389 390 EmfPlusRecordTypeObject391 392 EmfPlusRecordTypeClear393 EmfPlusRecordTypeFillRects394 EmfPlusRecordTypeDrawRects395 EmfPlusRecordTypeFillPolygon396 EmfPlusRecordTypeDrawLines397 EmfPlusRecordTypeFillEllipse398 EmfPlusRecordTypeDrawEllipse399 EmfPlusRecordTypeFillPie400 EmfPlusRecordTypeDrawPie401 EmfPlusRecordTypeDrawArc402 EmfPlusRecordTypeFillRegion403 EmfPlusRecordTypeFillPath404 EmfPlusRecordTypeDrawPath405 EmfPlusRecordTypeFillClosedCurve406 EmfPlusRecordTypeDrawClosedCurve407 EmfPlusRecordTypeDrawCurve408 EmfPlusRecordTypeDrawBeziers409 EmfPlusRecordTypeDrawImage410 EmfPlusRecordTypeDrawImagePoints411 EmfPlusRecordTypeDrawString412 413 EmfPlusRecordTypeSetRenderingOrigin414 EmfPlusRecordTypeSetAntiAliasMode415 EmfPlusRecordTypeSetTextRenderingHint416 EmfPlusRecordTypeSetTextContrast417 EmfPlusRecordTypeSetInterpolationMode418 EmfPlusRecordTypeSetPixelOffsetMode419 EmfPlusRecordTypeSetCompositingMode420 EmfPlusRecordTypeSetCompositingQuality421 EmfPlusRecordTypeSave422 EmfPlusRecordTypeRestore423 EmfPlusRecordTypeBeginContainer424 EmfPlusRecordTypeBeginContainerNoParams425 EmfPlusRecordTypeEndContainer426 EmfPlusRecordTypeSetWorldTransform427 EmfPlusRecordTypeResetWorldTransform428 EmfPlusRecordTypeMultiplyWorldTransform429 EmfPlusRecordTypeTranslateWorldTransform430 EmfPlusRecordTypeScaleWorldTransform431 EmfPlusRecordTypeRotateWorldTransform432 EmfPlusRecordTypeSetPageTransform433 EmfPlusRecordTypeResetClip434 EmfPlusRecordTypeSetClipRect435 EmfPlusRecordTypeSetClipPath436 EmfPlusRecordTypeSetClipRegion437 EmfPlusRecordTypeOffsetClip438 439 EmfPlusRecordTypeDrawDriverString440 441 EmfPlusRecordTotal442 443 EmfPlusRecordTypeMax = EmfPlusRecordTotal-1444 EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader */445 End Enum446 447 Const Enum StringFormatFlags448 StringFormatFlagsDirectionRightToLeft = &h00000001449 StringFormatFlagsDirectionVertical = &h00000002450 StringFormatFlagsNoFitBlackBox = &h00000004451 StringFormatFlagsDisplayFormatControl = &h00000020452 StringFormatFlagsNoFontFallback = &h00000400453 StringFormatFlagsMeasureTrailingSpaces = &h00000800454 StringFormatFlagsNoWrap = &h00001000455 StringFormatFlagsLineLimit = &h00002000456 457 StringFormatFlagsNoClip = &h00004000458 End Enum459 460 Const Enum StringTrimming461 StringTrimmingNone = 0462 StringTrimmingCharacter = 1463 StringTrimmingWord = 2464 StringTrimmingEllipsisCharacter = 3465 StringTrimmingEllipsisWord = 4466 StringTrimmingEllipsisPath = 5467 End Enum468 469 Const Enum StringDigitSubstitute470 StringDigitSubstituteUser = 0 ' As NLS setting471 StringDigitSubstituteNone = 1472 StringDigitSubstituteNational = 2473 StringDigitSubstituteTraditional = 3474 End Enum475 476 Const Enum HotkeyPrefix477 HotkeyPrefixNone = 0478 HotkeyPrefixShow = 1479 HotkeyPrefixHide = 2480 End Enum481 482 Const Enum StringAlignment483 StringAlignmentNear = 0484 StringAlignmentCenter = 1485 StringAlignmentFar = 2486 End Enum487 488 57 Const Enum DriverStringOptions 489 58 DriverStringOptionsCmapLookup = 1 … … 491 60 DriverStringOptionsRealizedAdvance = 4 492 61 DriverStringOptionsLimitSubpixel = 8 493 End Enum494 495 Const Enum EncoderParameterValueType496 EncoderParameterValueTypeByte = 1497 EncoderParameterValueTypeASCII = 2498 EncoderParameterValueTypeShort = 3499 EncoderParameterValueTypeLong = 4500 EncoderParameterValueTypeRational = 5501 EncoderParameterValueTypeLongRange = 6502 EncoderParameterValueTypeUndefined = 7503 EncoderParameterValueTypeRationalRange = 8504 End Enum505 506 Const Enum EncoderValue507 EncoderValueColorTypeCMYK508 EncoderValueColorTypeYCCK509 EncoderValueCompressionLZW510 EncoderValueCompressionCCITT3511 EncoderValueCompressionCCITT4512 EncoderValueCompressionRle513 EncoderValueCompressionNone514 EncoderValueScanMethodInterlaced515 EncoderValueScanMethodNonInterlaced516 EncoderValueVersionGif87517 EncoderValueVersionGif89518 EncoderValueRenderProgressive519 EncoderValueRenderNonProgressive520 EncoderValueTransformRotate90521 EncoderValueTransformRotate180522 EncoderValueTransformRotate270523 EncoderValueTransformFlipHorizontal524 EncoderValueTransformFlipVertical525 EncoderValueMultiFrame526 EncoderValueLastFrame527 EncoderValueFlush528 EncoderValueFrameDimensionTime529 EncoderValueFrameDimensionResolution530 EncoderValueFrameDimensionPage531 62 End Enum 532 63 -
trunk/ab5.0/ablib/src/GdiPlusFlat.ab
r698 r700 67 67 Declare Function GdipWindingModeOutline Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix, ByVal flatness As Single) As GpStatus 68 68 Declare Function GdipWidenPath Lib "gdiplus.dll" (ByVal nativePath As *GpPath, ByVal pen As *GpPen, ByVal matrix As *GpMatrix, ByVal flatness As Single) As GpStatus 69 Declare Function GdipWarpPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix, ByVal points As *GpPointF, ByVal count As Long, ByVal srcx As Single, ByVal srcy As Single, ByVal srcwidth As Single, ByVal srcheight As Single, ByVal warpMode As WarpMode, ByVal flatness As Single) As GpStatus69 Declare Function GdipWarpPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix, ByVal points As *GpPointF, ByVal count As Long, ByVal srcx As Single, ByVal srcy As Single, ByVal srcwidth As Single, ByVal srcheight As Single, ByVal warpMode As Long /*WarpMode*/, ByVal flatness As Single) As GpStatus 70 70 Declare Function GdipTransformPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix) As GpStatus 71 71 Declare Function GdipGetPathWorldBounds Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal bounds As *GpRectF, ByVal matrix As *GpMatrix, ByVal pen As *GpPen) As GpStatus … … 185 185 Declare Function GdipCreateLineBrush Lib "gdiplus.dll" (ByRef point1 As GpPointF, ByRef point2 As GpPointF, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus 186 186 Declare Function GdipCreateLineBrushI Lib "gdiplus.dll" (ByRef point1 As GpPoint, ByRef point2 As GpPoint, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus 187 Declare Function GdipCreateLineBrushFromRect Lib "gdiplus.dll" (ByRef rect As GpRectF, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal mode As L inearGradientMode, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus188 Declare Function GdipCreateLineBrushFromRectI Lib "gdiplus.dll" (ByRef rect As GpRect, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal mode As L inearGradientMode, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus187 Declare Function GdipCreateLineBrushFromRect Lib "gdiplus.dll" (ByRef rect As GpRectF, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal mode As Long /*LinearGradientMode*/, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus 188 Declare Function GdipCreateLineBrushFromRectI Lib "gdiplus.dll" (ByRef rect As GpRect, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal mode As Long /*LinearGradientMode*/, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus 189 189 Declare Function GdipCreateLineBrushFromRectWithAngle Lib "gdiplus.dll" (ByRef rect As GpRectF, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal angle As Single, ByVal isAngleScalable As BOOL, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus 190 190 Declare Function GdipCreateLineBrushFromRectWithAngleI Lib "gdiplus.dll" (ByRef rect As GpRect, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal angle As Single, ByVal isAngleScalable As BOOL, ByRef lineGradient As *GpLineGradient) As GpStatus … … 408 408 Declare Function GdipSetImageAttributesOutputChannelColorProfile Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As Long /*ColorAdjustType*/, ByVal enableFlag As BOOL, ByVal colorProfileFilename As PCWSTR) As GpStatus 409 409 Declare Function GdipSetImageAttributesRemapTable Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As Long /*ColorAdjustType*/, ByVal enableFlag As BOOL, ByVal mapSize As DWord, ByRef map As System.Drawing.Imaging.ColorMap) As GpStatus 410 Declare Function GdipSetImageAttributesWrapMode Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByVal wrap As WrapMode, ByVal argb As ARGB, ByVal clamp As BOOL) As GpStatus410 Declare Function GdipSetImageAttributesWrapMode Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByVal wrap As Long /*WarpMode*/, ByVal argb As ARGB, ByVal clamp As BOOL) As GpStatus 411 411 Declare Function GdipSetImageAttributesICMMode Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByRef on As BOOL) As GpStatus 412 412 Declare Function GdipGetImageAttributesAdjustedPalette Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByRef colorPalette As System.Drawing.Imaging.ColorPalette, ByVal colorAdjustType As Long /*ColorAdjustType*/) As GpStatus … … 529 529 Declare Function GdipEnumerateMetafileSrcRectDestPoints Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As *GpMetafile, ByVal destPoints As *GpPointF, ByVal count As Long, ByRef srcRect As GpRectF, ByVal srcUnit As Long /*GraphicsUnit*/, ByVal callback As System.Drawing.Detail.NativeEnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus 530 530 Declare Function GdipEnumerateMetafileSrcRectDestPointsI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As *GpMetafile, ByVal destPoints As *GpPoint, ByVal count As Long, ByRef srcRect As GpRect, ByVal srcUnit As Long /*GraphicsUnit*/, ByVal callback As System.Drawing.Detail.NativeEnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus 531 Declare Function GdipPlayMetafileRecord Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByVal recordType As EmfPlusRecordType, ByVal flags As DWord, dataSize As DWord, ByVal data As *Byte) As GpStatus531 Declare Function GdipPlayMetafileRecord Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByVal recordType As Long /*EmfPlusRecordType*/, ByVal flags As DWord, dataSize As DWord, ByVal data As *Byte) As GpStatus 532 532 Declare Function GdipSetClipGraphics Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal srcgraphics As *GpGraphics, ByVal combineMode As Long /*CombineMode*/) As GpStatus 533 533 Declare Function GdipSetClipRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal combineMode As Long /*CombineMode*/) As GpStatus … … 568 568 Declare Function GdipCreateMetafileFromWmfFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef wmfPlaceableFileHeader As System.Drawing.Imaging.WmfPlaceableFileHeader, ByRef metafile As *GpMetafile) As GpStatus 569 569 Declare Function GdipCreateMetafileFromStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef metafile As *GpMetafile) As GpStatus 570 Declare Function GdipRecordMetafile Lib "gdiplus.dll" (ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, 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 EmfType, ByRef frameRect As GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus572 Declare Function GdipRecordMetafileFileName Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, 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 EmfType,ByRef frameRect As GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus574 Declare Function GdipRecordMetafileStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, 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 EmfType, ByRef frameRect As GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus570 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 GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 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 GpRectF, ByVal frameUnit As Long /*MetafileFrameUnit*/, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus 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 GpRectF, 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 … … 636 636 Declare Function GdipSetStringFormatFlags Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal flags As Long) As GpStatus 637 637 Declare Function GdipGetStringFormatFlags Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef flags As Long) As GpStatus 638 Declare Function GdipSetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As StringAlignment) As GpStatus639 Declare Function GdipGetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As StringAlignment) As GpStatus640 Declare Function GdipSetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As StringAlignment) As GpStatus641 Declare Function GdipGetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As StringAlignment) As GpStatus642 Declare Function GdipSetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal trimming As StringTrimming) As GpStatus643 Declare Function GdipGetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef trimming As StringTrimming) As GpStatus638 Declare Function GdipSetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As Long /*StringAlignment*/) As GpStatus 639 Declare Function GdipGetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As Long /*StringAlignment*/) As GpStatus 640 Declare Function GdipSetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As Long /*StringAlignment*/) As GpStatus 641 Declare Function GdipGetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As Long /*StringAlignment*/) As GpStatus 642 Declare Function GdipSetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal trimming As Long /*StringTrimming*/) As GpStatus 643 Declare Function GdipGetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef trimming As Long /*StringTrimming*/) As GpStatus 644 644 Declare Function GdipSetStringFormatHotkeyPrefix Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal hotkeyPrefix As Long) As GpStatus 645 645 Declare Function GdipGetStringFormatHotkeyPrefix Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef hotkeyPrefix As Long) As GpStatus … … 647 647 Declare Function GdipGetStringFormatTabStops Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal count As Long, ByRef firstTabOffset As Single, ByVal tabStops As *Single) As GpStatus 648 648 Declare Function GdipGetStringFormatTabStopCount Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef count As Long) As GpStatus 649 Declare Function GdipSetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal language As LANGID, ByVal substitute As StringDigitSubstitute) As GpStatus650 Declare Function GdipGetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef language As LANGID, ByRef substitute As StringDigitSubstitute) As GpStatus649 Declare Function GdipSetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal language As LANGID, ByVal substitute As Long /*StringDigitSubstitute*/) As GpStatus 650 Declare Function GdipGetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef language As LANGID, ByRef substitute As Long /*StringDigitSubstitute*/) As GpStatus 651 651 Declare Function GdipGetStringFormatMeasurableCharacterRangeCount Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef count As Long) As GpStatus 652 652 Declare Function GdipSetStringFormatMeasurableCharacterRanges Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal rangeCount As Long, ByVal ranges As *System.Drawing.CharacterRange) As GpStatus -
trunk/ab5.0/ablib/src/GdiPlusGpStubs.ab
r698 r700 72 72 TypeDef GpStatus = Status 73 73 TypeDef GpFillMode = Long 'System.Drawing.Drawing2D.FillMode 74 TypeDef GpWrapMode = WrapMode74 TypeDef GpWrapMode = Long 'System.Drawing.Drawing2D.WrapMode 75 75 TypeDef GpUnit = Long 'System.Drawing.GraphicsUnit 76 76 TypeDef GpCoordinateSpace = Long 'System.Drawing.Drawing2D.CoordinateSpace -
trunk/ab5.0/ablib/src/api_gdi.sbp
r698 r700 84 84 TypeDef PENHMETAHEADER = *ENHMETAHEADER 85 85 86 87 86 88 Type HANDLETABLE 87 89 objectHandle[ELM(1)] As HGDIOBJ … … 110 112 TypeDef MFENUMPROC = *Function(hdc As HDC, ByRef HTable As HANDLETABLE, ByRef MFR As METARECORD, nObj As Long, lpClientData As LPARAM) As Long 111 113 114 Const META_SETBKCOLOR = &h0201 115 Const META_SETBKMODE = &h0102 116 Const META_SETMAPMODE = &h0103 117 Const META_SETROP2 = &h0104 118 Const META_SETRELABS = &h0105 119 Const META_SETPOLYFILLMODE = &h0106 120 Const META_SETSTRETCHBLTMODE = &h0107 121 Const META_SETTEXTCHAREXTRA = &h0108 122 Const META_SETTEXTCOLOR = &h0209 123 Const META_SETTEXTJUSTIFICATION = &h020A 124 Const META_SETWINDOWORG = &h020B 125 Const META_SETWINDOWEXT = &h020C 126 Const META_SETVIEWPORTORG = &h020D 127 Const META_SETVIEWPORTEXT = &h020E 128 Const META_OFFSETWINDOWORG = &h020F 129 Const META_SCALEWINDOWEXT = &h0410 130 Const META_OFFSETVIEWPORTORG = &h0211 131 Const META_SCALEVIEWPORTEXT = &h0412 132 Const META_LINETO = &h0213 133 Const META_MOVETO = &h0214 134 Const META_EXCLUDECLIPRECT = &h0415 135 Const META_INTERSECTCLIPRECT = &h0416 136 Const META_ARC = &h0817 137 Const META_ELLIPSE = &h0418 138 Const META_FLOODFILL = &h0419 139 Const META_PIE = &h081A 140 Const META_RECTANGLE = &h041B 141 Const META_ROUNDRECT = &h061C 142 Const META_PATBLT = &h061D 143 Const META_SAVEDC = &h001E 144 Const META_SETPIXEL = &h041F 145 Const META_OFFSETCLIPRGN = &h0220 146 Const META_TEXTOUT = &h0521 147 Const META_BITBLT = &h0922 148 Const META_STRETCHBLT = &h0B23 149 Const META_POLYGON = &h0324 150 Const META_POLYLINE = &h0325 151 Const META_ESCAPE = &h0626 152 Const META_RESTOREDC = &h0127 153 Const META_FILLREGION = &h0228 154 Const META_FRAMEREGION = &h0429 155 Const META_INVERTREGION = &h012A 156 Const META_PAINTREGION = &h012B 157 Const META_SELECTCLIPREGION = &h012C 158 Const META_SELECTOBJECT = &h012D 159 Const META_SETTEXTALIGN = &h012E 160 Const META_CHORD = &h0830 161 Const META_SETMAPPERFLAGS = &h0231 162 Const META_EXTTEXTOUT = &h0a32 163 Const META_SETDIBTODEV = &h0d33 164 Const META_SELECTPALETTE = &h0234 165 Const META_REALIZEPALETTE = &h0035 166 Const META_ANIMATEPALETTE = &h0436 167 Const META_SETPALENTRIES = &h0037 168 Const META_POLYPOLYGON = &h0538 169 Const META_RESIZEPALETTE = &h0139 170 Const META_DIBBITBLT = &h0940 171 Const META_DIBSTRETCHBLT = &h0b41 172 Const META_DIBCREATEPATTERNBRUSH = &h0142 173 Const META_STRETCHDIB = &h0f43 174 Const META_EXTFLOODFILL = &h0548 175 '#if WINVER >= &h0500 176 Const META_SETLAYOUT = &h0149 177 '#endif 178 Const META_DELETEOBJECT = &h01f0 179 Const META_CREATEPALETTE = &h00f7 180 Const META_CREATEPATTERNBRUSH = &h01F9 181 Const META_CREATEPENINDIRECT = &h02FA 182 Const META_CREATEFONTINDIRECT = &h02FB 183 Const META_CREATEBRUSHINDIRECT = &h02FC 184 Const META_CREATEREGION = &h06FF 185 186 Const EMR_HEADER = 1 187 Const EMR_POLYBEZIER = 2 188 Const EMR_POLYGON = 3 189 Const EMR_POLYLINE = 4 190 Const EMR_POLYBEZIERTO = 5 191 Const EMR_POLYLINETO = 6 192 Const EMR_POLYPOLYLINE = 7 193 Const EMR_POLYPOLYGON = 8 194 Const EMR_SETWINDOWEXTEX = 9 195 Const EMR_SETWINDOWORGEX = 10 196 Const EMR_SETVIEWPORTEXTEX = 11 197 Const EMR_SETVIEWPORTORGEX = 12 198 Const EMR_SETBRUSHORGEX = 13 199 Const EMR_EOF = 14 200 Const EMR_SETPIXELV = 15 201 Const EMR_SETMAPPERFLAGS = 16 202 Const EMR_SETMAPMODE = 17 203 Const EMR_SETBKMODE = 18 204 Const EMR_SETPOLYFILLMODE = 19 205 Const EMR_SETROP2 = 20 206 Const EMR_SETSTRETCHBLTMODE = 21 207 Const EMR_SETTEXTALIGN = 22 208 Const EMR_SETCOLORADJUSTMENT = 23 209 Const EMR_SETTEXTCOLOR = 24 210 Const EMR_SETBKCOLOR = 25 211 Const EMR_OFFSETCLIPRGN = 26 212 Const EMR_MOVETOEX = 27 213 Const EMR_SETMETARGN = 28 214 Const EMR_EXCLUDECLIPRECT = 29 215 Const EMR_INTERSECTCLIPRECT = 30 216 Const EMR_SCALEVIEWPORTEXTEX = 31 217 Const EMR_SCALEWINDOWEXTEX = 32 218 Const EMR_SAVEDC = 33 219 Const EMR_RESTOREDC = 34 220 Const EMR_SETWORLDTRANSFORM = 35 221 Const EMR_MODIFYWORLDTRANSFORM = 36 222 Const EMR_SELECTOBJECT = 37 223 Const EMR_CREATEPEN = 38 224 Const EMR_CREATEBRUSHINDIRECT = 39 225 Const EMR_DELETEOBJECT = 40 226 Const EMR_ANGLEARC = 41 227 Const EMR_ELLIPSE = 42 228 Const EMR_RECTANGLE = 43 229 Const EMR_ROUNDRECT = 44 230 Const EMR_ARC = 45 231 Const EMR_CHORD = 46 232 Const EMR_PIE = 47 233 Const EMR_SELECTPALETTE = 48 234 Const EMR_CREATEPALETTE = 49 235 Const EMR_SETPALETTEENTRIES = 50 236 Const EMR_RESIZEPALETTE = 51 237 Const EMR_REALIZEPALETTE = 52 238 Const EMR_EXTFLOODFILL = 53 239 Const EMR_LINETO = 54 240 Const EMR_ARCTO = 55 241 Const EMR_POLYDRAW = 56 242 Const EMR_SETARCDIRECTION = 57 243 Const EMR_SETMITERLIMIT = 58 244 Const EMR_BEGINPATH = 59 245 Const EMR_ENDPATH = 60 246 Const EMR_CLOSEFIGURE = 61 247 Const EMR_FILLPATH = 62 248 Const EMR_STROKEANDFILLPATH = 63 249 Const EMR_STROKEPATH = 64 250 Const EMR_FLATTENPATH = 65 251 Const EMR_WIDENPATH = 66 252 Const EMR_SELECTCLIPPATH = 67 253 Const EMR_ABORTPATH = 68 254 255 Const EMR_GDICOMMENT = 70 256 Const EMR_FILLRGN = 71 257 Const EMR_FRAMERGN = 72 258 Const EMR_INVERTRGN = 73 259 Const EMR_PAINTRGN = 74 260 Const EMR_EXTSELECTCLIPRGN = 75 261 Const EMR_BITBLT = 76 262 Const EMR_STRETCHBLT = 77 263 Const EMR_MASKBLT = 78 264 Const EMR_PLGBLT = 79 265 Const EMR_SETDIBITSTODEVICE = 80 266 Const EMR_STRETCHDIBITS = 81 267 Const EMR_EXTCREATEFONTINDIRECTW = 82 268 Const EMR_EXTTEXTOUTA = 83 269 Const EMR_EXTTEXTOUTW = 84 270 Const EMR_POLYBEZIER16 = 85 271 Const EMR_POLYGON16 = 86 272 Const EMR_POLYLINE16 = 87 273 Const EMR_POLYBEZIERTO16 = 88 274 Const EMR_POLYLINETO16 = 89 275 Const EMR_POLYPOLYLINE16 = 90 276 Const EMR_POLYPOLYGON16 = 91 277 Const EMR_POLYDRAW16 = 92 278 Const EMR_CREATEMONOBRUSH = 93 279 Const EMR_CREATEDIBPATTERNBRUSHPT = 94 280 Const EMR_EXTCREATEPEN = 95 281 Const EMR_POLYTEXTOUTA = 96 282 Const EMR_POLYTEXTOUTW = 97 283 '#if WINVER >= &h0400 284 Const EMR_SETICMMODE = 98 285 Const EMR_CREATECOLORSPACE = 99 286 Const EMR_SETCOLORSPACE = 100 287 Const EMR_DELETECOLORSPACE = 101 288 Const EMR_GLSRECORD = 102 289 Const EMR_GLSBOUNDEDRECORD = 103 290 Const EMR_PIXELFORMAT = 104 291 '#endif 292 '#if WINVER >= &h0500 293 Const EMR_RESERVED_105 = 105 294 Const EMR_RESERVED_106 = 106 295 Const EMR_RESERVED_107 = 107 296 Const EMR_RESERVED_108 = 108 297 Const EMR_RESERVED_109 = 109 298 Const EMR_RESERVED_110 = 110 299 Const EMR_COLORCORRECTPALETTE = 111 300 Const EMR_SETICMPROFILEA = 112 301 Const EMR_SETICMPROFILEW = 113 302 Const EMR_ALPHABLEND = 114 303 Const EMR_SETLAYOUT = 115 304 Const EMR_TRANSPARENTBLT = 116 305 '#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K 306 Const EMR_RESERVED_117 = 117 307 '#endif 308 Const EMR_GRADIENTFILL = 118 309 Const EMR_RESERVED_119 = 119 310 Const EMR_RESERVED_120 = 120 311 Const EMR_COLORMATCHTOTARGETW = 121 312 Const EMR_CREATECOLORSPACEW = 122 313 '#endif 112 314 113 315 ' RGB Color
Note:
See TracChangeset
for help on using the changeset viewer.