/// <summary> /// Serves as a hash function for a <see cref="Eto.Drawing.Font"/> object. /// </summary> /// <returns>A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.</returns> public override int GetHashCode() { return(FamilyName.GetHashCode() ^ Platform.GetHashCode() ^ Size.GetHashCode() ^ FontStyle.GetHashCode()); }
/// <summary> /// Gets the hash code for this rectangle /// </summary> /// <returns>Hash code value for this rectangle</returns> public override int GetHashCode() { return(location.GetHashCode() ^ size.GetHashCode()); }
/// <summary> /// Serves as a hash function for a <see cref="Eto.Drawing.Font"/> object. /// </summary> /// <returns>A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.</returns> public override int GetHashCode() { return(FamilyName.GetHashCode() ^ Generator.GetHashCode() ^ Size.GetHashCode() ^ FontStyle.GetHashCode()); }