diff options
author | 2022-07-27 06:57:49 +0200 | |
---|---|---|
committer | 2022-07-27 06:57:49 +0200 | |
commit | effa6881f725fdfd2087205737484726f3580a43 (patch) | |
tree | 2ba3c93bc52af5dee2ac7f824c2bfe609bb72bbe /examples/arc/src/main.rs | |
parent | 2dbcdba209b4c815fb5aa68584bfdf052c983e9a (diff) | |
download | iced-effa6881f725fdfd2087205737484726f3580a43.tar.gz iced-effa6881f725fdfd2087205737484726f3580a43.tar.bz2 iced-effa6881f725fdfd2087205737484726f3580a43.zip |
Enable `arc` example
Diffstat (limited to '')
-rw-r--r-- | examples/arc/src/main.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/arc/src/main.rs b/examples/arc/src/main.rs index df0e1e8a..0c619dc9 100644 --- a/examples/arc/src/main.rs +++ b/examples/arc/src/main.rs @@ -1,11 +1,13 @@ use std::{f32::consts::PI, time::Instant}; use iced::executor; -use iced::pure::widget::canvas::{ +use iced::widget::canvas::{ self, Cache, Canvas, Cursor, Geometry, Path, Stroke, }; -use iced::pure::{Application, Element}; -use iced::{Command, Length, Point, Rectangle, Settings, Subscription, Theme}; +use iced::{ + Application, Command, Element, Length, Point, Rectangle, Settings, + Subscription, Theme, +}; pub fn main() -> iced::Result { Arc::run(Settings { |