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

Boolean対応ほか微修正

File:
1 edited

Legend:

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

    r77 r104  
    110110    End Function
    111111
    112     Function IsEmpty() As BOOL
     112    Function IsEmpty() As Boolean
    113113        If Width <= 0 Or Height <= 0 Then
    114114            IsEmpty = _System_TRUE
     
    140140    End Function
    141141
    142     Function Equals(ByRef rc As Rectangle) As BOOL
     142    Function Equals(ByRef rc As Rectangle) As Boolean
    143143        If X = rc.X And Y = rc.Y And Width = rc.Width And Height = rc.Height Then
    144144            Equals = _System_TRUE
     
    153153    End Function
    154154
    155     Function Contains(x As Long, y As Long) As BOOL
     155    Function Contains(x As Long, y As Long) As Boolean
    156156        If x >= X And x < X + Width And y >= Y And y < Y + Height Then
    157157            Contains = _System_TRUE
     
    161161    End Function
    162162
    163     Function Contains(ByRef pt As Point) As BOOL
     163    Function Contains(ByRef pt As Point) As Boolean
    164164        ContainsPTF = Contains(pt.X, pt.Y)
    165165    End Function
    166166
    167     Function Contains(ByRef rc As Rectangle) As BOOL
     167    Function Contains(ByRef rc As Rectangle) As Boolean
    168168        If X <= rc.X And rc.Right <= Right And Y <= rc.Y And rc.Bottom <= Bottom Then
    169169            ContainsRCF = _System_TRUE
     
    202202    End Function
    203203
    204     Function IntersectsWith(ByRef rc As Rectangle) As BOOL
     204    Function IntersectsWith(ByRef rc As Rectangle) As Boolean
    205205        If Left < rc.Right And _
    206206            Top < rc.Bottom And _
Note: See TracChangeset for help on using the changeset viewer.