TVideoAspectRatio Class Reference
Represents the video aspect ratio as a fraction: iNumerator/iDenominator.
Constructor & Destructor Documentation
TVideoAspectRatio()
TVideoAspectRatio | ( | ) | [inline] |
Constructs a default aspect ratio object. The default aspect ratio is 1:1 (square).
TVideoAspectRatio(TInt, TInt)
TVideoAspectRatio | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | [inline] |
Constructs an aspect ratio object from a numerator and a denominator.
Parameters
TInt aNumerator | Aspect ratio numerator. |
TInt aDenominator | Aspect ratio denominator. |
Member Functions Documentation
operator!=(const TVideoAspectRatio &)
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.
operator==(const TVideoAspectRatio &)
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.
Member Data Documentation
TInt
iDenominator
Aspect ratio denominator.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.