[PATCH v4 1/1] d2d1: Implement D2D1ComputeMaximumScaleFactor().