@@ -985,7 +985,7 @@ void convert_path_to_polygons(PathIterator &path,
985985
986986 transformed_path_t tpath (path, trans);
987987 nan_removal_t nan_removed (tpath, true , path.has_curves ());
988- clipped_t clipped (nan_removed, do_clip && !path. has_curves () , width, height);
988+ clipped_t clipped (nan_removed, do_clip, width, height);
989989 simplify_t simplified (clipped, simplify, path.simplify_threshold ());
990990 curve_t curve (simplified);
991991
@@ -1050,7 +1050,7 @@ void cleanup_path(PathIterator &path,
10501050
10511051 transformed_path_t tpath (path, trans);
10521052 nan_removal_t nan_removed (tpath, remove_nans, path.has_curves ());
1053- clipped_t clipped (nan_removed, do_clip && !path. has_curves () , rect);
1053+ clipped_t clipped (nan_removed, do_clip, rect);
10541054 snapped_t snapped (clipped, snap_mode, path.total_vertices (), stroke_width);
10551055 simplify_t simplified (snapped, do_simplify, path.simplify_threshold ());
10561056
@@ -1209,7 +1209,7 @@ bool convert_to_string(PathIterator &path,
12091209
12101210 transformed_path_t tpath (path, trans);
12111211 nan_removal_t nan_removed (tpath, true , path.has_curves ());
1212- clipped_t clipped (nan_removed, do_clip && !path. has_curves () , clip_rect);
1212+ clipped_t clipped (nan_removed, do_clip, clip_rect);
12131213 simplify_t simplified (clipped, simplify, path.simplify_threshold ());
12141214
12151215 buffersize = path.total_vertices () * (precision + 5 ) * 4 ;
0 commit comments