mirror of
https://github.com/servo/servo.git
synced 2025-07-25 08:10:21 +01:00
Pass a Rect instead of an Option<Rect> to PutImageData
This commit is contained in:
parent
78792cced2
commit
48c24f8492
3 changed files with 5 additions and 14 deletions
|
@ -91,7 +91,7 @@ pub enum Canvas2dMsg {
|
|||
GetImageData(Rect<f64>, Size2D<f64>, IpcSender<Vec<u8>>),
|
||||
LineTo(Point2D<f32>),
|
||||
MoveTo(Point2D<f32>),
|
||||
PutImageData(Vec<u8>, Rect<f64>, Option<Rect<f64>>),
|
||||
PutImageData(Vec<u8>, Rect<f64>, Rect<f64>),
|
||||
QuadraticCurveTo(Point2D<f32>, Point2D<f32>),
|
||||
Rect(Rect<f32>),
|
||||
RestoreContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue