Browse Source

float rather than int for drawImage arguments

v1.x
Jake Gordon 10 years ago
parent
commit
36bd6498b5
  1. 2
      src/CanvasRenderingContext2d.cc

2
src/CanvasRenderingContext2d.cc

@ -606,7 +606,7 @@ NAN_METHOD(Context2d::DrawImage) {
if (args.Length() < 3)
return NanThrowTypeError("invalid arguments");
int sx = 0
float sx = 0
, sy = 0
, sw = 0
, sh = 0

Loading…
Cancel
Save