draw part curve