[]
DXGI_RATIONAL
public struct Rational : IEquatable<Rational>
Initializes a new instance of the C1.Win.DX.DXGI.Rational structure.
public Rational(int numerator, int denominator)
numerator
intdenominator
intunsigned int Denominator
public int Denominator
An empty rational that can be used for comparisons.
public static readonly Rational Empty
unsigned int Numerator
public int Numerator
Determines whether the specified Rational is equal to the current object.
public bool Equals(Rational other)
other
RationalDetermines whether the specified object is equal to the current object.
public override bool Equals(object obj)
obj
objectServes as the default hash function.
public override int GetHashCode()
Determines if the specified Rational objects are equal.
public static bool operator ==(Rational left, Rational right)
Determines if the specified Rational objects are not equal.
public static bool operator !=(Rational left, Rational right)