add arc,filledarc and fix some problems