[PATCH 4/4] d2d1: Implement cubic bezier-line intersection.