* Resize the display. * @param {number} width - The new coordinate width of the display, in pixels. * @param {number} height - The new coordinate height of the display, in pixels. * @param {Array } origin - The new origin of the display, in pixels. * The coordinate system will b
(width, height, origin, scaleFactor)
| 123460 | * the width and height to determine the final pixel size. |
| 123461 | * @return {Renderer} - This renderer instance; |
| 123462 | */ resize (width, height, origin, scaleFactor) { |
| 123463 | this._width = width; |
| 123464 | this._height = height; |
| 123465 | this._origin = origin || [ |
| 123466 | 0, |
| 123467 | 0 |
| 123468 | ]; |
| 123469 | this._scale = scaleFactor || 1; |
| 123470 | return this; |
| 123471 | }, |
| 123472 | /** |
| 123473 | * Report a dirty item whose bounds should be redrawn. |
| 123474 | * This base class method does nothing. Subclasses that perform |
nothing calls this directly
no test coverage detected