12 #include "../stdafx.h" 16 #include "../safeguards.h" 27 d.width =
max(d1.width, d2.width);
28 d.height =
max(d1.height, d2.height);
static T max(const T a, const T b)
Returns the maximum of two values.
Dimension maxdim(const Dimension &d1, const Dimension &d2)
Compute bounding box of both dimensions.
Dimensions (a width and height) of a rectangle in 2D.