[PATCH v2 2/3] d2d1: Implement ellipse geometry simplification.