[RFC PATCH 4/5] d2d1: Add cubic bezier-line intersection functions.