changed sizefromdouble to sizefromPoint