Changeset 223 for Include/Classes/System/Drawing/SizeF.ab
- Timestamp:
- Apr 30, 2007, 1:56:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/Drawing/SizeF.ab
r212 r223 64 64 */ 65 65 Function Equals(sz As SizeF) As Boolean 66 If width = sz.width And height = sz.height Then 67 Equals = _System_TRUE 68 Else 69 Equals = _System_FALSE 70 End If 66 Return width = sz.width And height = sz.height 71 67 End Function 72 68 73 69 Override Function GetHashCode() As Long 74 70 Return VarPtr(GetDWord(width)) Xor _System_BSwap(VarPtr(GetDWord(height))) 71 End Function 75 72 76 73 Function IsEmpty() As Boolean 77 If width = 0 And height = 0 Then 78 Empty = _System_TRUE 79 Else 80 Empty = _System_FALSE 81 End If 74 Return width = 0 And height = 0 82 75 End Function 83 76
Note:
See TracChangeset
for help on using the changeset viewer.