Upgrade resvg to 0.34 and tiny_skia to 0.10
This commit is contained in:
parent
9f2be29a28
commit
af386fd0a3
7 changed files with 85 additions and 51 deletions
|
|
@ -753,7 +753,15 @@ fn adjust_clip_mask(clip_mask: &mut tiny_skia::Mask, bounds: Rectangle) {
|
|||
|
||||
let path = {
|
||||
let mut builder = tiny_skia::PathBuilder::new();
|
||||
builder.push_rect(bounds.x, bounds.y, bounds.width, bounds.height);
|
||||
builder.push_rect(
|
||||
tiny_skia::Rect::from_xywh(
|
||||
bounds.x,
|
||||
bounds.y,
|
||||
bounds.width,
|
||||
bounds.height,
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
|
||||
builder.finish().unwrap()
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue