Ignore:
Timestamp:
Mar 31, 2009, 2:09:07 PM (15 years ago)
Author:
イグトランス (egtra)
Message:

GDI+をコンパイルできるように修正。FontFamily, Penの追加。サンプルとして、Step 32のGDI+版を制作。
(#56)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/GdiPlusGpStubs.ab

    r497 r698  
    44#require <Classes/System/Drawing/Drawing2D/Matrix.ab>
    55
    6 Class GpGraphics
    7 End Class
     6Type GpGraphics
     7End Type
    88
    9 Class GpBrush
    10 End Class
    11 Class GpTexture
    12     Inherits GpBrush
    13 End Class
    14 Class GpSolidFill
    15     Inherits GpBrush
    16 End Class
    17 Class GpLineGradient
    18     Inherits GpBrush
    19 End Class
    20 Class GpPathGradient
    21     Inherits GpBrush
    22 End Class
    23 Class GpHatch
    24     Inherits GpBrush
    25 End Class
     9Type GpBrush
     10End Type
     11Type GpTexture
     12'   Inherits GpBrush
     13End Type
     14Type GpSolidFill
     15'   Inherits GpBrush
     16End Type
     17Type GpLineGradient
     18'   Inherits GpBrush
     19End Type
     20Type GpPathGradient
     21'   Inherits GpBrush
     22End Type
     23Type GpHatch
     24'   Inherits GpBrush
     25End Type
    2626
    27 Class GpPen
    28 End Class
    29 Class GpCustomLineCap
    30 End Class
    31 Class GpAdjustableArrowCap
    32     Inherits GpCustomLineCap
    33 End Class
     27Type GpPen
     28End Type
     29Type GpCustomLineCap
     30End Type
     31Type GpAdjustableArrowCap
     32'   Inherits GpCustomLineCap
     33End Type
    3434
    35 Class GpImage
    36 End Class
    37 Class GpBitmap
    38     Inherits GpImage
    39 End Class
    40 Class GpMetafile
    41     Inherits GpImage
    42 End Class
    43 Class GpImageAttributes
    44 End Class
     35Type GpImage
     36End Type
     37Type GpBitmap
     38'   Inherits GpImage
     39End Type
     40Type GpMetafile
     41'   Inherits GpImage
     42End Type
     43Type GpImageAttributes
     44End Type
    4545
    46 Class GpPath
    47 End Class
    48 Class GpRegion
    49 End Class
    50 Class GpPathIterator
    51 End Class
     46Type GpPath
     47End Type
     48Type GpRegion
     49End Type
     50Type GpPathIterator
     51End Type
    5252
    53 Class GpFontFamily
    54 End Class
    55 Class GpFont
    56 End Class
    57 Class GpStringFormat
    58 End Class
    59 Class GpFontCollection
    60 End Class
    61 Class GpInstalledFontCollection
    62     Inherits GpFontCollection
    63 End Class
    64 Class GpPrivateFontCollection
    65     Inherits GpFontCollection
    66 End Class
     53Type GpFontFamily
     54End Type
     55Type GpFont
     56End Type
     57Type GpStringFormat
     58End Type
     59Type GpFontCollection
     60End Type
     61Type GpInstalledFontCollection
     62'   Inherits GpFontCollection
     63End Type
     64Type GpPrivateFontCollection
     65'   Inherits GpFontCollection
     66End Type
    6767
    68 'Class GpCachedBitmap;
    69 Class GpCachedBitmap
    70 End Class
     68'Type GpCachedBitmap;
     69Type GpCachedBitmap
     70End Type
    7171
    7272TypeDef GpStatus = Status
    73 TypeDef GpFillMode = FillMode
     73TypeDef GpFillMode = Long 'System.Drawing.Drawing2D.FillMode
    7474TypeDef GpWrapMode = WrapMode
    75 TypeDef GpUnit = GraphicsUnit
    76 TypeDef GpCoordinateSpace = CoordinateSpace
     75TypeDef GpUnit = Long 'System.Drawing.GraphicsUnit
     76TypeDef GpCoordinateSpace = Long 'System.Drawing.Drawing2D.CoordinateSpace
    7777TypeDef GpPointF = System.Drawing.PointF
    7878TypeDef GpPoint = System.Drawing.Point
     
    8080TypeDef GpRect = System.Drawing.Rectangle
    8181TypeDef GpSizeF = System.Drawing.SizeF
    82 TypeDef GpHatchStyle = HatchStyle
    83 TypeDef GpDashStyle = DashStyle
    84 TypeDef GpLineCap = LineCap
    85 TypeDef GpDashCap = DashCap
     82TypeDef GpHatchStyle = Long 'HatchStyle
     83TypeDef GpDashStyle = Long 'DashStyle
     84TypeDef GpLineCap = Long 'LineCap
     85TypeDef GpDashCap = Long 'DashCap
    8686
    8787
    88 TypeDef GpPenAlignment = PenAlignment
     88TypeDef GpPenAlignment = Long 'PenAlignment
    8989
    90 TypeDef GpLineJoin = LineJoin
    91 TypeDef GpPenType = PenType
     90TypeDef GpLineJoin = Long 'LineJoin
     91TypeDef GpPenType = Long 'PenType
    9292
    93 TypeDef GpMatrix = Matrix
    94 TypeDef GpBrushType = BrushType
    95 TypeDef GpMatrixOrder = MatrixOrder
    96 TypeDef GpFlushIntention = FlushIntention
     93Type GpMatrix : End Type
     94'TypeDef GpMatrix = Matrix
     95TypeDef GpBrushType = Long 'BrushType
     96TypeDef GpMatrixOrder = Long 'System.Drawing.Drawing2D.MatrixOrder
     97TypeDef GpFlushIntention = Long 'System.Drawing.Drawing2D.FlushIntention
    9798TypeDef GpPathData = PathData
Note: See TracChangeset for help on using the changeset viewer.