10 #include "../stdafx.h" 14 #include "../safeguards.h" 25 d.width =
max(d1.width, d2.width);
26 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.