Skip to content

Commit f15c7ab

Browse files
committed
Bump visioncortex
1 parent 31f770d commit f15c7ab

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

visionmagic/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ repository = "https://github.com/visioncortex/visionmagic/"
1010
categories = ["graphics", "computer-vision"]
1111
keywords = ["computer-graphics", "computer-vision"]
1212

13-
[lib]
14-
crate-type = ["rlib"]
15-
1613
[dependencies]
1714
log = "0.4"
18-
visioncortex = "0.4.0"
15+
visioncortex = { version = "0.8.9" }

visionmagic/src/clustering.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ impl ProcessorTrait for Processor {
6767
is_same_color_b: 1,
6868
deepen_diff: (Params::MAX_COLOR_LEVELS / self.params.color_levels) as i32,
6969
hollow_neighbours: 0,
70+
..Default::default()
7071
}, input);
7172
self.builder = Some(runner.start());
7273
non_empty

webapp/src/canvas.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl Canvas {
7171
}
7272

7373
pub fn fill_path(&mut self, paths: &CompoundPath, color: &Color) {
74-
let (string, offset) = paths.to_svg_string(true, PointF64::default());
74+
let (string, offset) = paths.to_svg_string(true, PointF64::default(), None);
7575
let path = Path2d::new_with_path_string(string.as_str()).unwrap();
7676
self.set_fill_style(color);
7777
self.cctx.reset_transform().unwrap();

0 commit comments

Comments
 (0)