mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Bump euclid to 0.22
- Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
This commit is contained in:
parent
4f355f5877
commit
423cc34cb0
56 changed files with 233 additions and 220 deletions
|
@ -445,8 +445,8 @@ impl GenericDrawTarget for raqote::DrawTarget {
|
|||
Repetition::NoRepeat,
|
||||
));
|
||||
let transform =
|
||||
raqote::Transform::create_translation(-dest.origin.x as f32, -dest.origin.y as f32)
|
||||
.post_scale(
|
||||
raqote::Transform::translation(-dest.origin.x as f32, -dest.origin.y as f32)
|
||||
.then_scale(
|
||||
image.width as f32 / dest.size.width as f32,
|
||||
image.height as f32 / dest.size.height as f32,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue