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

Function drawOne

docs/app/js/sanddance-app.js:122352–122356  ·  view source on GitHub ↗
(path5)

Source from the content-addressed store, hash-verified

122350 };
122351}
122352function drawOne(path5) {
122353 return function(context31, scene, bounds4) {
122354 if (scene.items.length && (!bounds4 || bounds4.intersects(scene.bounds))) drawPath(path5, context31, scene.items[0], scene.items);
122355 };
122356}
122357function drawPath(path6, context32, item, items) {
122358 var opacity = item.opacity == null ? 1 : item.opacity;
122359 if (opacity === 0) return;

Callers 1

markMultiItemPathFunction · 0.70

Calls 1

drawPathFunction · 0.70

Tested by

no test coverage detected