Commit 8c58c58
Icon for auto trace resolution
Changed files (3)
addedicons/auto_trace_resolution.pngmodifiedlibbirdfont/BackgroundImage.valamodifiedlibbirdfont/DrawingTools.vala
Diff
new file mode 100644Binary files /dev/null and b/icons/auto_trace_resolution.png differ@@ -102,6 +102,8 @@ public class BackgroundImage { bg.img_rotation = img_rotation; bg.threshold = threshold;+ bg.high_contrast = high_contrast;+ bg.trace_resolution = trace_resolution; return bg; }@@ -814,7 +816,7 @@ public class BackgroundImage { if (is_traced (i)) { Path np = generate_path (outline_img, s, w, h, len); - if (np.points.size > 3) {+ if (np.points.size >= 3) { if (Path.is_counter (pl, np)) { np.force_direction (Direction.COUNTER_CLOCKWISE); } else {@@ -883,6 +883,7 @@ public class DrawingTools : ToolCollection { if (bg != null) { b = (!) bg; b.set_trace_resolution (auto_trace_resolution.get_value ());+ b.update_background (); } });