diff options
author | 2024-08-04 03:39:53 +0200 | |
---|---|---|
committer | 2024-08-04 03:39:53 +0200 | |
commit | 974ae6d1e7cd9df6967762a6d308106f4fe03edc (patch) | |
tree | 719b98f2578d2ae0611f3eb080f5bbbb5c3b98cb /renderer | |
parent | 2ad3cff72223de7291d9c42149765c458944aacc (diff) | |
download | iced-974ae6d1e7cd9df6967762a6d308106f4fe03edc.tar.gz iced-974ae6d1e7cd9df6967762a6d308106f4fe03edc.tar.bz2 iced-974ae6d1e7cd9df6967762a6d308106f4fe03edc.zip |
Fix broken imports in `iced_renderer`
Diffstat (limited to 'renderer')
-rw-r--r-- | renderer/src/fallback.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/renderer/src/fallback.rs b/renderer/src/fallback.rs index ddf7fd95..73e91dc6 100644 --- a/renderer/src/fallback.rs +++ b/renderer/src/fallback.rs @@ -441,7 +441,9 @@ where #[cfg(feature = "geometry")] mod geometry { use super::Renderer; - use crate::core::{Point, Radians, Rectangle, Size, Vector}; + use crate::core::image; + use crate::core::svg; + use crate::core::{Color, Point, Radians, Rectangle, Size, Vector}; use crate::graphics::cache::{self, Cached}; use crate::graphics::geometry::{self, Fill, Path, Stroke, Text}; @@ -574,9 +576,9 @@ mod geometry { fn draw_image( &mut self, - handle: &iced_wgpu::core::image::Handle, + handle: &image::Handle, bounds: Rectangle, - filter_method: iced_wgpu::core::image::FilterMethod, + filter_method: image::FilterMethod, rotation: Radians, opacity: f32, ) { @@ -595,9 +597,9 @@ mod geometry { fn draw_svg( &mut self, - handle: &iced_wgpu::core::svg::Handle, + handle: &svg::Handle, bounds: Rectangle, - color: Option<iced_wgpu::core::Color>, + color: Option<Color>, rotation: Radians, opacity: f32, ) { |