Update tiny-skia and resvg
This commit is contained in:
parent
e63cc181bd
commit
9c63eb7df5
11 changed files with 37 additions and 42 deletions
|
|
@ -31,7 +31,7 @@ impl Pipeline {
|
|||
bounds: Rectangle,
|
||||
pixels: &mut tiny_skia::PixmapMut<'_>,
|
||||
transform: tiny_skia::Transform,
|
||||
clip_mask: Option<&tiny_skia::ClipMask>,
|
||||
clip_mask: Option<&tiny_skia::Mask>,
|
||||
) {
|
||||
if let Some(image) = self.cache.borrow_mut().allocate(handle) {
|
||||
let width_scale = bounds.width / image.width() as f32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue