[PATCH v2 6/8] d2d1: Implement cubic bezier-line intersection.