summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-03 05:57:22 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-03 05:57:22 +0100
commite9e26577916ed35b016c08df381b5f616f9e43d5 (patch)
tree4b6fa89de205974a7a5a974e5c1712c130c79c6f /graphics
parent84d1b79fefc88534835fdfbe79bc0eb3b43627cf (diff)
downloadiced-e9e26577916ed35b016c08df381b5f616f9e43d5.tar.gz
iced-e9e26577916ed35b016c08df381b5f616f9e43d5.tar.bz2
iced-e9e26577916ed35b016c08df381b5f616f9e43d5.zip
Refactor imports in `widget::canvas` in `iced_graphics`
Diffstat (limited to 'graphics')
-rw-r--r--graphics/src/widget/canvas.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/src/widget/canvas.rs b/graphics/src/widget/canvas.rs
index b9ccb721..2d74268f 100644
--- a/graphics/src/widget/canvas.rs
+++ b/graphics/src/widget/canvas.rs
@@ -3,17 +3,16 @@
//! A [`Canvas`] widget can be used to draw different kinds of 2D shapes in a
//! [`Frame`]. It can be used for animation, data visualization, game graphics,
//! and more!
-
pub mod event;
+pub mod fill;
pub mod path;
+pub mod stroke;
mod cache;
mod cursor;
-pub mod fill;
-pub(crate) mod frame;
+mod frame;
mod geometry;
mod program;
-pub mod stroke;
mod text;
pub use cache::Cache;