}
+int
+PixelQuanta::round_x (int x_) const
+{
+ return x_ - (x_ % x);
+}
+
+
+int
+PixelQuanta::round_y (int y_) const
+{
+ return y_ - (y_ % y);
+}
+
+
+dcp::Size
+PixelQuanta::round (dcp::Size size) const
+{
+ return dcp::Size (round_x(size.width), round_y(size.height));
+}
+
+
PixelQuanta
max (PixelQuanta const& a, PixelQuanta const& b)
{