Exemple #1
0
 /// <summary>
 /// Returns a hash code for this GRaff.Matrix.
 /// </summary>
 /// <returns>An integer value that specifies a hash value for this GRaff.Matrix.</returns>
 public override int GetHashCode()
 => GMath.HashCombine(M00.GetHashCode(), M01.GetHashCode(), M02.GetHashCode(), M10.GetHashCode(), M11.GetHashCode(), M12.GetHashCode());
Exemple #2
0
 /// <summary>
 /// Returns a hash code for this GRaff.IntVector.
 /// </summary>
 /// <returns>An integer value that specifies a hash value for this GRaff.IntVector.</returns>
 public override int GetHashCode()
 => GMath.HashCombine(X, Y);
Exemple #3
0
 /// <summary>
 /// Returns a hash code for this GRaff.Vector.
 /// </summary>
 /// <returns>An integer value that specifies a hash value for this GRaff.Vector.</returns>
 public override int GetHashCode()
 => GMath.HashCombine(X.GetHashCode(), Y.GetHashCode());
Exemple #4
0
 /// <summary>
 /// Returns a hash code for this GRaff.Rectangle.
 /// </summary>
 /// <returns>An integer value that specifies a hash value for this GRaff.Rectangle.</returns>
 public override int GetHashCode()
 => GMath.HashCombine(Left.GetHashCode(), Top.GetHashCode(), Width.GetHashCode(), Height.GetHashCode());
Exemple #5
0
 /// <summary>
 /// Returns a hash code for this GRaff.Line.
 /// </summary>
 /// <returns>An integer value that specifies a hash value for this GRaff.Line.</returns>
 public override int GetHashCode()
 => GMath.HashCombine(Origin.GetHashCode(), Offset.GetHashCode());
Exemple #6
0
 /// <summary>
 /// Returns a hash code for this GRaff.IntRectangle.
 /// </summary>
 /// <returns>An integer value that specifies a hash value for this GRaff.IntRectangle.</returns>
 public override int GetHashCode()
 => GMath.HashCombine(Left, Top, Width, Height);