More linear scale tests

This commit is contained in:
Evert Timberg
2015-08-31 20:42:29 -04:00
parent 02e0f3f856
commit 54858b921d
2 changed files with 791 additions and 63 deletions

View File

@@ -68,6 +68,7 @@
clearRect: function() {},
closePath: function() {},
fill: function() {},
fillText: function() {},
lineTo: function(x, y) {},
measureText: function(text) {
// return the number of characters * fixed size
@@ -108,6 +109,10 @@
return this._calls;
}
Context.prototype.resetCalls = function() {
this._calls = [];
};
window.createMockContext = function() {
return new Context();
};

File diff suppressed because it is too large Load Diff