PageSourceSearch

https://edutechnica.com/lib/svg-canvas-element.js

js edutechnica.com collected 2026-09-24 19:57:04 UTC 776 bytes, 22 lines download raw bytes

1jvm.SVGCanvasElement = function(container, width, height){
2  this.classPrefix = 'SVG';
3  jvm.SVGCanvasElement.parentClass.call(this, 'svg');
4  jvm.AbstractCanvasElement.apply(this, arguments);
5}
6
7jvm.inherits(jvm.SVGCanvasElement, jvm.SVGElement);
8jvm.mixin(jvm.SVGCanvasElement, jvm.AbstractCanvasElement);
9
10jvm.SVGCanvasElement.prototype.setSize = function(width, height){
11  this.width = width;
12  this.height = height;
13  this.node.setAttribute('width', width);
14  this.node.setAttribute('height', height);
15};
16
17jvm.SVGCanvasElement.prototype.applyTransformParams = function(scale, transX, transY) {
18  this.scale = scale;
19  this.transX = transX;
20  this.transY = transY;
21  this.rootElement.node.setAttribute('transform', 'scale('+scale+') translate('+transX+', '+transY+')');
22};

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.