[PATCH 2/4] d2d1: Add cubic bezier bounds functions.