根据需要修改的: voidDrawArrow(CDC*pdc,CPointpoint1,CPointpoint2,intnFlag=0) { //drawalinebetweenthe2endpoint pdc->MoveTo(point1); pdc->LineTo(point2); CPointpoint;//Midlepoint point.x=(point1.x+point2.x+1)/2; point.y=(point1.y+point2.y+1)/2; doubles