Ignore:
Timestamp:
Feb 16, 2007, 7:34:38 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

Boolean対応ほか微修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/Drawing/RectangleF.ab

    r32 r104  
    105105    End Function
    106106
    107     Function IsEmpty() As BOOL
     107    Function IsEmpty() As Boolean
    108108        If Width <= 0 Or Height <= 0 Then
    109109            IsEmpty = _System_TRUE
     
    130130    End Function
    131131
    132     Function Equals(ByRef rc As RectangleF) As BOOL
     132    Function Equals(ByRef rc As RectangleF) As Boolean
    133133        If X = rc.X And Y = rc.Y And Width = rc.Width And Height = rc.Height Then
    134134            Equals = _System_TRUE
     
    143143    End Function
    144144
    145     Function Contains(x As Single, y As Single) As BOOL
     145    Function Contains(x As Single, y As Single) As Boolean
    146146        If x >= X And x < X + Width And y >= Y And y < Y + Height Then
    147147            Contains = _System_TRUE
     
    151151    End Function
    152152
    153     Function Contains(ByRef pt As PointF) As BOOL
     153    Function Contains(ByRef pt As PointF) As Boolean
    154154        ContainsPTF = Contains(pt.X, pt.Y)
    155155    End Function
    156156
    157     Function Contains(ByRef rc As RectangleF) As BOOL
     157    Function Contains(ByRef rc As RectangleF) As Boolean
    158158        If X <= rc.X And rc.Right <= Right And Y <= rc.Y And rc.Bottom <= Bottom Then
    159159            ContainsRCF = _System_TRUE
     
    192192    End Function
    193193
    194     Function IntersectsWith(ByRef rc As RectangleF) As BOOL
     194    Function IntersectsWith(ByRef rc As RectangleF) As Boolean
    195195        If Left < rc.Right And _
    196196            Top < rc.Bottom And _
Note: See TracChangeset for help on using the changeset viewer.