Ignore:
Timestamp:
Nov 3, 2007, 5:18:30 PM (17 years ago)
Author:
dai
Message:

System.GCクラスを追加。
64ビットコンパイラで生じる警告を改修した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/Drawing/Color.ab

    r335 r370  
    131131        Dim max = System.Math.Max(System.Math.Max(r, g), b) As Long
    132132        Dim min = System.Math.Min(System.Math.Min(r, g), b) As Long
    133         Return (max - min) / max
     133        Return ( (max - min) / max ) As Single
    134134    End Function
    135135
     
    139139        Dim b = B
    140140        Dim max = System.Math.Max(System.Math.Max(r, g), b)
    141         Return max * (1 / 255)
     141        Return ( max * (1 / 255) ) As Single
    142142    End Function
    143143
Note: See TracChangeset for help on using the changeset viewer.