TVideoAspectRatio Class Reference
#include
<mmf/common/mmfvideo.h>
Link against: AdvancedAudioController.lib
Detailed Description
Represents the video aspect ratio as a fraction: iNumerator/iDenominator.
Member Attribute Documentation
iDenominator
Aspect ratio denominator.
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.
Parameter | Description | aNumerator | Aspect ratio numerator. |
aDenominator | Aspect ratio denominator. |
Member Function 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.