Home | History | Annotate | Download | only in docs

Lines Matching refs:display

13 function drawToSvg(display) {
14 assert('string' == typeof(display.ref));
16 if (display.ref in svgCache) {
17 cache = svgCache[display.ref];
18 if (display.drawDirty) {
21 svgSetPathData(cache.element, display.draw);
24 svgSetPictureData(cache.element, display.draw);
27 svgCreateText(cache.element, display.draw);
35 cache.action = display;
36 cache.spec = display.drawSpec;
43 cache.element = svgCreatePath(display.ref, display.draw);
46 cache.element = svgCreatePicture(display.ref, display.draw);
49 cache.element = svgCreateText(display.ref, display.draw);
55 display.drawDirty = false;
56 if (display.paintDirty) {
57 svgSetPaintData(cache.element, display.paint);
58 var opacity = svg_opacity(display.paint.color);
61 display.paintDirty = false;
64 if (!(display.ref in svgCache)) {
66 svgCache[display.ref] = cache;