mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Align ctx.createImageData and ctx.getImageData with the spec
This commit is contained in:
parent
f13e35b2c5
commit
241dba064d
10 changed files with 54 additions and 81 deletions
|
@ -175,11 +175,11 @@ interface CanvasDrawImage {
|
|||
interface CanvasImageData {
|
||||
// pixel manipulation
|
||||
[Throws]
|
||||
ImageData createImageData(double sw, double sh);
|
||||
ImageData createImageData(long sw, long sh);
|
||||
[Throws]
|
||||
ImageData createImageData(ImageData imagedata);
|
||||
[Throws]
|
||||
ImageData getImageData(double sx, double sy, double sw, double sh);
|
||||
ImageData getImageData(long sx, long sy, long sw, long sh);
|
||||
void putImageData(ImageData imagedata, long dx, long dy);
|
||||
void putImageData(ImageData imagedata,
|
||||
long dx, long dy,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue