mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix getImageData with sizes < 1 pixel
This commit is contained in:
parent
0a8ea98183
commit
2f47bdff4b
4 changed files with 27 additions and 34 deletions
|
@ -88,7 +88,7 @@ pub enum Canvas2dMsg {
|
|||
ClosePath,
|
||||
Fill,
|
||||
FillRect(Rect<f32>),
|
||||
GetImageData(Rect<f64>, Size2D<f64>, IpcSender<Vec<u8>>),
|
||||
GetImageData(Rect<i32>, Size2D<f64>, IpcSender<Vec<u8>>),
|
||||
LineTo(Point2D<f32>),
|
||||
MoveTo(Point2D<f32>),
|
||||
PutImageData(Vec<u8>, Rect<f64>, Option<Rect<f64>>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue