Changeset 700 for trunk


Ignore:
Timestamp:
Mar 31, 2009, 3:12:04 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

GdiPlusEnums.abの列挙体を名前空間System.Drawing以下に配置

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  
    11' Classes/System/Drawing/Drawing2D/misc.ab
     2
    23Namespace System
    34Namespace Drawing
     
    138139End Enum
    139140
     141Enum WrapMode
     142    Tile         ' 0
     143    TileFlipX    ' 1
     144    TileFlipY    ' 2
     145    TileFlipXY   ' 3
     146    Clamp        ' 4
     147End Enum
     148
     149Enum 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
     208End Enum
     209
     210Enum 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
     219End Enum
     220
     221Enum WarpMode
     222    Perspective     ' 0
     223    Bilinear        ' 1
     224End Enum
     225
     226Enum LinearGradientMode
     227    Horizontal          ' 0
     228    Vertical            ' 1
     229    ForwardDiagonal     ' 2
     230    BackwardDiagonal    ' 3
     231End Enum
     232
    140233End Namespace
    141234End Namespace
  • trunk/ab5.0/ablib/src/Classes/System/Drawing/Graphics.ab

    r698 r700  
    3636End Class
    3737
    38 Delegate Function EnumerateMetafileProc(recordType As EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean
     38Delegate Function EnumerateMetafileProc(recordType As Imaging.EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean
    3939
    4040Namespace Detail
    4141
    42 TypeDef NativeEnumerateMetafileProc = *Function(recordType As EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean
     42TypeDef NativeEnumerateMetafileProc = *Function(recordType As Imaging.EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean
    4343
    4444Type EnumerateMetafileProcData
     
    4747End Type
    4848
    49 Function NativeEnumerateMetafileProcEntry(recordType As EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean
     49Function NativeEnumerateMetafileProcEntry(recordType As Imaging.EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As Boolean
    5050    Dim procData = callbackData As *EnumerateMetafileProcData
    5151    Dim proc = procData->Proc
  • trunk/ab5.0/ablib/src/Classes/System/Drawing/Imaging/misc.ab

    r698 r700  
    436436End Enum
    437437
     438Enum MetafileType
     439    Invalid
     440    Wmf
     441    WmfPlaceable
     442    Emf
     443    EmfPlusOnly
     444    EmfPlusDual
     445End Enum
     446
     447Enum EmfType
     448    Only     = 4 'MetafileType.Emf As Long
     449    PlusOnly = 5 'MetafileType.EmfPlusOnly As Long
     450    PlusDual = 6 'MetafileType.EmfPlusDual As Long
     451End Enum
     452
     453Enum 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
     462End Enum
     463
     464Enum 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
     489End Enum
     490
     491Enum 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
     764End Enum
     765
    438766End Namespace
    439767End Namespace
  • trunk/ab5.0/ablib/src/Classes/System/Drawing/Text/misc.ab

    r635 r700  
    1313End Enum
    1414
     15Enum GenericFontFamily
     16    Serif
     17    SansSerif
     18    Monospace
     19End Enum
     20
     21Enum HotkeyPrefix
     22    None        = 0
     23    Show        = 1
     24    Hide        = 2
     25End Enum
     26
    1527End Namespace
    1628End Namespace
  • trunk/ab5.0/ablib/src/Classes/System/Drawing/misc.ab

    r698 r700  
    6262End Enum
    6363
     64Enum 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
     74End Enum
     75
     76Enum StringTrimming
     77    None              = 0
     78    Character         = 1
     79    Word_             = 2
     80    EllipsisCharacter = 3
     81    EllipsisWord      = 4
     82    EllipsisPath      = 5
     83End Enum
     84
     85Enum StringDigitSubstitute
     86    User        = 0
     87    None        = 1
     88    National    = 2
     89    Traditional = 3
     90End Enum
     91
     92Enum StringAlignment
     93    Near   = 0
     94    Center = 1
     95    Far    = 2
     96End Enum
     97
    6498Namespace Detail
    6599    Sub ThrowGdiplusException(status As Status)
  • trunk/ab5.0/ablib/src/GdiPlusEnums.ab

    r698 r700  
    55TypeDef GraphicsState = DWord
    66
    7 Const Enum WrapMode
    8     WrapModeTile         ' 0
    9     WrapModeTileFlipX    ' 1
    10     WrapModeTileFlipY    ' 2
    11     WrapModeTileFlipXY   ' 3
    12     WrapModeClamp        ' 4
    13 End Enum
    14 
    15 Const Enum HatchStyle
    16     HatchStyleHorizontal                    ' 0
    17     HatchStyleVertical                      ' 1
    18     HatchStyleForwardDiagonal               ' 2
    19     HatchStyleBackwardDiagonal              ' 3
    20     HatchStyleCross                         ' 4
    21     HatchStyleDiagonalCross                 ' 5
    22     HatchStyle05Percent                     ' 6
    23     HatchStyle10Percent                     ' 7
    24     HatchStyle20Percent                     ' 8
    25     HatchStyle25Percent                     ' 9
    26     HatchStyle30Percent                     ' 10
    27     HatchStyle40Percent                     ' 11
    28     HatchStyle50Percent                     ' 12
    29     HatchStyle60Percent                     ' 13
    30     HatchStyle70Percent                     ' 14
    31     HatchStyle75Percent                     ' 15
    32     HatchStyle80Percent                     ' 16
    33     HatchStyle90Percent                     ' 17
    34     HatchStyleLightDownwardDiagonal         ' 18
    35     HatchStyleLightUpwardDiagonal           ' 19
    36     HatchStyleDarkDownwardDiagonal          ' 20
    37     HatchStyleDarkUpwardDiagonal            ' 21
    38     HatchStyleWideDownwardDiagonal          ' 22
    39     HatchStyleWideUpwardDiagonal            ' 23
    40     HatchStyleLightVertical                 ' 24
    41     HatchStyleLightHorizontal               ' 25
    42     HatchStyleNarrowVertical                ' 26
    43     HatchStyleNarrowHorizontal              ' 27
    44     HatchStyleDarkVertical                  ' 28
    45     HatchStyleDarkHorizontal                ' 29
    46     HatchStyleDashedDownwardDiagonal        ' 30
    47     HatchStyleDashedUpwardDiagonal          ' 31
    48     HatchStyleDashedHorizontal              ' 32
    49     HatchStyleDashedVertical                ' 33
    50     HatchStyleSmallConfetti                 ' 34
    51     HatchStyleLargeConfetti                 ' 35
    52     HatchStyleZigZag                        ' 36
    53     HatchStyleWave                          ' 37
    54     HatchStyleDiagonalBrick                 ' 38
    55     HatchStyleHorizontalBrick               ' 39
    56     HatchStyleWeave                         ' 40
    57     HatchStylePlaid                         ' 41
    58     HatchStyleDivot                         ' 42
    59     HatchStyleDottedGrid                    ' 43
    60     HatchStyleDottedDiamond                 ' 44
    61     HatchStyleShingle                       ' 45
    62     HatchStyleTrellis                       ' 46
    63     HatchStyleSphere                        ' 47
    64     HatchStyleSmallGrid                     ' 48
    65     HatchStyleSmallCheckerBoard             ' 49
    66     HatchStyleLargeCheckerBoard             ' 50
    67     HatchStyleOutlinedDiamond               ' 51
    68     HatchStyleSolidDiamond                  ' 52
    69 
    70     HatchStyleTotal
    71 '   HatchStyleLargeGrid = HatchStyleCross   ' 4
    72 
    73 '   HatchStyleMin       = HatchStyleHorizontal
    74 '   HatchStyleMax       = HatchStyleTotal - 1
    75 End Enum
    76 
    777Const Enum CustomLineCapType
    788    CustomLineCapTypeDefault         = 0
    799    CustomLineCapTypeAdjustableArrow = 1
    80 End Enum
    81 
    82 Const Enum PathPointType
    83     PathPointTypeStart           = 0
    84     PathPointTypeLine            = 1
    85     PathPointTypeBezier          = 3
    86     PathPointTypePathTypeMask    = &h07
    87     PathPointTypeDashMode        = &h10
    88     PathPointTypePathMarker      = &h20
    89     PathPointTypeCloseSubpath    = &h80
    90     PathPointTypeBezier3    = 3
    91 End Enum
    92 
    93 Const Enum WarpMode
    94     WarpModePerspective     ' 0
    95     WarpModeBilinear        ' 1
    96 End Enum
    97 
    98 Const Enum LinearGradientMode
    99     LinearGradientModeHorizontal          ' 0
    100     LinearGradientModeVertical            ' 1
    101     LinearGradientModeForwardDiagonal     ' 2
    102     LinearGradientModeBackwardDiagonal    ' 3
    10310End Enum
    10411
     
    11522    BrushTypePathGradient     = 3
    11623    BrushTypeLinearGradient   = 4
    117 End Enum
    118 
    119 Const Enum GenericFontFamily
    120     GenericFontFamilySerif
    121     GenericFontFamilySansSerif
    122     GenericFontFamilyMonospace
    123 End Enum
    124 
    125 Const Enum MetafileType
    126     MetafileTypeInvalid
    127     MetafileTypeWmf
    128     MetafileTypeWmfPlaceable
    129     MetafileTypeEmf
    130     MetafileTypeEmfPlusOnly
    131     MetafileTypeEmfPlusDual
    132 End Enum
    133 
    134 Const Enum EmfType
    135     EmfTypeEmfOnly     = MetafileTypeEmf
    136     EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly
    137     EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual
    13824End Enum
    13925
     
    16955End Function
    17056
    171 Const Enum EmfPlusRecordType
    172 /*
    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_DRAWTEXT
    220     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_SETLAYOUT
    236     WmfRecordTypeResetDC                 = GDIP_WMF_RECORD_TO_EMFPLUS(&h014C)   ' META_RESETDC
    237     WmfRecordTypeStartDoc                = GDIP_WMF_RECORD_TO_EMFPLUS(&h014D)   ' META_STARTDOC
    238     WmfRecordTypeStartPage               = GDIP_WMF_RECORD_TO_EMFPLUS(&h004F)   ' META_STARTPAGE
    239     WmfRecordTypeEndPage                 = GDIP_WMF_RECORD_TO_EMFPLUS(&h0050)   ' META_ENDPAGE
    240     WmfRecordTypeAbortDoc                = GDIP_WMF_RECORD_TO_EMFPLUS(&h0052)   ' META_ABORTDOC
    241     WmfRecordTypeEndDoc                  = GDIP_WMF_RECORD_TO_EMFPLUS(&h005E)   ' META_ENDDOC
    242     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_CREATEBRUSH
    245     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_CREATEBITMAPINDIRECT
    250     WmfRecordTypeCreateBitmap            = GDIP_WMF_RECORD_TO_EMFPLUS(&h06FE)   ' META_CREATEBITMAP
    251     WmfRecordTypeCreateRegion            = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION)
    252 
    253     EmfRecordTypeHeader                  = EMR_HEADER
    254     EmfRecordTypePolyBezier              = EMR_POLYBEZIER
    255     EmfRecordTypePolygon                 = EMR_POLYGON
    256     EmfRecordTypePolyline                = EMR_POLYLINE
    257     EmfRecordTypePolyBezierTo            = EMR_POLYBEZIERTO
    258     EmfRecordTypePolyLineTo              = EMR_POLYLINETO
    259     EmfRecordTypePolyPolyline            = EMR_POLYPOLYLINE
    260     EmfRecordTypePolyPolygon             = EMR_POLYPOLYGON
    261     EmfRecordTypeSetWindowExtEx          = EMR_SETWINDOWEXTEX
    262     EmfRecordTypeSetWindowOrgEx          = EMR_SETWINDOWORGEX
    263     EmfRecordTypeSetViewportExtEx        = EMR_SETVIEWPORTEXTEX
    264     EmfRecordTypeSetViewportOrgEx        = EMR_SETVIEWPORTORGEX
    265     EmfRecordTypeSetBrushOrgEx           = EMR_SETBRUSHORGEX
    266     EmfRecordTypeEOF                     = EMR_EOF
    267     EmfRecordTypeSetPixelV               = EMR_SETPIXELV
    268     EmfRecordTypeSetMapperFlags          = EMR_SETMAPPERFLAGS
    269     EmfRecordTypeSetMapMode              = EMR_SETMAPMODE
    270     EmfRecordTypeSetBkMode               = EMR_SETBKMODE
    271     EmfRecordTypeSetPolyFillMode         = EMR_SETPOLYFILLMODE
    272     EmfRecordTypeSetROP2                 = EMR_SETROP2
    273     EmfRecordTypeSetStretchBltMode       = EMR_SETSTRETCHBLTMODE
    274     EmfRecordTypeSetTextAlign            = EMR_SETTEXTALIGN
    275     EmfRecordTypeSetColorAdjustment      = EMR_SETCOLORADJUSTMENT
    276     EmfRecordTypeSetTextColor            = EMR_SETTEXTCOLOR
    277     EmfRecordTypeSetBkColor              = EMR_SETBKCOLOR
    278     EmfRecordTypeOffsetClipRgn           = EMR_OFFSETCLIPRGN
    279     EmfRecordTypeMoveToEx                = EMR_MOVETOEX
    280     EmfRecordTypeSetMetaRgn              = EMR_SETMETARGN
    281     EmfRecordTypeExcludeClipRect         = EMR_EXCLUDECLIPRECT
    282     EmfRecordTypeIntersectClipRect       = EMR_INTERSECTCLIPRECT
    283     EmfRecordTypeScaleViewportExtEx      = EMR_SCALEVIEWPORTEXTEX
    284     EmfRecordTypeScaleWindowExtEx        = EMR_SCALEWINDOWEXTEX
    285     EmfRecordTypeSaveDC                  = EMR_SAVEDC
    286     EmfRecordTypeRestoreDC               = EMR_RESTOREDC
    287     EmfRecordTypeSetWorldTransform       = EMR_SETWORLDTRANSFORM
    288     EmfRecordTypeModifyWorldTransform    = EMR_MODIFYWORLDTRANSFORM
    289     EmfRecordTypeSelectObject            = EMR_SELECTOBJECT
    290     EmfRecordTypeCreatePen               = EMR_CREATEPEN
    291     EmfRecordTypeCreateBrushIndirect     = EMR_CREATEBRUSHINDIRECT
    292     EmfRecordTypeDeleteObject            = EMR_DELETEOBJECT
    293     EmfRecordTypeAngleArc                = EMR_ANGLEARC
    294     EmfRecordTypeEllipse                 = EMR_ELLIPSE
    295     EmfRecordTypeRectangle               = EMR_RECTANGLE
    296     EmfRecordTypeRoundRect               = EMR_ROUNDRECT
    297     EmfRecordTypeArc                     = EMR_ARC
    298     EmfRecordTypeChord                   = EMR_CHORD
    299     EmfRecordTypePie                     = EMR_PIE
    300     EmfRecordTypeSelectPalette           = EMR_SELECTPALETTE
    301     EmfRecordTypeCreatePalette           = EMR_CREATEPALETTE
    302     EmfRecordTypeSetPaletteEntries       = EMR_SETPALETTEENTRIES
    303     EmfRecordTypeResizePalette           = EMR_RESIZEPALETTE
    304     EmfRecordTypeRealizePalette          = EMR_REALIZEPALETTE
    305     EmfRecordTypeExtFloodFill            = EMR_EXTFLOODFILL
    306     EmfRecordTypeLineTo                  = EMR_LINETO
    307     EmfRecordTypeArcTo                   = EMR_ARCTO
    308     EmfRecordTypePolyDraw                = EMR_POLYDRAW
    309     EmfRecordTypeSetArcDirection         = EMR_SETARCDIRECTION
    310     EmfRecordTypeSetMiterLimit           = EMR_SETMITERLIMIT
    311     EmfRecordTypeBeginPath               = EMR_BEGINPATH
    312     EmfRecordTypeEndPath                 = EMR_ENDPATH
    313     EmfRecordTypeCloseFigure             = EMR_CLOSEFIGURE
    314     EmfRecordTypeFillPath                = EMR_FILLPATH
    315     EmfRecordTypeStrokeAndFillPath       = EMR_STROKEANDFILLPATH
    316     EmfRecordTypeStrokePath              = EMR_STROKEPATH
    317     EmfRecordTypeFlattenPath             = EMR_FLATTENPATH
    318     EmfRecordTypeWidenPath               = EMR_WIDENPATH
    319     EmfRecordTypeSelectClipPath          = EMR_SELECTCLIPPATH
    320     EmfRecordTypeAbortPath               = EMR_ABORTPATH
    321     EmfRecordTypeReserved_069            = 69   ' Not Used
    322     EmfRecordTypeGdiComment              = EMR_GDICOMMENT
    323     EmfRecordTypeFillRgn                 = EMR_FILLRGN
    324     EmfRecordTypeFrameRgn                = EMR_FRAMERGN
    325     EmfRecordTypeInvertRgn               = EMR_INVERTRGN
    326     EmfRecordTypePaintRgn                = EMR_PAINTRGN
    327     EmfRecordTypeExtSelectClipRgn        = EMR_EXTSELECTCLIPRGN
    328     EmfRecordTypeBitBlt                  = EMR_BITBLT
    329     EmfRecordTypeStretchBlt              = EMR_STRETCHBLT
    330     EmfRecordTypeMaskBlt                 = EMR_MASKBLT
    331     EmfRecordTypePlgBlt                  = EMR_PLGBLT
    332     EmfRecordTypeSetDIBitsToDevice       = EMR_SETDIBITSTODEVICE
    333     EmfRecordTypeStretchDIBits           = EMR_STRETCHDIBITS
    334     EmfRecordTypeExtCreateFontIndirect   = EMR_EXTCREATEFONTINDIRECTW
    335     EmfRecordTypeExtTextOutA             = EMR_EXTTEXTOUTA
    336     EmfRecordTypeExtTextOutW             = EMR_EXTTEXTOUTW
    337     EmfRecordTypePolyBezier16            = EMR_POLYBEZIER16
    338     EmfRecordTypePolygon16               = EMR_POLYGON16
    339     EmfRecordTypePolyline16              = EMR_POLYLINE16
    340     EmfRecordTypePolyBezierTo16          = EMR_POLYBEZIERTO16
    341     EmfRecordTypePolylineTo16            = EMR_POLYLINETO16
    342     EmfRecordTypePolyPolyline16          = EMR_POLYPOLYLINE16
    343     EmfRecordTypePolyPolygon16           = EMR_POLYPOLYGON16
    344     EmfRecordTypePolyDraw16              = EMR_POLYDRAW16
    345     EmfRecordTypeCreateMonoBrush         = EMR_CREATEMONOBRUSH
    346     EmfRecordTypeCreateDIBPatternBrushPt = EMR_CREATEDIBPATTERNBRUSHPT
    347     EmfRecordTypeExtCreatePen            = EMR_EXTCREATEPEN
    348     EmfRecordTypePolyTextOutA            = EMR_POLYTEXTOUTA
    349     EmfRecordTypePolyTextOutW            = EMR_POLYTEXTOUTW
    350     EmfRecordTypeSetICMMode              = 98   ' EMR_SETICMMODE
    351     EmfRecordTypeCreateColorSpace        = 99   ' EMR_CREATECOLORSPACE
    352     EmfRecordTypeSetColorSpace           = 100  ' EMR_SETCOLORSPACE
    353     EmfRecordTypeDeleteColorSpace        = 101  ' EMR_DELETECOLORSPACE
    354     EmfRecordTypeGLSRecord               = 102  ' EMR_GLSRECORD
    355     EmfRecordTypeGLSBoundedRecord        = 103  ' EMR_GLSBOUNDEDRECORD
    356     EmfRecordTypePixelFormat             = 104  ' EMR_PIXELFORMAT
    357     EmfRecordTypeDrawEscape              = 105  ' EMR_RESERVED_105
    358     EmfRecordTypeExtEscape               = 106  ' EMR_RESERVED_106
    359     EmfRecordTypeStartDoc                = 107  ' EMR_RESERVED_107
    360     EmfRecordTypeSmallTextOut            = 108  ' EMR_RESERVED_108
    361     EmfRecordTypeForceUFIMapping         = 109  ' EMR_RESERVED_109
    362     EmfRecordTypeNamedEscape             = 110  ' EMR_RESERVED_110
    363     EmfRecordTypeColorCorrectPalette     = 111  ' EMR_COLORCORRECTPALETTE
    364     EmfRecordTypeSetICMProfileA          = 112  ' EMR_SETICMPROFILEA
    365     EmfRecordTypeSetICMProfileW          = 113  ' EMR_SETICMPROFILEW
    366     EmfRecordTypeAlphaBlend              = 114  ' EMR_ALPHABLEND
    367     EmfRecordTypeSetLayout               = 115  ' EMR_SETLAYOUT
    368     EmfRecordTypeTransparentBlt          = 116  ' EMR_TRANSPARENTBLT
    369     EmfRecordTypeReserved_117            = 117  ' Not Used
    370     EmfRecordTypeGradientFill            = 118  ' EMR_GRADIENTFILL
    371     EmfRecordTypeSetLinkedUFIs           = 119  ' EMR_RESERVED_119
    372     EmfRecordTypeSetTextJustification    = 120  ' EMR_RESERVED_120
    373     EmfRecordTypeColorMatchToTargetW     = 121  ' EMR_COLORMATCHTOTARGETW
    374     EmfRecordTypeCreateColorSpaceW       = 122  ' EMR_CREATECOLORSPACEW
    375     EmfRecordTypeMax                     = 122
    376     EmfRecordTypeMin                     = 1
    377 
    378     EmfPlusRecordTypeInvalid = GDIP_EMFPLUS_RECORD_BASE
    379     EmfPlusRecordTypeHeader
    380     EmfPlusRecordTypeEndOfFile
    381 
    382     EmfPlusRecordTypeComment
    383 
    384     EmfPlusRecordTypeGetDC
    385 
    386     EmfPlusRecordTypeMultiFormatStart
    387     EmfPlusRecordTypeMultiFormatSection
    388     EmfPlusRecordTypeMultiFormatEnd
    389 
    390     EmfPlusRecordTypeObject
    391 
    392     EmfPlusRecordTypeClear
    393     EmfPlusRecordTypeFillRects
    394     EmfPlusRecordTypeDrawRects
    395     EmfPlusRecordTypeFillPolygon
    396     EmfPlusRecordTypeDrawLines
    397     EmfPlusRecordTypeFillEllipse
    398     EmfPlusRecordTypeDrawEllipse
    399     EmfPlusRecordTypeFillPie
    400     EmfPlusRecordTypeDrawPie
    401     EmfPlusRecordTypeDrawArc
    402     EmfPlusRecordTypeFillRegion
    403     EmfPlusRecordTypeFillPath
    404     EmfPlusRecordTypeDrawPath
    405     EmfPlusRecordTypeFillClosedCurve
    406     EmfPlusRecordTypeDrawClosedCurve
    407     EmfPlusRecordTypeDrawCurve
    408     EmfPlusRecordTypeDrawBeziers
    409     EmfPlusRecordTypeDrawImage
    410     EmfPlusRecordTypeDrawImagePoints
    411     EmfPlusRecordTypeDrawString
    412 
    413     EmfPlusRecordTypeSetRenderingOrigin
    414     EmfPlusRecordTypeSetAntiAliasMode
    415     EmfPlusRecordTypeSetTextRenderingHint
    416     EmfPlusRecordTypeSetTextContrast
    417     EmfPlusRecordTypeSetInterpolationMode
    418     EmfPlusRecordTypeSetPixelOffsetMode
    419     EmfPlusRecordTypeSetCompositingMode
    420     EmfPlusRecordTypeSetCompositingQuality
    421     EmfPlusRecordTypeSave
    422     EmfPlusRecordTypeRestore
    423     EmfPlusRecordTypeBeginContainer
    424     EmfPlusRecordTypeBeginContainerNoParams
    425     EmfPlusRecordTypeEndContainer
    426     EmfPlusRecordTypeSetWorldTransform
    427     EmfPlusRecordTypeResetWorldTransform
    428     EmfPlusRecordTypeMultiplyWorldTransform
    429     EmfPlusRecordTypeTranslateWorldTransform
    430     EmfPlusRecordTypeScaleWorldTransform
    431     EmfPlusRecordTypeRotateWorldTransform
    432     EmfPlusRecordTypeSetPageTransform
    433     EmfPlusRecordTypeResetClip
    434     EmfPlusRecordTypeSetClipRect
    435     EmfPlusRecordTypeSetClipPath
    436     EmfPlusRecordTypeSetClipRegion
    437     EmfPlusRecordTypeOffsetClip
    438 
    439     EmfPlusRecordTypeDrawDriverString
    440 
    441     EmfPlusRecordTotal
    442 
    443     EmfPlusRecordTypeMax = EmfPlusRecordTotal-1
    444     EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader */
    445 End Enum
    446 
    447 Const Enum StringFormatFlags
    448     StringFormatFlagsDirectionRightToLeft        = &h00000001
    449     StringFormatFlagsDirectionVertical           = &h00000002
    450     StringFormatFlagsNoFitBlackBox               = &h00000004
    451     StringFormatFlagsDisplayFormatControl        = &h00000020
    452     StringFormatFlagsNoFontFallback              = &h00000400
    453     StringFormatFlagsMeasureTrailingSpaces       = &h00000800
    454     StringFormatFlagsNoWrap                      = &h00001000
    455     StringFormatFlagsLineLimit                   = &h00002000
    456 
    457     StringFormatFlagsNoClip                      = &h00004000
    458 End Enum
    459 
    460 Const Enum StringTrimming
    461     StringTrimmingNone              = 0
    462     StringTrimmingCharacter         = 1
    463     StringTrimmingWord              = 2
    464     StringTrimmingEllipsisCharacter = 3
    465     StringTrimmingEllipsisWord      = 4
    466     StringTrimmingEllipsisPath      = 5
    467 End Enum
    468 
    469 Const Enum StringDigitSubstitute
    470     StringDigitSubstituteUser        = 0   ' As NLS setting
    471     StringDigitSubstituteNone        = 1
    472     StringDigitSubstituteNational    = 2
    473     StringDigitSubstituteTraditional = 3
    474 End Enum
    475 
    476 Const Enum HotkeyPrefix
    477     HotkeyPrefixNone        = 0
    478     HotkeyPrefixShow        = 1
    479     HotkeyPrefixHide        = 2
    480 End Enum
    481 
    482 Const Enum StringAlignment
    483     StringAlignmentNear   = 0
    484     StringAlignmentCenter = 1
    485     StringAlignmentFar    = 2
    486 End Enum
    487 
    48857Const Enum DriverStringOptions
    48958    DriverStringOptionsCmapLookup             = 1
     
    49160    DriverStringOptionsRealizedAdvance        = 4
    49261    DriverStringOptionsLimitSubpixel          = 8
    493 End Enum
    494 
    495 Const Enum EncoderParameterValueType
    496     EncoderParameterValueTypeByte           = 1
    497     EncoderParameterValueTypeASCII          = 2
    498     EncoderParameterValueTypeShort          = 3
    499     EncoderParameterValueTypeLong           = 4
    500     EncoderParameterValueTypeRational       = 5
    501     EncoderParameterValueTypeLongRange      = 6
    502     EncoderParameterValueTypeUndefined      = 7
    503     EncoderParameterValueTypeRationalRange  = 8
    504 End Enum
    505 
    506 Const Enum EncoderValue
    507     EncoderValueColorTypeCMYK
    508     EncoderValueColorTypeYCCK
    509     EncoderValueCompressionLZW
    510     EncoderValueCompressionCCITT3
    511     EncoderValueCompressionCCITT4
    512     EncoderValueCompressionRle
    513     EncoderValueCompressionNone
    514     EncoderValueScanMethodInterlaced
    515     EncoderValueScanMethodNonInterlaced
    516     EncoderValueVersionGif87
    517     EncoderValueVersionGif89
    518     EncoderValueRenderProgressive
    519     EncoderValueRenderNonProgressive
    520     EncoderValueTransformRotate90
    521     EncoderValueTransformRotate180
    522     EncoderValueTransformRotate270
    523     EncoderValueTransformFlipHorizontal
    524     EncoderValueTransformFlipVertical
    525     EncoderValueMultiFrame
    526     EncoderValueLastFrame
    527     EncoderValueFlush
    528     EncoderValueFrameDimensionTime
    529     EncoderValueFrameDimensionResolution
    530     EncoderValueFrameDimensionPage
    53162End Enum
    53263
  • trunk/ab5.0/ablib/src/GdiPlusFlat.ab

    r698 r700  
    6767Declare Function GdipWindingModeOutline Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix, ByVal flatness As Single) As GpStatus
    6868Declare 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 GpStatus
     69Declare 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
    7070Declare Function GdipTransformPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix) As GpStatus
    7171Declare Function GdipGetPathWorldBounds Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal bounds As *GpRectF, ByVal matrix As *GpMatrix, ByVal pen As *GpPen) As GpStatus
     
    185185Declare 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
    186186Declare 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 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 LinearGradientMode, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus
     187Declare 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
     188Declare 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
    189189Declare 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
    190190Declare 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
     
    408408Declare Function GdipSetImageAttributesOutputChannelColorProfile Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As Long /*ColorAdjustType*/, ByVal enableFlag As BOOL, ByVal colorProfileFilename As PCWSTR) As GpStatus
    409409Declare 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 GpStatus
     410Declare Function GdipSetImageAttributesWrapMode Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByVal wrap As Long /*WarpMode*/, ByVal argb As ARGB, ByVal clamp As BOOL) As GpStatus
    411411Declare Function GdipSetImageAttributesICMMode Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByRef on As BOOL) As GpStatus
    412412Declare Function GdipGetImageAttributesAdjustedPalette Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByRef colorPalette As System.Drawing.Imaging.ColorPalette, ByVal colorAdjustType As Long /*ColorAdjustType*/) As GpStatus
     
    529529Declare 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
    530530Declare 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 GpStatus
     531Declare 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
    532532Declare Function GdipSetClipGraphics Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal srcgraphics As *GpGraphics, ByVal combineMode As Long /*CombineMode*/) As GpStatus
    533533Declare 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
     
    568568Declare Function GdipCreateMetafileFromWmfFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef wmfPlaceableFileHeader As System.Drawing.Imaging.WmfPlaceableFileHeader, ByRef metafile As *GpMetafile) As GpStatus
    569569Declare 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 GpStatus
    571 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 GpStatus
    572 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 GpStatus
    573 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 GpStatus
    574 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 GpStatus
    575 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 GpStatus
     570Declare 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
     571Declare 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
     572Declare 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
     573Declare 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
     574Declare 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
     575Declare 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
    576576Declare Function GdipSetMetafileDownLevelRasterizationLimit Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByVal metafileRasterizationLimitDpi As DWord) As GpStatus
    577577Declare Function GdipGetMetafileDownLevelRasterizationLimit Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByRef metafileRasterizationLimitDpi As DWord) As GpStatus
     
    636636Declare Function GdipSetStringFormatFlags Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal flags As Long) As GpStatus
    637637Declare 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 GpStatus
    639 Declare Function GdipGetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As StringAlignment) As GpStatus
    640 Declare Function GdipSetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As StringAlignment) As GpStatus
    641 Declare Function GdipGetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As StringAlignment) As GpStatus
    642 Declare Function GdipSetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal trimming As StringTrimming) As GpStatus
    643 Declare Function GdipGetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef trimming As StringTrimming) As GpStatus
     638Declare Function GdipSetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As Long /*StringAlignment*/) As GpStatus
     639Declare Function GdipGetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As Long /*StringAlignment*/) As GpStatus
     640Declare Function GdipSetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As Long /*StringAlignment*/) As GpStatus
     641Declare Function GdipGetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As Long /*StringAlignment*/) As GpStatus
     642Declare Function GdipSetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal trimming As Long /*StringTrimming*/) As GpStatus
     643Declare Function GdipGetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef trimming As Long /*StringTrimming*/) As GpStatus
    644644Declare Function GdipSetStringFormatHotkeyPrefix Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal hotkeyPrefix As Long) As GpStatus
    645645Declare Function GdipGetStringFormatHotkeyPrefix Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef hotkeyPrefix As Long) As GpStatus
     
    647647Declare Function GdipGetStringFormatTabStops Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal count As Long, ByRef firstTabOffset As Single, ByVal tabStops As *Single) As GpStatus
    648648Declare 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 GpStatus
    650 Declare Function GdipGetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef language As LANGID, ByRef substitute As StringDigitSubstitute) As GpStatus
     649Declare Function GdipSetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal language As LANGID, ByVal substitute As Long /*StringDigitSubstitute*/) As GpStatus
     650Declare Function GdipGetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef language As LANGID, ByRef substitute As Long /*StringDigitSubstitute*/) As GpStatus
    651651Declare Function GdipGetStringFormatMeasurableCharacterRangeCount Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef count As Long) As GpStatus
    652652Declare 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  
    7272TypeDef GpStatus = Status
    7373TypeDef GpFillMode = Long 'System.Drawing.Drawing2D.FillMode
    74 TypeDef GpWrapMode = WrapMode
     74TypeDef GpWrapMode = Long 'System.Drawing.Drawing2D.WrapMode
    7575TypeDef GpUnit = Long 'System.Drawing.GraphicsUnit
    7676TypeDef GpCoordinateSpace = Long 'System.Drawing.Drawing2D.CoordinateSpace
  • trunk/ab5.0/ablib/src/api_gdi.sbp

    r698 r700  
    8484TypeDef PENHMETAHEADER = *ENHMETAHEADER
    8585
     86
     87
    8688Type HANDLETABLE
    8789    objectHandle[ELM(1)] As HGDIOBJ
     
    110112TypeDef MFENUMPROC = *Function(hdc As HDC, ByRef HTable As HANDLETABLE, ByRef MFR As METARECORD, nObj As Long, lpClientData As LPARAM) As Long
    111113
     114Const META_SETBKCOLOR = &h0201
     115Const META_SETBKMODE = &h0102
     116Const META_SETMAPMODE = &h0103
     117Const META_SETROP2 = &h0104
     118Const META_SETRELABS = &h0105
     119Const META_SETPOLYFILLMODE = &h0106
     120Const META_SETSTRETCHBLTMODE = &h0107
     121Const META_SETTEXTCHAREXTRA = &h0108
     122Const META_SETTEXTCOLOR = &h0209
     123Const META_SETTEXTJUSTIFICATION = &h020A
     124Const META_SETWINDOWORG = &h020B
     125Const META_SETWINDOWEXT = &h020C
     126Const META_SETVIEWPORTORG = &h020D
     127Const META_SETVIEWPORTEXT = &h020E
     128Const META_OFFSETWINDOWORG = &h020F
     129Const META_SCALEWINDOWEXT = &h0410
     130Const META_OFFSETVIEWPORTORG = &h0211
     131Const META_SCALEVIEWPORTEXT = &h0412
     132Const META_LINETO = &h0213
     133Const META_MOVETO = &h0214
     134Const META_EXCLUDECLIPRECT = &h0415
     135Const META_INTERSECTCLIPRECT = &h0416
     136Const META_ARC = &h0817
     137Const META_ELLIPSE = &h0418
     138Const META_FLOODFILL = &h0419
     139Const META_PIE = &h081A
     140Const META_RECTANGLE = &h041B
     141Const META_ROUNDRECT = &h061C
     142Const META_PATBLT = &h061D
     143Const META_SAVEDC = &h001E
     144Const META_SETPIXEL = &h041F
     145Const META_OFFSETCLIPRGN = &h0220
     146Const META_TEXTOUT = &h0521
     147Const META_BITBLT = &h0922
     148Const META_STRETCHBLT = &h0B23
     149Const META_POLYGON = &h0324
     150Const META_POLYLINE = &h0325
     151Const META_ESCAPE = &h0626
     152Const META_RESTOREDC = &h0127
     153Const META_FILLREGION = &h0228
     154Const META_FRAMEREGION = &h0429
     155Const META_INVERTREGION = &h012A
     156Const META_PAINTREGION = &h012B
     157Const META_SELECTCLIPREGION = &h012C
     158Const META_SELECTOBJECT = &h012D
     159Const META_SETTEXTALIGN = &h012E
     160Const META_CHORD = &h0830
     161Const META_SETMAPPERFLAGS = &h0231
     162Const META_EXTTEXTOUT = &h0a32
     163Const META_SETDIBTODEV = &h0d33
     164Const META_SELECTPALETTE = &h0234
     165Const META_REALIZEPALETTE = &h0035
     166Const META_ANIMATEPALETTE = &h0436
     167Const META_SETPALENTRIES = &h0037
     168Const META_POLYPOLYGON = &h0538
     169Const META_RESIZEPALETTE = &h0139
     170Const META_DIBBITBLT = &h0940
     171Const META_DIBSTRETCHBLT = &h0b41
     172Const META_DIBCREATEPATTERNBRUSH = &h0142
     173Const META_STRETCHDIB = &h0f43
     174Const META_EXTFLOODFILL = &h0548
     175'#if WINVER >= &h0500
     176Const META_SETLAYOUT = &h0149
     177'#endif
     178Const META_DELETEOBJECT = &h01f0
     179Const META_CREATEPALETTE = &h00f7
     180Const META_CREATEPATTERNBRUSH = &h01F9
     181Const META_CREATEPENINDIRECT = &h02FA
     182Const META_CREATEFONTINDIRECT = &h02FB
     183Const META_CREATEBRUSHINDIRECT = &h02FC
     184Const META_CREATEREGION = &h06FF
     185
     186Const EMR_HEADER = 1
     187Const EMR_POLYBEZIER = 2
     188Const EMR_POLYGON = 3
     189Const EMR_POLYLINE = 4
     190Const EMR_POLYBEZIERTO = 5
     191Const EMR_POLYLINETO = 6
     192Const EMR_POLYPOLYLINE = 7
     193Const EMR_POLYPOLYGON = 8
     194Const EMR_SETWINDOWEXTEX = 9
     195Const EMR_SETWINDOWORGEX = 10
     196Const EMR_SETVIEWPORTEXTEX = 11
     197Const EMR_SETVIEWPORTORGEX = 12
     198Const EMR_SETBRUSHORGEX = 13
     199Const EMR_EOF = 14
     200Const EMR_SETPIXELV = 15
     201Const EMR_SETMAPPERFLAGS = 16
     202Const EMR_SETMAPMODE = 17
     203Const EMR_SETBKMODE = 18
     204Const EMR_SETPOLYFILLMODE = 19
     205Const EMR_SETROP2 = 20
     206Const EMR_SETSTRETCHBLTMODE = 21
     207Const EMR_SETTEXTALIGN = 22
     208Const EMR_SETCOLORADJUSTMENT = 23
     209Const EMR_SETTEXTCOLOR = 24
     210Const EMR_SETBKCOLOR = 25
     211Const EMR_OFFSETCLIPRGN = 26
     212Const EMR_MOVETOEX = 27
     213Const EMR_SETMETARGN = 28
     214Const EMR_EXCLUDECLIPRECT = 29
     215Const EMR_INTERSECTCLIPRECT = 30
     216Const EMR_SCALEVIEWPORTEXTEX = 31
     217Const EMR_SCALEWINDOWEXTEX = 32
     218Const EMR_SAVEDC = 33
     219Const EMR_RESTOREDC = 34
     220Const EMR_SETWORLDTRANSFORM = 35
     221Const EMR_MODIFYWORLDTRANSFORM = 36
     222Const EMR_SELECTOBJECT = 37
     223Const EMR_CREATEPEN = 38
     224Const EMR_CREATEBRUSHINDIRECT = 39
     225Const EMR_DELETEOBJECT = 40
     226Const EMR_ANGLEARC = 41
     227Const EMR_ELLIPSE = 42
     228Const EMR_RECTANGLE = 43
     229Const EMR_ROUNDRECT = 44
     230Const EMR_ARC = 45
     231Const EMR_CHORD = 46
     232Const EMR_PIE = 47
     233Const EMR_SELECTPALETTE = 48
     234Const EMR_CREATEPALETTE = 49
     235Const EMR_SETPALETTEENTRIES = 50
     236Const EMR_RESIZEPALETTE = 51
     237Const EMR_REALIZEPALETTE = 52
     238Const EMR_EXTFLOODFILL = 53
     239Const EMR_LINETO = 54
     240Const EMR_ARCTO = 55
     241Const EMR_POLYDRAW = 56
     242Const EMR_SETARCDIRECTION = 57
     243Const EMR_SETMITERLIMIT = 58
     244Const EMR_BEGINPATH = 59
     245Const EMR_ENDPATH = 60
     246Const EMR_CLOSEFIGURE = 61
     247Const EMR_FILLPATH = 62
     248Const EMR_STROKEANDFILLPATH = 63
     249Const EMR_STROKEPATH = 64
     250Const EMR_FLATTENPATH = 65
     251Const EMR_WIDENPATH = 66
     252Const EMR_SELECTCLIPPATH = 67
     253Const EMR_ABORTPATH = 68
     254
     255Const EMR_GDICOMMENT = 70
     256Const EMR_FILLRGN = 71
     257Const EMR_FRAMERGN = 72
     258Const EMR_INVERTRGN = 73
     259Const EMR_PAINTRGN = 74
     260Const EMR_EXTSELECTCLIPRGN = 75
     261Const EMR_BITBLT = 76
     262Const EMR_STRETCHBLT = 77
     263Const EMR_MASKBLT = 78
     264Const EMR_PLGBLT = 79
     265Const EMR_SETDIBITSTODEVICE = 80
     266Const EMR_STRETCHDIBITS = 81
     267Const EMR_EXTCREATEFONTINDIRECTW = 82
     268Const EMR_EXTTEXTOUTA = 83
     269Const EMR_EXTTEXTOUTW = 84
     270Const EMR_POLYBEZIER16 = 85
     271Const EMR_POLYGON16 = 86
     272Const EMR_POLYLINE16 = 87
     273Const EMR_POLYBEZIERTO16 = 88
     274Const EMR_POLYLINETO16 = 89
     275Const EMR_POLYPOLYLINE16 = 90
     276Const EMR_POLYPOLYGON16 = 91
     277Const EMR_POLYDRAW16 = 92
     278Const EMR_CREATEMONOBRUSH = 93
     279Const EMR_CREATEDIBPATTERNBRUSHPT = 94
     280Const EMR_EXTCREATEPEN = 95
     281Const EMR_POLYTEXTOUTA = 96
     282Const EMR_POLYTEXTOUTW = 97
     283'#if WINVER >= &h0400
     284Const EMR_SETICMMODE = 98
     285Const EMR_CREATECOLORSPACE = 99
     286Const EMR_SETCOLORSPACE = 100
     287Const EMR_DELETECOLORSPACE = 101
     288Const EMR_GLSRECORD = 102
     289Const EMR_GLSBOUNDEDRECORD = 103
     290Const EMR_PIXELFORMAT = 104
     291'#endif
     292'#if WINVER >= &h0500
     293Const EMR_RESERVED_105 = 105
     294Const EMR_RESERVED_106 = 106
     295Const EMR_RESERVED_107 = 107
     296Const EMR_RESERVED_108 = 108
     297Const EMR_RESERVED_109 = 109
     298Const EMR_RESERVED_110 = 110
     299Const EMR_COLORCORRECTPALETTE = 111
     300Const EMR_SETICMPROFILEA = 112
     301Const EMR_SETICMPROFILEW = 113
     302Const EMR_ALPHABLEND = 114
     303Const EMR_SETLAYOUT = 115
     304Const EMR_TRANSPARENTBLT = 116
     305'#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K
     306Const EMR_RESERVED_117 = 117
     307'#endif
     308Const EMR_GRADIENTFILL = 118
     309Const EMR_RESERVED_119 = 119
     310Const EMR_RESERVED_120 = 120
     311Const EMR_COLORMATCHTOTARGETW = 121
     312Const EMR_CREATECOLORSPACEW = 122
     313'#endif
    112314
    113315' RGB Color
Note: See TracChangeset for help on using the changeset viewer.