factory VecPoint.fromList(List<Point> pts) => VecPoint.generate(pts.length, (i) => pts[i], dispose: false);