class TVideoAspectRatio |
Represents the video aspect ratio as a fraction: iNumerator/iDenominator.
Public Member Functions | |
---|---|
TVideoAspectRatio() | |
TVideoAspectRatio(TInt, TInt) | |
TBool | operator!=(const TVideoAspectRatio &) |
TBool | operator==(const TVideoAspectRatio &) |
Public Attributes | |
---|---|
TInt | iDenominator |
TInt | iNumerator |
TVideoAspectRatio | ( | ) | [inline] |
Constructs a default aspect ratio object. The default aspect ratio is 1:1 (square).
TVideoAspectRatio | ( | TInt | aNumerator, |
TInt | aDenominator | ||
) | [inline] |
Constructs an aspect ratio object from a numerator and a denominator.
TBool | operator!= | ( | const TVideoAspectRatio & | aAspectRatio | ) | const [inline] |
Compares two aspect ratio object for equality. The objects are considered inequal if either the numerators or the denominators differ. Note that the implementation will not attempt to reduce the fractions before comparison.
const TVideoAspectRatio & aAspectRatio |
TBool | operator== | ( | const TVideoAspectRatio & | aAspectRatio | ) | const [inline] |
Compares two aspect ratio object for equality. The objects are considered equal if the numerator and denominator match. Note that the implementation will not attempt to reduce the fractions before comparison.
const TVideoAspectRatio & aAspectRatio |