Move core::Image::clip_bounds to graphics::Image
This commit is contained in:
parent
3cc5bd5dbc
commit
7c11ccb046
16 changed files with 189 additions and 88 deletions
|
|
@ -217,7 +217,13 @@ impl image::Renderer for () {
|
|||
Size::default()
|
||||
}
|
||||
|
||||
fn draw_image(&mut self, _image: Image, _bounds: Rectangle) {}
|
||||
fn draw_image(
|
||||
&mut self,
|
||||
_image: Image,
|
||||
_bounds: Rectangle,
|
||||
_clip_bounds: Rectangle,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
impl svg::Renderer for () {
|
||||
|
|
@ -225,5 +231,11 @@ impl svg::Renderer for () {
|
|||
Size::default()
|
||||
}
|
||||
|
||||
fn draw_svg(&mut self, _svg: svg::Svg, _bounds: Rectangle) {}
|
||||
fn draw_svg(
|
||||
&mut self,
|
||||
_svg: svg::Svg,
|
||||
_bounds: Rectangle,
|
||||
_clip_bounds: Rectangle,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue