mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Size2D<f64> -> Size2D<u32> in canvas_traits::canvas::Canvas2dMsg
Changed the variants `canvas_traits::canvas::Canvas2dMsg::DrawEmptyImage` and `canvas_traits::canvas::Canvas2dMsg::DrawImageInOther` to use `euclid::default::Size2D<u32>` instead of `euclid::default::Size2D<f64>`. Every other change made in this commit is either: - of similar nature, and is the minimum that would allow compilation - resolving lints triggered by the former This commit includes changes to the following components: - canvas - script - shared/canvas Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
This commit is contained in:
parent
326a2e9ab6
commit
892edc0048
3 changed files with 18 additions and 18 deletions
|
@ -89,8 +89,8 @@ pub enum Canvas2dMsg {
|
|||
Arc(Point2D<f32>, f32, f32, f32, bool),
|
||||
ArcTo(Point2D<f32>, Point2D<f32>, f32),
|
||||
DrawImage(IpcSnapshot, Rect<f64>, Rect<f64>, bool),
|
||||
DrawEmptyImage(Size2D<f64>, Rect<f64>, Rect<f64>),
|
||||
DrawImageInOther(CanvasId, Size2D<f64>, Rect<f64>, Rect<f64>, bool),
|
||||
DrawEmptyImage(Size2D<u32>, Rect<f64>, Rect<f64>),
|
||||
DrawImageInOther(CanvasId, Size2D<u32>, Rect<f64>, Rect<f64>, bool),
|
||||
BeginPath,
|
||||
BezierCurveTo(Point2D<f32>, Point2D<f32>, Point2D<f32>),
|
||||
ClearRect(Rect<f32>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue