mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Align canvas.putImageData with spec
The arguments are supposed to be long values, not floats.
This commit is contained in:
parent
62ea3c093a
commit
3d910feb3a
5 changed files with 35 additions and 44 deletions
|
@ -54,7 +54,7 @@ pub enum Canvas2dMsg {
|
|||
IsPointInPath(f64, f64, FillRule, IpcSender<bool>),
|
||||
LineTo(Point2D<f32>),
|
||||
MoveTo(Point2D<f32>),
|
||||
PutImageData(ByteBuf, Vector2D<f64>, Size2D<f64>, Rect<f64>),
|
||||
PutImageData(ByteBuf, Vector2D<i32>, Size2D<i32>, Rect<i32>),
|
||||
QuadraticCurveTo(Point2D<f32>, Point2D<f32>),
|
||||
Rect(Rect<f32>),
|
||||
RestoreContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue