[RFC PATCH 5/8] d2d1: Implement cubic bezier-line intersection.