![]() |
Paradox Game Engine
v1.0.0 beta06
|
The FIURational structure represents a fraction via two UInt32 instances which are interpreted as numerator and denominator. More...
Public Member Functions | |
FIURational (uint n, uint d) | |
Initializes a new instance based on the specified parameters. More... | |
unsafe | FIURational (FITAG tag) |
Initializes a new instance based on the specified parameters. More... | |
FIURational (decimal value) | |
Initializes a new instance based on the specified parameters. More... | |
int | Truncate () |
Returns the truncated value of the fraction. More... | |
override string | ToString () |
Converts the numeric value of the FIURational object to its equivalent string representation. More... | |
override bool | Equals (object obj) |
Tests whether the specified object is a FIURational structure and is equivalent to this FIURational structure. More... | |
override int | GetHashCode () |
Returns a hash code for this FIURational structure. More... | |
TypeCode IConvertible. | GetTypeCode () |
bool IConvertible. | ToBoolean (IFormatProvider provider) |
byte IConvertible. | ToByte (IFormatProvider provider) |
char IConvertible. | ToChar (IFormatProvider provider) |
DateTime IConvertible. | ToDateTime (IFormatProvider provider) |
decimal IConvertible. | ToDecimal (IFormatProvider provider) |
double IConvertible. | ToDouble (IFormatProvider provider) |
short IConvertible. | ToInt16 (IFormatProvider provider) |
int IConvertible. | ToInt32 (IFormatProvider provider) |
long IConvertible. | ToInt64 (IFormatProvider provider) |
sbyte IConvertible. | ToSByte (IFormatProvider provider) |
float IConvertible. | ToSingle (IFormatProvider provider) |
string IConvertible. | ToString (IFormatProvider provider) |
object IConvertible. | ToType (Type conversionType, IFormatProvider provider) |
ushort IConvertible. | ToUInt16 (IFormatProvider provider) |
uint IConvertible. | ToUInt32 (IFormatProvider provider) |
ulong IConvertible. | ToUInt64 (IFormatProvider provider) |
int | CompareTo (object obj) |
Compares this instance with a specified Object. More... | |
string | ToString (string format, IFormatProvider formatProvider) |
Formats the value of the current instance using the specified format. More... | |
bool | Equals (FIURational other) |
Tests whether the specified FIURational structure is equivalent to this FIURational structure. More... | |
int | CompareTo (FIURational other) |
Compares this instance with a specified FIURational object. More... | |
FIURational (uint n, uint d) | |
Initializes a new instance based on the specified parameters. More... | |
unsafe | FIURational (FITAG tag) |
Initializes a new instance based on the specified parameters. More... | |
FIURational (decimal value) | |
Initializes a new instance based on the specified parameters. More... | |
int | Truncate () |
Returns the truncated value of the fraction. More... | |
override string | ToString () |
Converts the numeric value of the FIURational object to its equivalent string representation. More... | |
override bool | Equals (object obj) |
Tests whether the specified object is a FIURational structure and is equivalent to this FIURational structure. More... | |
override int | GetHashCode () |
Returns a hash code for this FIURational structure. More... | |
TypeCode IConvertible. | GetTypeCode () |
bool IConvertible. | ToBoolean (IFormatProvider provider) |
byte IConvertible. | ToByte (IFormatProvider provider) |
char IConvertible. | ToChar (IFormatProvider provider) |
DateTime IConvertible. | ToDateTime (IFormatProvider provider) |
decimal IConvertible. | ToDecimal (IFormatProvider provider) |
double IConvertible. | ToDouble (IFormatProvider provider) |
short IConvertible. | ToInt16 (IFormatProvider provider) |
int IConvertible. | ToInt32 (IFormatProvider provider) |
long IConvertible. | ToInt64 (IFormatProvider provider) |
sbyte IConvertible. | ToSByte (IFormatProvider provider) |
float IConvertible. | ToSingle (IFormatProvider provider) |
string IConvertible. | ToString (IFormatProvider provider) |
object IConvertible. | ToType (Type conversionType, IFormatProvider provider) |
ushort IConvertible. | ToUInt16 (IFormatProvider provider) |
uint IConvertible. | ToUInt32 (IFormatProvider provider) |
ulong IConvertible. | ToUInt64 (IFormatProvider provider) |
int | CompareTo (object obj) |
Compares this instance with a specified Object. More... | |
string | ToString (string format, IFormatProvider formatProvider) |
Formats the value of the current instance using the specified format. More... | |
bool | Equals (FIURational other) |
Tests whether the specified FIURational structure is equivalent to this FIURational structure. More... | |
int | CompareTo (FIURational other) |
Compares this instance with a specified FIURational object. More... | |
Static Public Member Functions | |
static FIURational | operator+ (FIURational value) |
Standard implementation of the operator. More... | |
static FIURational | operator~ (FIURational value) |
Returns the reciprocal value of this instance. More... | |
static FIURational | operator++ (FIURational value) |
Standard implementation of the operator. More... | |
static FIURational | operator-- (FIURational value) |
Standard implementation of the operator. More... | |
static FIURational | operator+ (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static FIURational | operator- (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static FIURational | operator* (FIURational left, FIURational r2) |
Standard implementation of the operator. More... | |
static FIURational | operator/ (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static FIURational | operator% (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator== (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator!= (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator> (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator< (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator>= (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator<= (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static | operator bool (FIURational value) |
Converts the value of a FIURational structure to a Boolean structure. More... | |
static | operator byte (FIURational value) |
Converts the value of a FIURational structure to a Byte structure. More... | |
static | operator char (FIURational value) |
Converts the value of a FIURational structure to a Char structure. More... | |
static implicit | operator decimal (FIURational value) |
Converts the value of a FIURational structure to a Decimal structure. More... | |
static implicit | operator double (FIURational value) |
Converts the value of a FIURational structure to a Double structure. More... | |
static | operator short (FIURational value) |
Converts the value of a FIURational structure to an Int16 structure. More... | |
static | operator int (FIURational value) |
Converts the value of a FIURational structure to an Int32 structure. More... | |
static | operator long (FIURational value) |
Converts the value of a FIURational structure to an Int64 structure. More... | |
static implicit | operator float (FIURational value) |
Converts the value of a FIURational structure to a Single structure. More... | |
static | operator sbyte (FIURational value) |
Converts the value of a FIURational structure to a SByte structure. More... | |
static | operator ushort (FIURational value) |
Converts the value of a FIURational structure to an UInt16 structure. More... | |
static | operator uint (FIURational value) |
Converts the value of a FIURational structure to an UInt32 structure. More... | |
static | operator ulong (FIURational value) |
Converts the value of a FIURational structure to an UInt32 structure. More... | |
static | operator FIURational (bool value) |
Converts the value of a Boolean structure to a FIURational structure. More... | |
static implicit | operator FIURational (byte value) |
Converts the value of a Byte structure to a FIURational structure. More... | |
static implicit | operator FIURational (char value) |
Converts the value of a Char structure to a FIURational structure. More... | |
static | operator FIURational (decimal value) |
Converts the value of a Decimal structure to a FIURational structure. More... | |
static | operator FIURational (double value) |
Converts the value of a Double structure to a FIURational structure. More... | |
static implicit | operator FIURational (short value) |
Converts the value of an Int16 structure to a FIURational structure. More... | |
static implicit | operator FIURational (int value) |
Converts the value of an Int32 structure to a FIURational structure. More... | |
static | operator FIURational (long value) |
Converts the value of an Int64 structure to a FIURational structure. More... | |
static implicit | operator FIURational (sbyte value) |
Converts the value of a SByte structure to a FIURational structure. More... | |
static | operator FIURational (float value) |
Converts the value of a Single structure to a FIURational structure. More... | |
static implicit | operator FIURational (ushort value) |
Converts the value of an UInt16 structure to a FIURational structure. More... | |
static | operator FIURational (uint value) |
Converts the value of an UInt32 structure to a FIURational structure. More... | |
static | operator FIURational (ulong value) |
Converts the value of an UInt64 structure to a FIURational structure. More... | |
static FIURational | operator+ (FIURational value) |
Standard implementation of the operator. More... | |
static FIURational | operator~ (FIURational value) |
Returns the reciprocal value of this instance. More... | |
static FIURational | operator++ (FIURational value) |
Standard implementation of the operator. More... | |
static FIURational | operator-- (FIURational value) |
Standard implementation of the operator. More... | |
static FIURational | operator+ (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static FIURational | operator- (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static FIURational | operator* (FIURational left, FIURational r2) |
Standard implementation of the operator. More... | |
static FIURational | operator/ (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static FIURational | operator% (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator== (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator!= (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator> (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator< (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator>= (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static bool | operator<= (FIURational left, FIURational right) |
Standard implementation of the operator. More... | |
static | operator bool (FIURational value) |
Converts the value of a FIURational structure to a Boolean structure. More... | |
static | operator byte (FIURational value) |
Converts the value of a FIURational structure to a Byte structure. More... | |
static | operator char (FIURational value) |
Converts the value of a FIURational structure to a Char structure. More... | |
static implicit | operator decimal (FIURational value) |
Converts the value of a FIURational structure to a Decimal structure. More... | |
static implicit | operator double (FIURational value) |
Converts the value of a FIURational structure to a Double structure. More... | |
static | operator short (FIURational value) |
Converts the value of a FIURational structure to an Int16 structure. More... | |
static | operator int (FIURational value) |
Converts the value of a FIURational structure to an Int32 structure. More... | |
static | operator long (FIURational value) |
Converts the value of a FIURational structure to an Int64 structure. More... | |
static implicit | operator float (FIURational value) |
Converts the value of a FIURational structure to a Single structure. More... | |
static | operator sbyte (FIURational value) |
Converts the value of a FIURational structure to a SByte structure. More... | |
static | operator ushort (FIURational value) |
Converts the value of a FIURational structure to an UInt16 structure. More... | |
static | operator uint (FIURational value) |
Converts the value of a FIURational structure to an UInt32 structure. More... | |
static | operator ulong (FIURational value) |
Converts the value of a FIURational structure to an UInt32 structure. More... | |
static | operator FIURational (bool value) |
Converts the value of a Boolean structure to a FIURational structure. More... | |
static implicit | operator FIURational (byte value) |
Converts the value of a Byte structure to a FIURational structure. More... | |
static implicit | operator FIURational (char value) |
Converts the value of a Char structure to a FIURational structure. More... | |
static | operator FIURational (decimal value) |
Converts the value of a Decimal structure to a FIURational structure. More... | |
static | operator FIURational (double value) |
Converts the value of a Double structure to a FIURational structure. More... | |
static implicit | operator FIURational (short value) |
Converts the value of an Int16 structure to a FIURational structure. More... | |
static implicit | operator FIURational (int value) |
Converts the value of an Int32 structure to a FIURational structure. More... | |
static | operator FIURational (long value) |
Converts the value of an Int64 structure to a FIURational structure. More... | |
static implicit | operator FIURational (sbyte value) |
Converts the value of a SByte structure to a FIURational structure. More... | |
static | operator FIURational (float value) |
Converts the value of a Single structure to a FIURational structure. More... | |
static implicit | operator FIURational (ushort value) |
Converts the value of an UInt16 structure to a FIURational structure. More... | |
static | operator FIURational (uint value) |
Converts the value of an UInt32 structure to a FIURational structure. More... | |
static | operator FIURational (ulong value) |
Converts the value of an UInt64 structure to a FIURational structure. More... | |
Static Public Attributes | |
static readonly FIURational | MaxValue = new FIURational(UInt32.MaxValue, 1u) |
Represents the largest possible value of FIURational. This field is constant. More... | |
static readonly FIURational | MinValue = new FIURational(0u, 1u) |
Represents the smallest possible value of FIURational. This field is constant. More... | |
static readonly FIURational | Epsilon = new FIURational(1u, UInt32.MaxValue) |
Represents the smallest positive FIURational value greater than zero. This field is constant. More... | |
Properties | |
uint | Numerator [get] |
The numerator of the fraction. More... | |
uint | Denominator [get] |
The denominator of the fraction. More... | |
bool | IsInteger [get] |
Returns whether the fraction is representing an integer value. More... | |
The FIURational structure represents a fraction via two UInt32 instances which are interpreted as numerator and denominator.
The structure tries to approximate the value of FreeImageAPI.FIURational(decimal) when creating a new instance by using a better algorithm than FreeImage does.
The structure implements the following operators: +, ++, –, ==, != , >, >==, <, <== and ~ (which switches nominator and denomiator).
The structure can be converted into all .NET standard types either implicit or explicit.
Definition at line 58 of file FIURational.cs.
FreeImageAPI.FIURational.FIURational | ( | uint | n, |
uint | d | ||
) |
Initializes a new instance based on the specified parameters.
n | The numerator. |
d | The denominator. |
Definition at line 86 of file FIURational.cs.
Referenced by FreeImageAPI.FIURational.operator FIURational(), FreeImageAPI.FIURational.operator%(), FreeImageAPI.FIURational.operator*(), and FreeImageAPI.FIURational.operator+().
unsafe FreeImageAPI.FIURational.FIURational | ( | FITAG | tag | ) |
Initializes a new instance based on the specified parameters.
tag | The tag to read the data from. |
Definition at line 97 of file FIURational.cs.
FreeImageAPI.FIURational.FIURational | ( | decimal | value | ) |
Initializes a new instance based on the specified parameters.
value | The value to convert into a fraction. |
OverflowException | value cannot be converted into a fraction represented by two unsigned integer values. |
Definition at line 119 of file FIURational.cs.
FreeImageAPI.FIURational.FIURational | ( | uint | n, |
uint | d | ||
) |
Initializes a new instance based on the specified parameters.
n | The numerator. |
d | The denominator. |
Definition at line 86 of file FIURational.cs.
unsafe FreeImageAPI.FIURational.FIURational | ( | FITAG | tag | ) |
Initializes a new instance based on the specified parameters.
tag | The tag to read the data from. |
Definition at line 97 of file FIURational.cs.
FreeImageAPI.FIURational.FIURational | ( | decimal | value | ) |
Initializes a new instance based on the specified parameters.
value | The value to convert into a fraction. |
OverflowException | value cannot be converted into a fraction represented by two unsigned integer values. |
Definition at line 119 of file FIURational.cs.
int FreeImageAPI.FIURational.CompareTo | ( | object | obj | ) |
Compares this instance with a specified Object.
obj | An object to compare with this instance. |
ArgumentException | obj is not a FIURational. |
Definition at line 942 of file FIURational.cs.
Referenced by FreeImageAPI.FIURational.CompareTo().
int FreeImageAPI.FIURational.CompareTo | ( | object | obj | ) |
Compares this instance with a specified Object.
obj | An object to compare with this instance. |
ArgumentException | obj is not a FIURational. |
Definition at line 942 of file FIURational.cs.
References FreeImageAPI.FIURational.CompareTo().
int FreeImageAPI.FIURational.CompareTo | ( | FIURational | other | ) |
Compares this instance with a specified FIURational object.
other | A FIURational to compare. |
Definition at line 997 of file FIURational.cs.
int FreeImageAPI.FIURational.CompareTo | ( | FIURational | other | ) |
Compares this instance with a specified FIURational object.
other | A FIURational to compare. |
Definition at line 999 of file FIURational.cs.
override bool FreeImageAPI.FIURational.Equals | ( | object | obj | ) |
Tests whether the specified object is a FIURational structure and is equivalent to this FIURational structure.
obj | The object to test. |
Definition at line 383 of file FIURational.cs.
override bool FreeImageAPI.FIURational.Equals | ( | object | obj | ) |
Tests whether the specified object is a FIURational structure and is equivalent to this FIURational structure.
obj | The object to test. |
Definition at line 383 of file FIURational.cs.
bool FreeImageAPI.FIURational.Equals | ( | FIURational | other | ) |
Tests whether the specified FIURational structure is equivalent to this FIURational structure.
other | A FIURational structure to compare to this instance. |
Definition at line 982 of file FIURational.cs.
bool FreeImageAPI.FIURational.Equals | ( | FIURational | other | ) |
Tests whether the specified FIURational structure is equivalent to this FIURational structure.
other | A FIURational structure to compare to this instance. |
Definition at line 984 of file FIURational.cs.
override int FreeImageAPI.FIURational.GetHashCode | ( | ) |
Returns a hash code for this FIURational structure.
Definition at line 392 of file FIURational.cs.
override int FreeImageAPI.FIURational.GetHashCode | ( | ) |
Returns a hash code for this FIURational structure.
Definition at line 392 of file FIURational.cs.
TypeCode IConvertible. FreeImageAPI.FIURational.GetTypeCode | ( | ) |
Definition at line 847 of file FIURational.cs.
TypeCode IConvertible. FreeImageAPI.FIURational.GetTypeCode | ( | ) |
Definition at line 847 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a Boolean structure.
value | A FIURational structure. |
Definition at line 586 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a Boolean structure.
value | A FIURational structure. |
Definition at line 586 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a Byte structure.
value | A FIURational structure. |
Definition at line 596 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a Byte structure.
value | A FIURational structure. |
Definition at line 596 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a Char structure.
value | A FIURational structure. |
Definition at line 606 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a Char structure.
value | A FIURational structure. |
Definition at line 606 of file FIURational.cs.
|
static |
Converts the value of a FIURational structure to a Decimal structure.
value | A FIURational structure. |
Definition at line 616 of file FIURational.cs.
|
static |
Converts the value of a FIURational structure to a Decimal structure.
value | A FIURational structure. |
Definition at line 616 of file FIURational.cs.
|
static |
Converts the value of a FIURational structure to a Double structure.
value | A FIURational structure. |
Definition at line 626 of file FIURational.cs.
|
static |
Converts the value of a FIURational structure to a Double structure.
value | A FIURational structure. |
Definition at line 626 of file FIURational.cs.
|
explicitstatic |
Converts the value of a Boolean structure to a FIURational structure.
value | A Boolean structure. |
Definition at line 718 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of a Boolean structure to a FIURational structure.
value | A Boolean structure. |
Definition at line 718 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of a Byte structure to a FIURational structure.
value | A Byte structure. |
Definition at line 728 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of a Byte structure to a FIURational structure.
value | A Byte structure. |
Definition at line 728 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of a Char structure to a FIURational structure.
value | A Char structure. |
Definition at line 738 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of a Char structure to a FIURational structure.
value | A Char structure. |
Definition at line 738 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of a Decimal structure to a FIURational structure.
value | A Decimal structure. |
Definition at line 748 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of a Decimal structure to a FIURational structure.
value | A Decimal structure. |
Definition at line 748 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of a Double structure to a FIURational structure.
value | A Double structure. |
Definition at line 758 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of a Double structure to a FIURational structure.
value | A Double structure. |
Definition at line 758 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of an Int16 structure to a FIURational structure.
value | An Int16 structure. |
Definition at line 768 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of an Int16 structure to a FIURational structure.
value | An Int16 structure. |
Definition at line 768 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of an Int32 structure to a FIURational structure.
value | An Int32 structure. |
Definition at line 778 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of an Int32 structure to a FIURational structure.
value | An Int32 structure. |
Definition at line 778 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of an Int64 structure to a FIURational structure.
value | An Int64 structure. |
Definition at line 788 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of an Int64 structure to a FIURational structure.
value | An Int64 structure. |
Definition at line 788 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of a SByte structure to a FIURational structure.
value | A SByte structure. |
Definition at line 798 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of a SByte structure to a FIURational structure.
value | A SByte structure. |
Definition at line 798 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of a Single structure to a FIURational structure.
value | A Single structure. |
Definition at line 808 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of a Single structure to a FIURational structure.
value | A Single structure. |
Definition at line 808 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of an UInt16 structure to a FIURational structure.
value | An UInt16 structure. |
Definition at line 818 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of an UInt16 structure to a FIURational structure.
value | An UInt16 structure. |
Definition at line 818 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of an UInt32 structure to a FIURational structure.
value | An UInt32 structure. |
Definition at line 828 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of an UInt32 structure to a FIURational structure.
value | An UInt32 structure. |
Definition at line 828 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of an UInt64 structure to a FIURational structure.
value | An UInt64 structure. |
Definition at line 838 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
explicitstatic |
Converts the value of an UInt64 structure to a FIURational structure.
value | An UInt64 structure. |
Definition at line 838 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Converts the value of a FIURational structure to a Single structure.
value | A FIURational structure. |
Definition at line 666 of file FIURational.cs.
|
static |
Converts the value of a FIURational structure to a Single structure.
value | A FIURational structure. |
Definition at line 666 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an Int32 structure.
value | A FIURational structure. |
Definition at line 646 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an Int32 structure.
value | A FIURational structure. |
Definition at line 646 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an Int64 structure.
value | A FIURational structure. |
Definition at line 656 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an Int64 structure.
value | A FIURational structure. |
Definition at line 656 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a SByte structure.
value | A FIURational structure. |
Definition at line 676 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to a SByte structure.
value | A FIURational structure. |
Definition at line 676 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an Int16 structure.
value | A FIURational structure. |
Definition at line 636 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an Int16 structure.
value | A FIURational structure. |
Definition at line 636 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an UInt32 structure.
value | A FIURational structure. |
Definition at line 696 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an UInt32 structure.
value | A FIURational structure. |
Definition at line 696 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an UInt32 structure.
value | A FIURational structure. |
Definition at line 706 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an UInt32 structure.
value | A FIURational structure. |
Definition at line 706 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an UInt16 structure.
value | A FIURational structure. |
Definition at line 686 of file FIURational.cs.
|
explicitstatic |
Converts the value of a FIURational structure to an UInt16 structure.
value | A FIURational structure. |
Definition at line 686 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 530 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 530 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 508 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Standard implementation of the operator.
Definition at line 508 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Standard implementation of the operator.
Definition at line 483 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Standard implementation of the operator.
Definition at line 483 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Standard implementation of the operator.
Definition at line 402 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 402 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 446 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Standard implementation of the operator.
Definition at line 446 of file FIURational.cs.
References FreeImageAPI.FIURational.FIURational().
|
static |
Standard implementation of the operator.
Definition at line 422 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 422 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 462 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 462 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 434 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 434 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 497 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 497 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 550 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 550 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 570 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 570 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 520 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 520 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 540 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 540 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 560 of file FIURational.cs.
|
static |
Standard implementation of the operator.
Definition at line 560 of file FIURational.cs.
|
static |
Returns the reciprocal value of this instance.
Definition at line 410 of file FIURational.cs.
|
static |
Returns the reciprocal value of this instance.
Definition at line 410 of file FIURational.cs.
bool IConvertible. FreeImageAPI.FIURational.ToBoolean | ( | IFormatProvider | provider | ) |
Definition at line 852 of file FIURational.cs.
bool IConvertible. FreeImageAPI.FIURational.ToBoolean | ( | IFormatProvider | provider | ) |
Definition at line 852 of file FIURational.cs.
byte IConvertible. FreeImageAPI.FIURational.ToByte | ( | IFormatProvider | provider | ) |
Definition at line 857 of file FIURational.cs.
byte IConvertible. FreeImageAPI.FIURational.ToByte | ( | IFormatProvider | provider | ) |
Definition at line 857 of file FIURational.cs.
char IConvertible. FreeImageAPI.FIURational.ToChar | ( | IFormatProvider | provider | ) |
Definition at line 862 of file FIURational.cs.
char IConvertible. FreeImageAPI.FIURational.ToChar | ( | IFormatProvider | provider | ) |
Definition at line 862 of file FIURational.cs.
DateTime IConvertible. FreeImageAPI.FIURational.ToDateTime | ( | IFormatProvider | provider | ) |
Definition at line 867 of file FIURational.cs.
DateTime IConvertible. FreeImageAPI.FIURational.ToDateTime | ( | IFormatProvider | provider | ) |
Definition at line 867 of file FIURational.cs.
decimal IConvertible. FreeImageAPI.FIURational.ToDecimal | ( | IFormatProvider | provider | ) |
Definition at line 872 of file FIURational.cs.
decimal IConvertible. FreeImageAPI.FIURational.ToDecimal | ( | IFormatProvider | provider | ) |
Definition at line 872 of file FIURational.cs.
double IConvertible. FreeImageAPI.FIURational.ToDouble | ( | IFormatProvider | provider | ) |
Definition at line 877 of file FIURational.cs.
double IConvertible. FreeImageAPI.FIURational.ToDouble | ( | IFormatProvider | provider | ) |
Definition at line 877 of file FIURational.cs.
short IConvertible. FreeImageAPI.FIURational.ToInt16 | ( | IFormatProvider | provider | ) |
Definition at line 882 of file FIURational.cs.
short IConvertible. FreeImageAPI.FIURational.ToInt16 | ( | IFormatProvider | provider | ) |
Definition at line 882 of file FIURational.cs.
int IConvertible. FreeImageAPI.FIURational.ToInt32 | ( | IFormatProvider | provider | ) |
Definition at line 887 of file FIURational.cs.
int IConvertible. FreeImageAPI.FIURational.ToInt32 | ( | IFormatProvider | provider | ) |
Definition at line 887 of file FIURational.cs.
long IConvertible. FreeImageAPI.FIURational.ToInt64 | ( | IFormatProvider | provider | ) |
Definition at line 892 of file FIURational.cs.
long IConvertible. FreeImageAPI.FIURational.ToInt64 | ( | IFormatProvider | provider | ) |
Definition at line 892 of file FIURational.cs.
sbyte IConvertible. FreeImageAPI.FIURational.ToSByte | ( | IFormatProvider | provider | ) |
Definition at line 897 of file FIURational.cs.
sbyte IConvertible. FreeImageAPI.FIURational.ToSByte | ( | IFormatProvider | provider | ) |
Definition at line 897 of file FIURational.cs.
float IConvertible. FreeImageAPI.FIURational.ToSingle | ( | IFormatProvider | provider | ) |
Definition at line 902 of file FIURational.cs.
float IConvertible. FreeImageAPI.FIURational.ToSingle | ( | IFormatProvider | provider | ) |
Definition at line 902 of file FIURational.cs.
override string FreeImageAPI.FIURational.ToString | ( | ) |
Converts the numeric value of the FIURational object to its equivalent string representation.
Definition at line 371 of file FIURational.cs.
References FreeImageAPI.FIURational.ToString().
override string FreeImageAPI.FIURational.ToString | ( | ) |
Converts the numeric value of the FIURational object to its equivalent string representation.
Definition at line 371 of file FIURational.cs.
Referenced by FreeImageAPI.FIURational.ToString().
string IConvertible. FreeImageAPI.FIURational.ToString | ( | IFormatProvider | provider | ) |
Definition at line 907 of file FIURational.cs.
References FreeImageAPI.FIURational.ToString().
string IConvertible. FreeImageAPI.FIURational.ToString | ( | IFormatProvider | provider | ) |
Definition at line 907 of file FIURational.cs.
References FreeImageAPI.FIURational.ToString().
string FreeImageAPI.FIURational.ToString | ( | string | format, |
IFormatProvider | formatProvider | ||
) |
Formats the value of the current instance using the specified format.
format | The String specifying the format to use. |
formatProvider | The IFormatProvider to use to format the value. |
Definition at line 965 of file FIURational.cs.
References DirectX.format.
string FreeImageAPI.FIURational.ToString | ( | string | format, |
IFormatProvider | formatProvider | ||
) |
Formats the value of the current instance using the specified format.
format | The String specifying the format to use. |
formatProvider | The IFormatProvider to use to format the value. |
Definition at line 965 of file FIURational.cs.
References DirectX.format.
object IConvertible. FreeImageAPI.FIURational.ToType | ( | Type | conversionType, |
IFormatProvider | provider | ||
) |
Definition at line 912 of file FIURational.cs.
object IConvertible. FreeImageAPI.FIURational.ToType | ( | Type | conversionType, |
IFormatProvider | provider | ||
) |
Definition at line 912 of file FIURational.cs.
ushort IConvertible. FreeImageAPI.FIURational.ToUInt16 | ( | IFormatProvider | provider | ) |
Definition at line 917 of file FIURational.cs.
ushort IConvertible. FreeImageAPI.FIURational.ToUInt16 | ( | IFormatProvider | provider | ) |
Definition at line 917 of file FIURational.cs.
uint IConvertible. FreeImageAPI.FIURational.ToUInt32 | ( | IFormatProvider | provider | ) |
Definition at line 922 of file FIURational.cs.
uint IConvertible. FreeImageAPI.FIURational.ToUInt32 | ( | IFormatProvider | provider | ) |
Definition at line 922 of file FIURational.cs.
ulong IConvertible. FreeImageAPI.FIURational.ToUInt64 | ( | IFormatProvider | provider | ) |
Definition at line 927 of file FIURational.cs.
ulong IConvertible. FreeImageAPI.FIURational.ToUInt64 | ( | IFormatProvider | provider | ) |
Definition at line 927 of file FIURational.cs.
int FreeImageAPI.FIURational.Truncate | ( | ) |
int FreeImageAPI.FIURational.Truncate | ( | ) |
|
static |
Represents the smallest positive FIURational value greater than zero. This field is constant.
Definition at line 79 of file FIURational.cs.
|
static |
Represents the largest possible value of FIURational. This field is constant.
Definition at line 69 of file FIURational.cs.
|
static |
Represents the smallest possible value of FIURational. This field is constant.
Definition at line 74 of file FIURational.cs.
|
get |
The denominator of the fraction.
Definition at line 169 of file FIURational.cs.
|
get |
Returns whether the fraction is representing an integer value.
Definition at line 186 of file FIURational.cs.
|
get |
The numerator of the fraction.
Definition at line 161 of file FIURational.cs.