Skip to content

Commit

Permalink
Inline the infinite/NaN argument handling in 2d canvas methods
Browse files Browse the repository at this point in the history
These methods now have their requirements as algorithms, where
the first step aborts if an argument is infinite or NaN.

* scale
* rotate
* translate
* transform
* setTransform
* clearRect
* fillRect
* strokeRect
* fillText
* strokeText
* drawImage
* moveTo
* lineTo
* quadraticCurveTo
* bezierCurveTo
* arcTo
* rect
* arc
* ellipse

Fixes #1785.
  • Loading branch information
zcorpan committed Sep 30, 2016
1 parent 6e1efc9 commit 6f2c0e8
Showing 1 changed file with 519 additions and 398 deletions.

0 comments on commit 6f2c0e8

Please sign in to comment.