Add more APIs to sketch2d.h