Date:2012-03-19 23:46:40 (11 years 11 months ago)
Author:Werner Almesberger
Commit:19bc92aa7956df4410743039e39825e13374c323
Message:cameo/area.c (do_line): shorten segments to avoid duplicating outline cuts

We considered the outlines for dropping entire segments but not for
calculating their start and end points.
Files: cameo/area.c (1 diff)

Change Details

cameo/area.c
257257                last = *s;
258258        if (next-x > 2*r_tool-2*overlap) {
259259            new = path_new(r_tool, "");
260            path_add(new, x, y, path->first->z);
261            path_add(new, next, y, path->first->z);
260            path_add(new, x+r_tool-overlap, y, path->first->z);
261            path_add(new, next-r_tool+overlap, y, path->first->z);
262262            new->next = *res;
263263            *res = new;
264264        }

Archive Download the corresponding diff file

Branches:
master



interactive