[PATCH 6/9] d2d1: Introduce a helper to check for Bézier segments.