@@ -72,6 +72,11 @@ struct SizeRange {
{
}
+ SizeRange(unsigned int width, unsigned int height)
+ : min(width, height), max(width, height)
+ {
+ }
+
SizeRange(unsigned int minW, unsigned int minH,
unsigned int maxW, unsigned int maxH)
: min(minW, minH), max(maxW, maxH)
@@ -196,6 +196,13 @@ bool operator<(const Size &lhs, const Size &rhs)
* \brief Construct a size range initialized to 0
*/
+/**
+ * \fn SizeRange::SizeRange(unsigned int width, unsigned int height)
+ * \brief Construct a size range representing a single size
+ * \param[in] width The size width
+ * \param[in] height The size height
+ */
+
/**
* \fn SizeRange::SizeRange(unsigned int minW, unsigned int minH,
* unsigned int maxW, unsigned int maxH)