[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.Rational

Rational Struct

DXGI_RATIONAL

Implements
Namespace: C1.Util.DX.DXGI
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public struct Rational : IEquatable<Rational>

Constructors

Name Description
Rational(int, int)

Initializes a new instance of the C1.Win.DX.DXGI.Rational structure.

Fields

Name Description
Denominator

unsigned int Denominator

Empty

An empty rational that can be used for comparisons.

Numerator

unsigned int Numerator

Methods

Name Description
Equals(Rational)

Determines whether the specified Rational is equal to the current object.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Operators

Name Description
operator ==(Rational, Rational)

Determines if the specified Rational objects are equal.

operator !=(Rational, Rational)

Determines if the specified Rational objects are not equal.