MCPcopy Create free account
hub / github.com/microsoft/SandDance / CanvasRenderer

Function CanvasRenderer

docs/app/js/sanddance-app.js:123750–123756  ·  view source on GitHub ↗
(loader)

Source from the content-addressed store, hash-verified

123748 return canvas;
123749}
123750function CanvasRenderer(loader) {
123751 Renderer.call(this, loader);
123752 this._options = {};
123753 this._redraw = false;
123754 this._dirty = new Bounds();
123755 this._tempb = new Bounds();
123756}
123757const base$1 = Renderer.prototype;
123758const viewBounds = (origin, width, height)=>new Bounds().set(0, 0, width, height).translate(-origin[0], -origin[1]);
123759function clipToBounds(g, b18, origin) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected