1 #ifndef TAG_PARSER_ASPECTRATIO_H 2 #define TAG_PARSER_ASPECTRATIO_H 6 #include <c++utilities/conversion/types.h> 13 constexpr
AspectRatio(uint16 numerator, uint16 denominator);
14 constexpr
bool isValid()
const;
15 constexpr
bool isExtended()
const;
38 , numerator(numerator)
39 , denominator(denominator)
61 #endif // TAG_PARSER_ASPECTRATIO_H
constexpr AspectRatio()
Constructs an invalid aspect ratio.
constexpr bool isValid() const
Returns an indication whether the aspect ratio is present and valid.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
constexpr bool isExtended() const
Returns whether numerator and denominator must be read from extended SAR header.