1/** 2 * Class for vector images manipulations. 3 * @constructor 4 * @param {DOMElement} container to place canvas to 5 * @param {Number} width 6 * @param {Number} height 7 */ 8jvm.VectorCanvas = function(container, width, height) { 9 this.mode = window.SVGAngle ? 'svg' : 'vml'; 10 if (this.mode == 'svg') { 11 this.impl = new jvm.SVGCanvasElement(container, width, height); 12 } else { 13 this.impl = new jvm.VMLCanvasElement(container, width, height); 14 } 15 return this.impl; 16};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.