add function of toggle draw uniform curve point