6 #include <c++utilities/conversion/types.h> 7 #include <c++utilities/conversion/stringbuilder.h> 20 constexpr Size(uint32 width, uint32 height);
22 constexpr uint32 width()
const;
23 constexpr uint32 height()
const;
24 void setWidth(uint32 value);
25 void setHeight(uint32 value);
26 constexpr uint32 resolution()
const;
27 const char *abbreviation()
const;
29 bool constexpr isNull()
const;
30 bool constexpr
operator==(
const Size &other)
const;
31 bool constexpr operator>=(
const Size &other)
const;
32 std::string toString()
const;
92 return m_width * m_height;
100 return (m_width == 0) && (m_height == 0);
108 return (m_width == other.m_width) && (m_height == other.m_height);
117 return (m_width >= other.m_width) && (m_height >= other.m_height);
125 return ConversionUtilities::argsToString(
"width: ", m_width,
", height: ", m_height);
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.