[PATCH 07/12] d2d1: Add functions for cubic bezier triangulation.