Added smoothing control to both PCjs and PC8080 (setting it to false should probably be the new default)

It can be controlled with a new "smoothing" attribute on the <video> component and/or overridden with a "smoothing" URL parameter set to either "true" or "false"
This commit is contained in:
Jeff Parsons 2016-05-03 09:11:02 -07:00
commit c31f6222a1
12 changed files with 666 additions and 426 deletions

View file

@ -53,6 +53,10 @@ Attributes
true scales text modes to fill the canvas;
false centers text modes on the canvas (this generally provides the sharpest rendering).
* *smoothing* (optional; default depends on the browser)
true enables HTML5 canvas image smoothing, false disables it; if not specified, then the browser's default is used.
Also supports the attributes of *[Component](/docs/pcjs/component/)*.
Bindings