doPathMeasure