diff options
author | 2020-02-12 06:41:24 +0100 | |
---|---|---|
committer | 2020-02-12 06:41:24 +0100 | |
commit | 74dd79e97f83d3e9e13d87444740edeb353f9be8 (patch) | |
tree | 22c5d14e7aec9eb3d268424d6deaa3fad32513d9 /wgpu/src/widget/canvas/frame.rs | |
parent | 64097983f195ac1e923b6a1bd8cb0fc2c109fabc (diff) | |
download | iced-74dd79e97f83d3e9e13d87444740edeb353f9be8.tar.gz iced-74dd79e97f83d3e9e13d87444740edeb353f9be8.tar.bz2 iced-74dd79e97f83d3e9e13d87444740edeb353f9be8.zip |
Rename current `Path` to `path::Builder`
Diffstat (limited to 'wgpu/src/widget/canvas/frame.rs')
-rw-r--r-- | wgpu/src/widget/canvas/frame.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wgpu/src/widget/canvas/frame.rs b/wgpu/src/widget/canvas/frame.rs index 65c22c0c..e5daeedb 100644 --- a/wgpu/src/widget/canvas/frame.rs +++ b/wgpu/src/widget/canvas/frame.rs @@ -33,7 +33,7 @@ impl Frame { Point::new(self.width as f32 / 2.0, self.height as f32 / 2.0) } - pub fn fill(&mut self, path: Path, fill: Fill) {} + pub fn fill(&mut self, path: &Path, fill: Fill) {} - pub fn stroke(&mut self, path: Path, stroke: Stroke) {} + pub fn stroke(&mut self, path: &Path, stroke: Stroke) {} } |